@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeWorkingStorageResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
A JSON object containing the following fields:
Constructor and Description |
---|
DescribeWorkingStorageResult() |
Modifier and Type | Method and Description |
---|---|
DescribeWorkingStorageResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getDiskIds()
An array of the gateway's local disk IDs that are configured as working storage.
|
String |
getGatewayARN() |
Long |
getWorkingStorageAllocatedInBytes()
The total working storage in bytes allocated for the gateway.
|
Long |
getWorkingStorageUsedInBytes()
The total working storage in bytes in use by the gateway.
|
int |
hashCode() |
void |
setDiskIds(Collection<String> diskIds)
An array of the gateway's local disk IDs that are configured as working storage.
|
void |
setGatewayARN(String gatewayARN) |
void |
setWorkingStorageAllocatedInBytes(Long workingStorageAllocatedInBytes)
The total working storage in bytes allocated for the gateway.
|
void |
setWorkingStorageUsedInBytes(Long workingStorageUsedInBytes)
The total working storage in bytes in use by the gateway.
|
String |
toString()
Returns a string representation of this object.
|
DescribeWorkingStorageResult |
withDiskIds(Collection<String> diskIds)
An array of the gateway's local disk IDs that are configured as working storage.
|
DescribeWorkingStorageResult |
withDiskIds(String... diskIds)
An array of the gateway's local disk IDs that are configured as working storage.
|
DescribeWorkingStorageResult |
withGatewayARN(String gatewayARN) |
DescribeWorkingStorageResult |
withWorkingStorageAllocatedInBytes(Long workingStorageAllocatedInBytes)
The total working storage in bytes allocated for the gateway.
|
DescribeWorkingStorageResult |
withWorkingStorageUsedInBytes(Long workingStorageUsedInBytes)
The total working storage in bytes in use by the gateway.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setGatewayARN(String gatewayARN)
gatewayARN
- public String getGatewayARN()
public DescribeWorkingStorageResult withGatewayARN(String gatewayARN)
gatewayARN
- 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.
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.
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.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.
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.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.
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.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.
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.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.
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.
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.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.
workingStorageAllocatedInBytes
- The total working storage in bytes allocated for the gateway. If no working storage is configured for the
gateway, this field returns 0.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.
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.
workingStorageAllocatedInBytes
- The total working storage in bytes allocated for the gateway. If no working storage is configured for the
gateway, this field returns 0.public String toString()
toString
in class Object
Object.toString()
public DescribeWorkingStorageResult clone()