Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.storagegateway.model
Class DescribeUploadBufferResult

java.lang.Object
  extended by com.amazonaws.services.storagegateway.model.DescribeUploadBufferResult

public class DescribeUploadBufferResult
extends java.lang.Object

A JSON object containing the following fields:


Constructor Summary
DescribeUploadBufferResult()
           
 
Method Summary
 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()
          In response, AWS Storage Gateway returns the ARN of the activated gateway.
 java.lang.Long getUploadBufferAllocatedInBytes()
          The total upload buffer in bytes allocated for the gateway.
 java.lang.Long getUploadBufferUsedInBytes()
          The total upload buffer 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)
          In response, AWS Storage Gateway returns the ARN of the activated gateway.
 void setUploadBufferAllocatedInBytes(java.lang.Long uploadBufferAllocatedInBytes)
          The total upload buffer in bytes allocated for the gateway.
 void setUploadBufferUsedInBytes(java.lang.Long uploadBufferUsedInBytes)
          The total upload buffer in bytes in use by the gateway.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeUploadBufferResult withDiskIds(java.util.Collection<java.lang.String> diskIds)
          An array of the gateway's local disk IDs that are configured as working storage.
 DescribeUploadBufferResult withDiskIds(java.lang.String... diskIds)
          An array of the gateway's local disk IDs that are configured as working storage.
 DescribeUploadBufferResult withGatewayARN(java.lang.String gatewayARN)
          In response, AWS Storage Gateway returns the ARN of the activated gateway.
 DescribeUploadBufferResult withUploadBufferAllocatedInBytes(java.lang.Long uploadBufferAllocatedInBytes)
          The total upload buffer in bytes allocated for the gateway.
 DescribeUploadBufferResult withUploadBufferUsedInBytes(java.lang.Long uploadBufferUsedInBytes)
          The total upload buffer in bytes in use by the gateway.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeUploadBufferResult

public DescribeUploadBufferResult()
Method Detail

getGatewayARN

public java.lang.String getGatewayARN()
In response, AWS Storage Gateway returns the ARN of the activated gateway. If you don't remember the ARN of a gateway, you can use the ListGateways operations to return a list of gateways for your account and region.

Constraints:
Length: 50 - 500

Returns:
In response, AWS Storage Gateway returns the ARN of the activated gateway. If you don't remember the ARN of a gateway, you can use the ListGateways operations to return a list of gateways for your account and region.

setGatewayARN

public void setGatewayARN(java.lang.String gatewayARN)
In response, AWS Storage Gateway returns the ARN of the activated gateway. If you don't remember the ARN of a gateway, you can use the ListGateways operations to return a list of gateways for your account and region.

Constraints:
Length: 50 - 500

Parameters:
gatewayARN - In response, AWS Storage Gateway returns the ARN of the activated gateway. If you don't remember the ARN of a gateway, you can use the ListGateways operations to return a list of gateways for your account and region.

withGatewayARN

public DescribeUploadBufferResult withGatewayARN(java.lang.String gatewayARN)
In response, AWS Storage Gateway returns the ARN of the activated gateway. If you don't remember the ARN of a gateway, you can use the ListGateways operations 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 - In response, AWS Storage Gateway returns the ARN of the activated gateway. If you don't remember the ARN of a gateway, you can use the ListGateways operations 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 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.

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

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

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

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.

getUploadBufferUsedInBytes

public java.lang.Long getUploadBufferUsedInBytes()
The total upload buffer in bytes in use by the gateway. If no upload buffer is configured for the gateway, this field returns 0.

Returns:
The total upload buffer in bytes in use by the gateway. If no upload buffer is configured for the gateway, this field returns 0.

setUploadBufferUsedInBytes

public void setUploadBufferUsedInBytes(java.lang.Long uploadBufferUsedInBytes)
The total upload buffer in bytes in use by the gateway. If no upload buffer is configured for the gateway, this field returns 0.

Parameters:
uploadBufferUsedInBytes - The total upload buffer in bytes in use by the gateway. If no upload buffer is configured for the gateway, this field returns 0.

withUploadBufferUsedInBytes

public DescribeUploadBufferResult withUploadBufferUsedInBytes(java.lang.Long uploadBufferUsedInBytes)
The total upload buffer in bytes in use by the gateway. If no upload buffer is configured for the gateway, this field returns 0.

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

Parameters:
uploadBufferUsedInBytes - The total upload buffer in bytes in use by the gateway. If no upload buffer is configured for the gateway, this field returns 0.
Returns:
A reference to this updated object so that method calls can be chained together.

getUploadBufferAllocatedInBytes

public java.lang.Long getUploadBufferAllocatedInBytes()
The total upload buffer in bytes allocated for the gateway. If no upload buffer is configured for the gateway, this field returns 0.

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

setUploadBufferAllocatedInBytes

public void setUploadBufferAllocatedInBytes(java.lang.Long uploadBufferAllocatedInBytes)
The total upload buffer in bytes allocated for the gateway. If no upload buffer is configured for the gateway, this field returns 0.

Parameters:
uploadBufferAllocatedInBytes - The total upload buffer in bytes allocated for the gateway. If no upload buffer is configured for the gateway, this field returns 0.

withUploadBufferAllocatedInBytes

public DescribeUploadBufferResult withUploadBufferAllocatedInBytes(java.lang.Long uploadBufferAllocatedInBytes)
The total upload buffer in bytes allocated for the gateway. If no upload buffer is configured for the gateway, this field returns 0.

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

Parameters:
uploadBufferAllocatedInBytes - The total upload buffer in bytes allocated for the gateway. If no upload buffer 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 java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

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

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


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