Class SubvolumeModelProperties


  • public final class SubvolumeModelProperties
    extends Object
    Properties which represents actual subvolume model which is stored as a file in the system.
    • Constructor Detail

      • SubvolumeModelProperties

        public SubvolumeModelProperties()
    • Method Detail

      • path

        public String path()
        Get the path property: path Path to the subvolume.
        Returns:
        the path value.
      • withPath

        public SubvolumeModelProperties withPath​(String path)
        Set the path property: path Path to the subvolume.
        Parameters:
        path - the path value to set.
        Returns:
        the SubvolumeModelProperties object itself.
      • parentPath

        public String parentPath()
        Get the parentPath property: parentpath Path to the parent subvolume.
        Returns:
        the parentPath value.
      • withParentPath

        public SubvolumeModelProperties withParentPath​(String parentPath)
        Set the parentPath property: parentpath Path to the parent subvolume.
        Parameters:
        parentPath - the parentPath value to set.
        Returns:
        the SubvolumeModelProperties object itself.
      • size

        public Long size()
        Get the size property: size Size of subvolume.
        Returns:
        the size value.
      • withSize

        public SubvolumeModelProperties withSize​(Long size)
        Set the size property: size Size of subvolume.
        Parameters:
        size - the size value to set.
        Returns:
        the SubvolumeModelProperties object itself.
      • bytesUsed

        public Long bytesUsed()
        Get the bytesUsed property: bytesUsed Bytes used.
        Returns:
        the bytesUsed value.
      • withBytesUsed

        public SubvolumeModelProperties withBytesUsed​(Long bytesUsed)
        Set the bytesUsed property: bytesUsed Bytes used.
        Parameters:
        bytesUsed - the bytesUsed value to set.
        Returns:
        the SubvolumeModelProperties object itself.
      • permissions

        public String permissions()
        Get the permissions property: permissions Permissions of the subvolume.
        Returns:
        the permissions value.
      • withPermissions

        public SubvolumeModelProperties withPermissions​(String permissions)
        Set the permissions property: permissions Permissions of the subvolume.
        Parameters:
        permissions - the permissions value to set.
        Returns:
        the SubvolumeModelProperties object itself.
      • creationTimestamp

        public OffsetDateTime creationTimestamp()
        Get the creationTimestamp property: creationTimeStamp Creation time and date.
        Returns:
        the creationTimestamp value.
      • withCreationTimestamp

        public SubvolumeModelProperties withCreationTimestamp​(OffsetDateTime creationTimestamp)
        Set the creationTimestamp property: creationTimeStamp Creation time and date.
        Parameters:
        creationTimestamp - the creationTimestamp value to set.
        Returns:
        the SubvolumeModelProperties object itself.
      • accessedTimestamp

        public OffsetDateTime accessedTimestamp()
        Get the accessedTimestamp property: accessedTimeStamp Most recent access time and date.
        Returns:
        the accessedTimestamp value.
      • withAccessedTimestamp

        public SubvolumeModelProperties withAccessedTimestamp​(OffsetDateTime accessedTimestamp)
        Set the accessedTimestamp property: accessedTimeStamp Most recent access time and date.
        Parameters:
        accessedTimestamp - the accessedTimestamp value to set.
        Returns:
        the SubvolumeModelProperties object itself.
      • modifiedTimestamp

        public OffsetDateTime modifiedTimestamp()
        Get the modifiedTimestamp property: modifiedTimeStamp Most recent modification time and date.
        Returns:
        the modifiedTimestamp value.
      • withModifiedTimestamp

        public SubvolumeModelProperties withModifiedTimestamp​(OffsetDateTime modifiedTimestamp)
        Set the modifiedTimestamp property: modifiedTimeStamp Most recent modification time and date.
        Parameters:
        modifiedTimestamp - the modifiedTimestamp value to set.
        Returns:
        the SubvolumeModelProperties object itself.
      • changedTimestamp

        public OffsetDateTime changedTimestamp()
        Get the changedTimestamp property: changedTimeStamp Most recent change time and date.
        Returns:
        the changedTimestamp value.
      • withChangedTimestamp

        public SubvolumeModelProperties withChangedTimestamp​(OffsetDateTime changedTimestamp)
        Set the changedTimestamp property: changedTimeStamp Most recent change time and date.
        Parameters:
        changedTimestamp - the changedTimestamp value to set.
        Returns:
        the SubvolumeModelProperties object itself.
      • provisioningState

        public String provisioningState()
        Get the provisioningState property: Azure lifecycle management.
        Returns:
        the provisioningState value.
      • withProvisioningState

        public SubvolumeModelProperties withProvisioningState​(String provisioningState)
        Set the provisioningState property: Azure lifecycle management.
        Parameters:
        provisioningState - the provisioningState value to set.
        Returns:
        the SubvolumeModelProperties object itself.
      • validate

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