Class CheckNameAvailabilityParameters
java.lang.Object
com.azure.resourcemanager.recoveryservices.models.CheckNameAvailabilityParameters
Resource Name availability input parameters - Resource type and resource name.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionname()
Get the name property: Resource name for which availability needs to be checked.type()
Get the type property: Describes the Resource type: Microsoft.RecoveryServices/Vaults.void
validate()
Validates the instance.Set the name property: Resource name for which availability needs to be checked.Set the type property: Describes the Resource type: Microsoft.RecoveryServices/Vaults.
-
Constructor Details
-
CheckNameAvailabilityParameters
public CheckNameAvailabilityParameters()
-
-
Method Details
-
type
Get the type property: Describes the Resource type: Microsoft.RecoveryServices/Vaults.- Returns:
- the type value.
-
withType
Set the type property: Describes the Resource type: Microsoft.RecoveryServices/Vaults.- Parameters:
type
- the type value to set.- Returns:
- the CheckNameAvailabilityParameters object itself.
-
name
Get the name property: Resource name for which availability needs to be checked.- Returns:
- the name value.
-
withName
Set the name property: Resource name for which availability needs to be checked.- Parameters:
name
- the name value to set.- Returns:
- the CheckNameAvailabilityParameters object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-