Class CheckCapacityNameAvailabilityParameters

java.lang.Object
com.azure.resourcemanager.powerbidedicated.models.CheckCapacityNameAvailabilityParameters

public final class CheckCapacityNameAvailabilityParameters extends Object
Details of capacity name request body.
  • Constructor Details

    • CheckCapacityNameAvailabilityParameters

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

    • name

      public String name()
      Get the name property: Name for checking availability.
      Returns:
      the name value.
    • withName

      Set the name property: Name for checking availability.
      Parameters:
      name - the name value to set.
      Returns:
      the CheckCapacityNameAvailabilityParameters object itself.
    • type

      public String type()
      Get the type property: The resource type of PowerBI dedicated.
      Returns:
      the type value.
    • withType

      Set the type property: The resource type of PowerBI dedicated.
      Parameters:
      type - the type value to set.
      Returns:
      the CheckCapacityNameAvailabilityParameters object itself.
    • validate

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