Class VaultCheckNameAvailabilityParameters
- java.lang.Object
-
- com.azure.resourcemanager.keyvault.models.VaultCheckNameAvailabilityParameters
-
public final class VaultCheckNameAvailabilityParameters extends Object
The parameters used to check the availability of the vault name.
-
-
Constructor Summary
Constructors Constructor Description VaultCheckNameAvailabilityParameters()Creates an instance of VaultCheckNameAvailabilityParameters class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringname()Get the name property: The vault name.Stringtype()Get the type property: The type of resource, Microsoft.KeyVault/vaults.voidvalidate()Validates the instance.VaultCheckNameAvailabilityParameterswithName(String name)Set the name property: The vault name.VaultCheckNameAvailabilityParameterswithType(String type)Set the type property: The type of resource, Microsoft.KeyVault/vaults.
-
-
-
Method Detail
-
name
public String name()
Get the name property: The vault name.- Returns:
- the name value.
-
withName
public VaultCheckNameAvailabilityParameters withName(String name)
Set the name property: The vault name.- Parameters:
name- the name value to set.- Returns:
- the VaultCheckNameAvailabilityParameters object itself.
-
type
public String type()
Get the type property: The type of resource, Microsoft.KeyVault/vaults.- Returns:
- the type value.
-
withType
public VaultCheckNameAvailabilityParameters withType(String type)
Set the type property: The type of resource, Microsoft.KeyVault/vaults.- Parameters:
type- the type value to set.- Returns:
- the VaultCheckNameAvailabilityParameters object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-