Class SiteInfo
- java.lang.Object
-
- com.azure.resourcemanager.botservice.models.SiteInfo
-
public final class SiteInfo extends Object
Site information for WebChat or DirectLine Channels to identify which site to regenerate keys for.
-
-
Constructor Summary
Constructors Constructor Description SiteInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Key
key()
Get the key property: Determines which key is to be regenerated.String
siteName()
Get the siteName property: The site name.void
validate()
Validates the instance.SiteInfo
withKey(Key key)
Set the key property: Determines which key is to be regenerated.SiteInfo
withSiteName(String siteName)
Set the siteName property: The site name.
-
-
-
Method Detail
-
siteName
public String siteName()
Get the siteName property: The site name.- Returns:
- the siteName value.
-
withSiteName
public SiteInfo withSiteName(String siteName)
Set the siteName property: The site name.- Parameters:
siteName
- the siteName value to set.- Returns:
- the SiteInfo object itself.
-
key
public Key key()
Get the key property: Determines which key is to be regenerated.- Returns:
- the key value.
-
withKey
public SiteInfo withKey(Key key)
Set the key property: Determines which key is to be regenerated.- Parameters:
key
- the key value to set.- Returns:
- the SiteInfo object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-