Class StorageSpacesPropertiesVmwareStorageProfile

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

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

    • StorageSpacesPropertiesVmwareStorageProfile

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

    • datacenter

      public String datacenter()
      Get the datacenter property: Name of the datacenter in VSphere.
      Returns:
      the datacenter value.
    • withDatacenter

      public StorageSpacesPropertiesVmwareStorageProfile withDatacenter(String datacenter)
      Set the datacenter property: Name of the datacenter in VSphere.
      Parameters:
      datacenter - the datacenter value to set.
      Returns:
      the StorageSpacesPropertiesVmwareStorageProfile object itself.
    • datastore

      public String datastore()
      Get the datastore property: Name of the datastore in VSphere.
      Returns:
      the datastore value.
    • withDatastore

      public StorageSpacesPropertiesVmwareStorageProfile withDatastore(String datastore)
      Set the datastore property: Name of the datastore in VSphere.
      Parameters:
      datastore - the datastore value to set.
      Returns:
      the StorageSpacesPropertiesVmwareStorageProfile object itself.
    • folder

      public String folder()
      Get the folder property: Name of the folder in VSphere.
      Returns:
      the folder value.
    • withFolder

      Set the folder property: Name of the folder in VSphere.
      Parameters:
      folder - the folder value to set.
      Returns:
      the StorageSpacesPropertiesVmwareStorageProfile object itself.
    • resourcePool

      public String resourcePool()
      Get the resourcePool property: Name of the resource pool in VSphere.
      Returns:
      the resourcePool value.
    • withResourcePool

      public StorageSpacesPropertiesVmwareStorageProfile withResourcePool(String resourcePool)
      Set the resourcePool property: Name of the resource pool in VSphere.
      Parameters:
      resourcePool - the resourcePool value to set.
      Returns:
      the StorageSpacesPropertiesVmwareStorageProfile object itself.
    • validate

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