Class NameAvailabilityParameters
java.lang.Object
com.azure.resourcemanager.appplatform.models.NameAvailabilityParameters
Name availability parameters payload.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of NameAvailabilityParameters class. -
Method Summary
Modifier and TypeMethodDescriptionname()Get the name property: Name to be checked.type()Get the type property: Type of the resource to check name availability.voidvalidate()Validates the instance.Set the name property: Name to be checked.Set the type property: Type of the resource to check name availability.
-
Constructor Details
-
NameAvailabilityParameters
public NameAvailabilityParameters()Creates an instance of NameAvailabilityParameters class.
-
-
Method Details
-
type
Get the type property: Type of the resource to check name availability.- Returns:
- the type value.
-
withType
Set the type property: Type of the resource to check name availability.- Parameters:
type- the type value to set.- Returns:
- the NameAvailabilityParameters object itself.
-
name
Get the name property: Name to be checked.- Returns:
- the name value.
-
withName
Set the name property: Name to be checked.- Parameters:
name- the name value to set.- Returns:
- the NameAvailabilityParameters object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-