Class CheckNameAvailabilityParameters
java.lang.Object
com.azure.resourcemanager.appconfiguration.models.CheckNameAvailabilityParameters
Parameters used for checking whether a resource name is available.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionname()
Get the name property: The name to check for availability.type()
Get the type property: The resource type to check for name availability.void
validate()
Validates the instance.Set the name property: The name to check for availability.Set the type property: The resource type to check for name availability.
-
Constructor Details
-
CheckNameAvailabilityParameters
public CheckNameAvailabilityParameters()
-
-
Method Details
-
name
Get the name property: The name to check for availability.- Returns:
- the name value.
-
withName
Set the name property: The name to check for availability.- Parameters:
name
- the name value to set.- Returns:
- the CheckNameAvailabilityParameters object itself.
-
type
Get the type property: The resource type to check for name availability.- Returns:
- the type value.
-
withType
Set the type property: The resource type to check for name availability.- Parameters:
type
- the type value to set.- Returns:
- the CheckNameAvailabilityParameters object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-