Class StorageSpacesExtendedLocation

java.lang.Object
com.azure.resourcemanager.hybridcontainerservice.models.StorageSpacesExtendedLocation

public final class StorageSpacesExtendedLocation extends Object
The StorageSpacesExtendedLocation model.
  • Constructor Details

    • StorageSpacesExtendedLocation

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

    • type

      public String type()
      Get the type property: The extended location type.
      Returns:
      the type value.
    • withType

      public StorageSpacesExtendedLocation withType(String type)
      Set the type property: The extended location type.
      Parameters:
      type - the type value to set.
      Returns:
      the StorageSpacesExtendedLocation object itself.
    • name

      public String name()
      Get the name property: The extended location name.
      Returns:
      the name value.
    • withName

      public StorageSpacesExtendedLocation withName(String name)
      Set the name property: The extended location name.
      Parameters:
      name - the name value to set.
      Returns:
      the StorageSpacesExtendedLocation object itself.
    • validate

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