Class DescribeWorkingStorageResult

java.lang.Object
com.amazonaws.services.storagegateway.model.DescribeWorkingStorageResult
All Implemented Interfaces:
Serializable, Cloneable

public class DescribeWorkingStorageResult extends Object implements Serializable, Cloneable

A JSON object containing the following fields:

See Also:
  • Constructor Details

    • DescribeWorkingStorageResult

      public DescribeWorkingStorageResult()
  • Method Details

    • setGatewayARN

      public void setGatewayARN(String gatewayARN)
      Parameters:
      gatewayARN -
    • getGatewayARN

      public String getGatewayARN()
      Returns:
    • withGatewayARN

      public DescribeWorkingStorageResult withGatewayARN(String gatewayARN)
      Parameters:
      gatewayARN -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getDiskIds

      public List<String> getDiskIds()

      An array of the gateway's local disk IDs that are configured as working storage. Each local disk ID is specified as a string (minimum length of 1 and maximum length of 300). If no local disks are configured as working storage, then the DiskIds array is empty.

      Returns:
      An array of the gateway's local disk IDs that are configured as working storage. Each local disk ID is specified as a string (minimum length of 1 and maximum length of 300). If no local disks are configured as working storage, then the DiskIds array is empty.
    • setDiskIds

      public void setDiskIds(Collection<String> diskIds)

      An array of the gateway's local disk IDs that are configured as working storage. Each local disk ID is specified as a string (minimum length of 1 and maximum length of 300). If no local disks are configured as working storage, then the DiskIds array is empty.

      Parameters:
      diskIds - An array of the gateway's local disk IDs that are configured as working storage. Each local disk ID is specified as a string (minimum length of 1 and maximum length of 300). If no local disks are configured as working storage, then the DiskIds array is empty.
    • withDiskIds

      public DescribeWorkingStorageResult withDiskIds(String... diskIds)

      An array of the gateway's local disk IDs that are configured as working storage. Each local disk ID is specified as a string (minimum length of 1 and maximum length of 300). If no local disks are configured as working storage, then the DiskIds array is empty.

      NOTE: This method appends the values to the existing list (if any). Use setDiskIds(java.util.Collection) or withDiskIds(java.util.Collection) if you want to override the existing values.

      Parameters:
      diskIds - An array of the gateway's local disk IDs that are configured as working storage. Each local disk ID is specified as a string (minimum length of 1 and maximum length of 300). If no local disks are configured as working storage, then the DiskIds array is empty.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withDiskIds

      public DescribeWorkingStorageResult withDiskIds(Collection<String> diskIds)

      An array of the gateway's local disk IDs that are configured as working storage. Each local disk ID is specified as a string (minimum length of 1 and maximum length of 300). If no local disks are configured as working storage, then the DiskIds array is empty.

      Parameters:
      diskIds - An array of the gateway's local disk IDs that are configured as working storage. Each local disk ID is specified as a string (minimum length of 1 and maximum length of 300). If no local disks are configured as working storage, then the DiskIds array is empty.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setWorkingStorageUsedInBytes

      public void setWorkingStorageUsedInBytes(Long workingStorageUsedInBytes)

      The total working storage in bytes in use by the gateway. If no working storage is configured for the gateway, this field returns 0.

      Parameters:
      workingStorageUsedInBytes - The total working storage in bytes in use by the gateway. If no working storage is configured for the gateway, this field returns 0.
    • getWorkingStorageUsedInBytes

      public Long getWorkingStorageUsedInBytes()

      The total working storage in bytes in use by the gateway. If no working storage is configured for the gateway, this field returns 0.

      Returns:
      The total working storage in bytes in use by the gateway. If no working storage is configured for the gateway, this field returns 0.
    • withWorkingStorageUsedInBytes

      public DescribeWorkingStorageResult withWorkingStorageUsedInBytes(Long workingStorageUsedInBytes)

      The total working storage in bytes in use by the gateway. If no working storage is configured for the gateway, this field returns 0.

      Parameters:
      workingStorageUsedInBytes - The total working storage in bytes in use by the gateway. If no working storage is configured for the gateway, this field returns 0.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setWorkingStorageAllocatedInBytes

      public void setWorkingStorageAllocatedInBytes(Long workingStorageAllocatedInBytes)

      The total working storage in bytes allocated for the gateway. If no working storage is configured for the gateway, this field returns 0.

      Parameters:
      workingStorageAllocatedInBytes - The total working storage in bytes allocated for the gateway. If no working storage is configured for the gateway, this field returns 0.
    • getWorkingStorageAllocatedInBytes

      public Long getWorkingStorageAllocatedInBytes()

      The total working storage in bytes allocated for the gateway. If no working storage is configured for the gateway, this field returns 0.

      Returns:
      The total working storage in bytes allocated for the gateway. If no working storage is configured for the gateway, this field returns 0.
    • withWorkingStorageAllocatedInBytes

      public DescribeWorkingStorageResult withWorkingStorageAllocatedInBytes(Long workingStorageAllocatedInBytes)

      The total working storage in bytes allocated for the gateway. If no working storage is configured for the gateway, this field returns 0.

      Parameters:
      workingStorageAllocatedInBytes - The total working storage in bytes allocated for the gateway. If no working storage is configured for the gateway, this field returns 0.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Overrides:
      clone in class Object