Class SubvolumeModelInner

java.lang.Object
com.azure.resourcemanager.netapp.fluent.models.SubvolumeModelInner

public final class SubvolumeModelInner extends Object
Result of the post subvolume and action is to get metadata of the subvolume.
  • Constructor Details

    • SubvolumeModelInner

      public SubvolumeModelInner()
  • Method Details

    • id

      public String id()
      Get the id property: Resource Id.
      Returns:
      the id value.
    • name

      public String name()
      Get the name property: Resource name.
      Returns:
      the name value.
    • type

      public String type()
      Get the type property: Resource type.
      Returns:
      the type value.
    • path

      public String path()
      Get the path property: path

      Path to the subvolume.

      Returns:
      the path value.
    • withPath

      public SubvolumeModelInner withPath(String path)
      Set the path property: path

      Path to the subvolume.

      Parameters:
      path - the path value to set.
      Returns:
      the SubvolumeModelInner object itself.
    • parentPath

      public String parentPath()
      Get the parentPath property: parentpath

      Path to the parent subvolume.

      Returns:
      the parentPath value.
    • withParentPath

      public SubvolumeModelInner withParentPath(String parentPath)
      Set the parentPath property: parentpath

      Path to the parent subvolume.

      Parameters:
      parentPath - the parentPath value to set.
      Returns:
      the SubvolumeModelInner object itself.
    • size

      public Long size()
      Get the size property: size

      Size of subvolume.

      Returns:
      the size value.
    • withSize

      public SubvolumeModelInner withSize(Long size)
      Set the size property: size

      Size of subvolume.

      Parameters:
      size - the size value to set.
      Returns:
      the SubvolumeModelInner object itself.
    • bytesUsed

      public Long bytesUsed()
      Get the bytesUsed property: bytesUsed

      Bytes used.

      Returns:
      the bytesUsed value.
    • withBytesUsed

      public SubvolumeModelInner withBytesUsed(Long bytesUsed)
      Set the bytesUsed property: bytesUsed

      Bytes used.

      Parameters:
      bytesUsed - the bytesUsed value to set.
      Returns:
      the SubvolumeModelInner object itself.
    • permissions

      public String permissions()
      Get the permissions property: permissions

      Permissions of the subvolume.

      Returns:
      the permissions value.
    • withPermissions

      public SubvolumeModelInner withPermissions(String permissions)
      Set the permissions property: permissions

      Permissions of the subvolume.

      Parameters:
      permissions - the permissions value to set.
      Returns:
      the SubvolumeModelInner object itself.
    • creationTimestamp

      public OffsetDateTime creationTimestamp()
      Get the creationTimestamp property: creationTimeStamp

      Creation time and date.

      Returns:
      the creationTimestamp value.
    • withCreationTimestamp

      public SubvolumeModelInner withCreationTimestamp(OffsetDateTime creationTimestamp)
      Set the creationTimestamp property: creationTimeStamp

      Creation time and date.

      Parameters:
      creationTimestamp - the creationTimestamp value to set.
      Returns:
      the SubvolumeModelInner object itself.
    • accessedTimestamp

      public OffsetDateTime accessedTimestamp()
      Get the accessedTimestamp property: accessedTimeStamp

      Most recent access time and date.

      Returns:
      the accessedTimestamp value.
    • withAccessedTimestamp

      public SubvolumeModelInner withAccessedTimestamp(OffsetDateTime accessedTimestamp)
      Set the accessedTimestamp property: accessedTimeStamp

      Most recent access time and date.

      Parameters:
      accessedTimestamp - the accessedTimestamp value to set.
      Returns:
      the SubvolumeModelInner object itself.
    • modifiedTimestamp

      public OffsetDateTime modifiedTimestamp()
      Get the modifiedTimestamp property: modifiedTimeStamp

      Most recent modification time and date.

      Returns:
      the modifiedTimestamp value.
    • withModifiedTimestamp

      public SubvolumeModelInner withModifiedTimestamp(OffsetDateTime modifiedTimestamp)
      Set the modifiedTimestamp property: modifiedTimeStamp

      Most recent modification time and date.

      Parameters:
      modifiedTimestamp - the modifiedTimestamp value to set.
      Returns:
      the SubvolumeModelInner object itself.
    • changedTimestamp

      public OffsetDateTime changedTimestamp()
      Get the changedTimestamp property: changedTimeStamp

      Most recent change time and date.

      Returns:
      the changedTimestamp value.
    • withChangedTimestamp

      public SubvolumeModelInner withChangedTimestamp(OffsetDateTime changedTimestamp)
      Set the changedTimestamp property: changedTimeStamp

      Most recent change time and date.

      Parameters:
      changedTimestamp - the changedTimestamp value to set.
      Returns:
      the SubvolumeModelInner object itself.
    • provisioningState

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

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

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