Class SiteInfo
java.lang.Object
com.azure.resourcemanager.botservice.models.SiteInfo
Site information for WebChat or DirectLine Channels to identify which site to regenerate keys for.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionkey()
Get the key property: Determines which key is to be regenerated.siteName()
Get the siteName property: The site name.void
validate()
Validates the instance.Set the key property: Determines which key is to be regenerated.withSiteName
(String siteName) Set the siteName property: The site name.
-
Constructor Details
-
SiteInfo
public SiteInfo()
-
-
Method Details
-
siteName
Get the siteName property: The site name.- Returns:
- the siteName value.
-
withSiteName
Set the siteName property: The site name.- Parameters:
siteName
- the siteName value to set.- Returns:
- the SiteInfo object itself.
-
key
Get the key property: Determines which key is to be regenerated.- Returns:
- the key value.
-
withKey
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.
-