Class CheckNameAvailabilityRequestBody
java.lang.Object
com.azure.resourcemanager.botservice.models.CheckNameAvailabilityRequestBody
The request body for a request to Bot Service Management to check availability of a bot name.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionname()
Get the name property: the name of the bot for which availability needs to be checked.type()
Get the type property: the type of the bot for which availability needs to be checked.void
validate()
Validates the instance.Set the name property: the name of the bot for which availability needs to be checked.Set the type property: the type of the bot for which availability needs to be checked.
-
Constructor Details
-
CheckNameAvailabilityRequestBody
public CheckNameAvailabilityRequestBody()
-
-
Method Details
-
name
Get the name property: the name of the bot for which availability needs to be checked.- Returns:
- the name value.
-
withName
Set the name property: the name of the bot for which availability needs to be checked.- Parameters:
name
- the name value to set.- Returns:
- the CheckNameAvailabilityRequestBody object itself.
-
type
Get the type property: the type of the bot for which availability needs to be checked.- Returns:
- the type value.
-
withType
Set the type property: the type of the bot for which availability needs to be checked.- Parameters:
type
- the type value to set.- Returns:
- the CheckNameAvailabilityRequestBody object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-