Class CheckMhsmNameAvailabilityParameters

java.lang.Object
com.azure.resourcemanager.keyvault.models.CheckMhsmNameAvailabilityParameters

public final class CheckMhsmNameAvailabilityParameters extends Object
The parameters used to check the availability of the managed hsm name.
  • Constructor Details

    • CheckMhsmNameAvailabilityParameters

      public CheckMhsmNameAvailabilityParameters()
      Creates an instance of CheckMhsmNameAvailabilityParameters class.
  • Method Details

    • name

      public String name()
      Get the name property: The managed hsm name.
      Returns:
      the name value.
    • withName

      Set the name property: The managed hsm name.
      Parameters:
      name - the name value to set.
      Returns:
      the CheckMhsmNameAvailabilityParameters object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.