Class DescribeWorkingStorageResult
- All Implemented Interfaces:
Serializable
,Cloneable
A JSON object containing the following fields:
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
An array of the gateway's local disk IDs that are configured as working storage.The total working storage in bytes allocated for the gateway.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.toString()
Returns a string representation of this object; useful for testing and debugging.withDiskIds
(String... diskIds) An array of the gateway's local disk IDs that are configured as working storage.withDiskIds
(Collection<String> diskIds) An array of the gateway's local disk IDs that are configured as working storage.withGatewayARN
(String gatewayARN) withWorkingStorageAllocatedInBytes
(Long workingStorageAllocatedInBytes) The total working storage in bytes allocated for the gateway.withWorkingStorageUsedInBytes
(Long workingStorageUsedInBytes) The total working storage in bytes in use by the gateway.
-
Constructor Details
-
DescribeWorkingStorageResult
public DescribeWorkingStorageResult()
-
-
Method Details
-
setGatewayARN
- Parameters:
gatewayARN
-
-
getGatewayARN
- Returns:
-
withGatewayARN
- Parameters:
gatewayARN
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Returns:
- 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.
-
setDiskIds
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.
- Parameters:
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.
-
withDiskIds
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)
orwithDiskIds(java.util.Collection)
if you want to override the existing values.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withDiskIds
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setWorkingStorageUsedInBytes
The total working storage in bytes in use by the gateway. If no working storage is configured for the gateway, this field returns 0.
- Parameters:
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.
-
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.
- Returns:
- The total working storage in bytes in use by the gateway. If no working storage is configured for the gateway, this field returns 0.
-
withWorkingStorageUsedInBytes
The total working storage in bytes in use by the gateway. If no working storage is configured for the gateway, this field returns 0.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setWorkingStorageAllocatedInBytes
The total working storage in bytes allocated for the gateway. If no working storage is configured for the gateway, this field returns 0.
- Parameters:
workingStorageAllocatedInBytes
- The total working storage in bytes allocated for the gateway. If no working storage is configured for the gateway, this field returns 0.
-
getWorkingStorageAllocatedInBytes
The total working storage in bytes allocated for the gateway. If no working storage is configured for the gateway, this field returns 0.
- Returns:
- The total working storage in bytes allocated for the gateway. If no working storage is configured for the gateway, this field returns 0.
-
withWorkingStorageAllocatedInBytes
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.
- Parameters:
workingStorageAllocatedInBytes
- The total working storage in bytes allocated for the gateway. If no working storage is configured for the gateway, this field returns 0.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-