|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.storagegateway.model.DescribeWorkingStorageResult
public class DescribeWorkingStorageResult
A JSON object containing the following fields:
Constructor Summary | |
---|---|
DescribeWorkingStorageResult()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DescribeWorkingStorageResult()
Method Detail |
---|
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()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |