public class DescribeWorkingStorageResult extends Object implements Serializable
A JSON object containing the following fields:
Constructor and Description |
---|
DescribeWorkingStorageResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<String> |
getDiskIds()
An array of the gateway's local disk IDs that are configured as
working storage.
|
String |
getGatewayARN()
The Amazon Resource Name (ARN) of the gateway.
|
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)
The Amazon Resource Name (ARN) of the gateway.
|
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; useful for testing and
debugging.
|
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)
The Amazon Resource Name (ARN) of the gateway.
|
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.
|
public String getGatewayARN()
Constraints:
Length: 50 - 500
public void setGatewayARN(String gatewayARN)
Constraints:
Length: 50 - 500
gatewayARN
- The Amazon Resource Name (ARN) of the gateway. Use the
ListGateways operation to return a list of gateways for your
account and region.public DescribeWorkingStorageResult withGatewayARN(String gatewayARN)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 50 - 500
gatewayARN
- The Amazon Resource Name (ARN) of the gateway. Use the
ListGateways operation to return a list of gateways for your
account and region.public List<String> getDiskIds()
public void setDiskIds(Collection<String> diskIds)
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)
Returns a reference to this object so that method calls can be chained together.
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)
Returns a reference to this object so that method calls can be chained together.
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 Long getWorkingStorageUsedInBytes()
public void setWorkingStorageUsedInBytes(Long workingStorageUsedInBytes)
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 DescribeWorkingStorageResult withWorkingStorageUsedInBytes(Long workingStorageUsedInBytes)
Returns a reference to this object so that method calls can be chained together.
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 getWorkingStorageAllocatedInBytes()
public void setWorkingStorageAllocatedInBytes(Long workingStorageAllocatedInBytes)
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 DescribeWorkingStorageResult withWorkingStorageAllocatedInBytes(Long workingStorageAllocatedInBytes)
Returns a reference to this object so that method calls can be chained together.
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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.