Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.storagegateway.model
Class DescribeWorkingStorageResult

java.lang.Object
  extended by com.amazonaws.services.storagegateway.model.DescribeWorkingStorageResult
All Implemented Interfaces:
Serializable

public class DescribeWorkingStorageResult
extends Object
implements Serializable

A JSON object containing the following fields:

See Also:
Serialized Form

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

DescribeWorkingStorageResult

public DescribeWorkingStorageResult()
Method Detail

getGatewayARN

public String getGatewayARN()
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.

Constraints:
Length: 50 - 500

Returns:
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.

setGatewayARN

public void setGatewayARN(String gatewayARN)
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.

Constraints:
Length: 50 - 500

Parameters:
gatewayARN - The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.

withGatewayARN

public DescribeWorkingStorageResult withGatewayARN(String gatewayARN)
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 50 - 500

Parameters:
gatewayARN - The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.
Returns:
A reference to this updated object so that method calls can be chained together.

getDiskIds

public List<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.

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

public void setDiskIds(Collection<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.

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

public DescribeWorkingStorageResult withDiskIds(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.

Returns a reference to this object so that method calls can be chained together.

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:
A reference to this updated object so that method calls can be chained together.

withDiskIds

public DescribeWorkingStorageResult withDiskIds(Collection<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.

Returns a reference to this object so that method calls can be chained together.

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:
A reference to this updated object so that method calls can be chained together.

getWorkingStorageUsedInBytes

public 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.

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.

setWorkingStorageUsedInBytes

public void setWorkingStorageUsedInBytes(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.

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.

withWorkingStorageUsedInBytes

public DescribeWorkingStorageResult withWorkingStorageUsedInBytes(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.

Returns a reference to this object so that method calls can be chained together.

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:
A reference to this updated object so that method calls can be chained together.

getWorkingStorageAllocatedInBytes

public 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.

Returns:
The total working storage in bytes allocated for the gateway. If no working storage is configured for the gateway, this field returns 0.

setWorkingStorageAllocatedInBytes

public void setWorkingStorageAllocatedInBytes(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.

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.

Returns a reference to this object so that method calls can be chained together.

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:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.