public class DescribeWorkingStorageResult
extends java.lang.Object
implements java.io.Serializable
A JSON object containing the following fields:
| コンストラクタと説明 |
|---|
DescribeWorkingStorageResult() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getDiskIds()
An array of the gateway's local disk IDs that are configured as
working storage.
|
java.lang.String |
getGatewayARN()
The Amazon Resource Name (ARN) of the gateway.
|
java.lang.Long |
getWorkingStorageAllocatedInBytes()
The total working storage in bytes allocated for the gateway.
|
java.lang.Long |
getWorkingStorageUsedInBytes()
The total working storage in bytes in use by the gateway.
|
int |
hashCode() |
void |
setDiskIds(java.util.Collection<java.lang.String> diskIds)
An array of the gateway's local disk IDs that are configured as
working storage.
|
void |
setGatewayARN(java.lang.String gatewayARN)
The Amazon Resource Name (ARN) of the gateway.
|
void |
setWorkingStorageAllocatedInBytes(java.lang.Long workingStorageAllocatedInBytes)
The total working storage in bytes allocated for the gateway.
|
void |
setWorkingStorageUsedInBytes(java.lang.Long workingStorageUsedInBytes)
The total working storage in bytes in use by the gateway.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeWorkingStorageResult |
withDiskIds(java.util.Collection<java.lang.String> diskIds)
An array of the gateway's local disk IDs that are configured as
working storage.
|
DescribeWorkingStorageResult |
withDiskIds(java.lang.String... diskIds)
An array of the gateway's local disk IDs that are configured as
working storage.
|
DescribeWorkingStorageResult |
withGatewayARN(java.lang.String gatewayARN)
The Amazon Resource Name (ARN) of the gateway.
|
DescribeWorkingStorageResult |
withWorkingStorageAllocatedInBytes(java.lang.Long workingStorageAllocatedInBytes)
The total working storage in bytes allocated for the gateway.
|
DescribeWorkingStorageResult |
withWorkingStorageUsedInBytes(java.lang.Long workingStorageUsedInBytes)
The total working storage in bytes in use by the gateway.
|
public java.lang.String getGatewayARN()
Constraints:
Length: 50 - 500
public void setGatewayARN(java.lang.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(java.lang.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 java.util.List<java.lang.String> getDiskIds()
public void setDiskIds(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.lang.Long getWorkingStorageUsedInBytes()
public void setWorkingStorageUsedInBytes(java.lang.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(java.lang.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 java.lang.Long getWorkingStorageAllocatedInBytes()
public void setWorkingStorageAllocatedInBytes(java.lang.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(java.lang.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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object