Class VolumeGroupMetadata


  • public final class VolumeGroupMetadata
    extends Object
    Volume group properties.
    • Constructor Detail

      • VolumeGroupMetadata

        public VolumeGroupMetadata()
    • Method Detail

      • groupDescription

        public String groupDescription()
        Get the groupDescription property: Group Description.
        Returns:
        the groupDescription value.
      • withGroupDescription

        public VolumeGroupMetadata withGroupDescription​(String groupDescription)
        Set the groupDescription property: Group Description.
        Parameters:
        groupDescription - the groupDescription value to set.
        Returns:
        the VolumeGroupMetadata object itself.
      • applicationType

        public ApplicationType applicationType()
        Get the applicationType property: Application Type.
        Returns:
        the applicationType value.
      • withApplicationType

        public VolumeGroupMetadata withApplicationType​(ApplicationType applicationType)
        Set the applicationType property: Application Type.
        Parameters:
        applicationType - the applicationType value to set.
        Returns:
        the VolumeGroupMetadata object itself.
      • applicationIdentifier

        public String applicationIdentifier()
        Get the applicationIdentifier property: Application specific identifier.
        Returns:
        the applicationIdentifier value.
      • withApplicationIdentifier

        public VolumeGroupMetadata withApplicationIdentifier​(String applicationIdentifier)
        Set the applicationIdentifier property: Application specific identifier.
        Parameters:
        applicationIdentifier - the applicationIdentifier value to set.
        Returns:
        the VolumeGroupMetadata object itself.
      • globalPlacementRules

        public List<PlacementKeyValuePairs> globalPlacementRules()
        Get the globalPlacementRules property: Global volume placement rules Application specific placement rules for the volume group.
        Returns:
        the globalPlacementRules value.
      • withGlobalPlacementRules

        public VolumeGroupMetadata withGlobalPlacementRules​(List<PlacementKeyValuePairs> globalPlacementRules)
        Set the globalPlacementRules property: Global volume placement rules Application specific placement rules for the volume group.
        Parameters:
        globalPlacementRules - the globalPlacementRules value to set.
        Returns:
        the VolumeGroupMetadata object itself.
      • deploymentSpecId

        public String deploymentSpecId()
        Get the deploymentSpecId property: Application specific identifier of deployment rules for the volume group.
        Returns:
        the deploymentSpecId value.
      • withDeploymentSpecId

        public VolumeGroupMetadata withDeploymentSpecId​(String deploymentSpecId)
        Set the deploymentSpecId property: Application specific identifier of deployment rules for the volume group.
        Parameters:
        deploymentSpecId - the deploymentSpecId value to set.
        Returns:
        the VolumeGroupMetadata object itself.
      • volumesCount

        public Long volumesCount()
        Get the volumesCount property: Number of volumes in volume group.
        Returns:
        the volumesCount value.
      • validate

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