public class DescribeWorkingStorageResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
A JSON object containing the following fields:
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.String> |
diskIds
An array of the gateway's local disk IDs that are configured as working
storage.
|
private java.lang.String |
gatewayARN |
private java.lang.Long |
workingStorageAllocatedInBytes
The total working storage in bytes allocated for the gateway.
|
private java.lang.Long |
workingStorageUsedInBytes
The total working storage in bytes in use by the gateway.
|
Constructor and Description |
---|
DescribeWorkingStorageResult() |
Modifier and Type | Method and Description |
---|---|
DescribeWorkingStorageResult |
clone() |
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() |
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) |
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) |
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.
|
private java.lang.String gatewayARN
private SdkInternalList<java.lang.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.
private java.lang.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.
private java.lang.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.
public void setGatewayARN(java.lang.String gatewayARN)
gatewayARN
- public java.lang.String getGatewayARN()
public DescribeWorkingStorageResult withGatewayARN(java.lang.String gatewayARN)
gatewayARN
- public java.util.List<java.lang.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(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeWorkingStorageResult clone()
clone
in class java.lang.Object