com.amazonaws.services.storagegateway.model
Class DescribeCacheResult

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

public class DescribeCacheResult
extends Object
implements Serializable

Describe Cache Result

See Also:
Serialized Form

Constructor Summary
DescribeCacheResult()
           
 
Method Summary
 boolean equals(Object obj)
           
 Long getCacheAllocatedInBytes()
          Returns the value of the CacheAllocatedInBytes property for this object.
 Double getCacheDirtyPercentage()
          Returns the value of the CacheDirtyPercentage property for this object.
 Double getCacheHitPercentage()
          Returns the value of the CacheHitPercentage property for this object.
 Double getCacheMissPercentage()
          Returns the value of the CacheMissPercentage property for this object.
 Double getCacheUsedPercentage()
          Returns the value of the CacheUsedPercentage property for this object.
 List<String> getDiskIds()
          Returns the value of the DiskIds property for this object.
 String getGatewayARN()
          The Amazon Resource Name (ARN) of the gateway.
 int hashCode()
           
 void setCacheAllocatedInBytes(Long cacheAllocatedInBytes)
          Sets the value of the CacheAllocatedInBytes property for this object.
 void setCacheDirtyPercentage(Double cacheDirtyPercentage)
          Sets the value of the CacheDirtyPercentage property for this object.
 void setCacheHitPercentage(Double cacheHitPercentage)
          Sets the value of the CacheHitPercentage property for this object.
 void setCacheMissPercentage(Double cacheMissPercentage)
          Sets the value of the CacheMissPercentage property for this object.
 void setCacheUsedPercentage(Double cacheUsedPercentage)
          Sets the value of the CacheUsedPercentage property for this object.
 void setDiskIds(Collection<String> diskIds)
          Sets the value of the DiskIds property for this object.
 void setGatewayARN(String gatewayARN)
          The Amazon Resource Name (ARN) of the gateway.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeCacheResult withCacheAllocatedInBytes(Long cacheAllocatedInBytes)
          Sets the value of the CacheAllocatedInBytes property for this object.
 DescribeCacheResult withCacheDirtyPercentage(Double cacheDirtyPercentage)
          Sets the value of the CacheDirtyPercentage property for this object.
 DescribeCacheResult withCacheHitPercentage(Double cacheHitPercentage)
          Sets the value of the CacheHitPercentage property for this object.
 DescribeCacheResult withCacheMissPercentage(Double cacheMissPercentage)
          Sets the value of the CacheMissPercentage property for this object.
 DescribeCacheResult withCacheUsedPercentage(Double cacheUsedPercentage)
          Sets the value of the CacheUsedPercentage property for this object.
 DescribeCacheResult withDiskIds(Collection<String> diskIds)
          Sets the value of the DiskIds property for this object.
 DescribeCacheResult withDiskIds(String... diskIds)
          Sets the value of the DiskIds property for this object.
 DescribeCacheResult withGatewayARN(String gatewayARN)
          The Amazon Resource Name (ARN) of the gateway.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeCacheResult

public DescribeCacheResult()
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 DescribeCacheResult 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()
Returns the value of the DiskIds property for this object.

Returns:
The value of the DiskIds property for this object.

setDiskIds

public void setDiskIds(Collection<String> diskIds)
Sets the value of the DiskIds property for this object.

Parameters:
diskIds - The new value for the DiskIds property for this object.

withDiskIds

public DescribeCacheResult withDiskIds(String... diskIds)
Sets the value of the DiskIds property for this object.

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

Parameters:
diskIds - The new value for the DiskIds property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

withDiskIds

public DescribeCacheResult withDiskIds(Collection<String> diskIds)
Sets the value of the DiskIds property for this object.

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

Parameters:
diskIds - The new value for the DiskIds property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getCacheAllocatedInBytes

public Long getCacheAllocatedInBytes()
Returns the value of the CacheAllocatedInBytes property for this object.

Returns:
The value of the CacheAllocatedInBytes property for this object.

setCacheAllocatedInBytes

public void setCacheAllocatedInBytes(Long cacheAllocatedInBytes)
Sets the value of the CacheAllocatedInBytes property for this object.

Parameters:
cacheAllocatedInBytes - The new value for the CacheAllocatedInBytes property for this object.

withCacheAllocatedInBytes

public DescribeCacheResult withCacheAllocatedInBytes(Long cacheAllocatedInBytes)
Sets the value of the CacheAllocatedInBytes property for this object.

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

Parameters:
cacheAllocatedInBytes - The new value for the CacheAllocatedInBytes property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getCacheUsedPercentage

public Double getCacheUsedPercentage()
Returns the value of the CacheUsedPercentage property for this object.

Returns:
The value of the CacheUsedPercentage property for this object.

setCacheUsedPercentage

public void setCacheUsedPercentage(Double cacheUsedPercentage)
Sets the value of the CacheUsedPercentage property for this object.

Parameters:
cacheUsedPercentage - The new value for the CacheUsedPercentage property for this object.

withCacheUsedPercentage

public DescribeCacheResult withCacheUsedPercentage(Double cacheUsedPercentage)
Sets the value of the CacheUsedPercentage property for this object.

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

Parameters:
cacheUsedPercentage - The new value for the CacheUsedPercentage property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getCacheDirtyPercentage

public Double getCacheDirtyPercentage()
Returns the value of the CacheDirtyPercentage property for this object.

Returns:
The value of the CacheDirtyPercentage property for this object.

setCacheDirtyPercentage

public void setCacheDirtyPercentage(Double cacheDirtyPercentage)
Sets the value of the CacheDirtyPercentage property for this object.

Parameters:
cacheDirtyPercentage - The new value for the CacheDirtyPercentage property for this object.

withCacheDirtyPercentage

public DescribeCacheResult withCacheDirtyPercentage(Double cacheDirtyPercentage)
Sets the value of the CacheDirtyPercentage property for this object.

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

Parameters:
cacheDirtyPercentage - The new value for the CacheDirtyPercentage property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getCacheHitPercentage

public Double getCacheHitPercentage()
Returns the value of the CacheHitPercentage property for this object.

Returns:
The value of the CacheHitPercentage property for this object.

setCacheHitPercentage

public void setCacheHitPercentage(Double cacheHitPercentage)
Sets the value of the CacheHitPercentage property for this object.

Parameters:
cacheHitPercentage - The new value for the CacheHitPercentage property for this object.

withCacheHitPercentage

public DescribeCacheResult withCacheHitPercentage(Double cacheHitPercentage)
Sets the value of the CacheHitPercentage property for this object.

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

Parameters:
cacheHitPercentage - The new value for the CacheHitPercentage property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getCacheMissPercentage

public Double getCacheMissPercentage()
Returns the value of the CacheMissPercentage property for this object.

Returns:
The value of the CacheMissPercentage property for this object.

setCacheMissPercentage

public void setCacheMissPercentage(Double cacheMissPercentage)
Sets the value of the CacheMissPercentage property for this object.

Parameters:
cacheMissPercentage - The new value for the CacheMissPercentage property for this object.

withCacheMissPercentage

public DescribeCacheResult withCacheMissPercentage(Double cacheMissPercentage)
Sets the value of the CacheMissPercentage property for this object.

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

Parameters:
cacheMissPercentage - The new value for the CacheMissPercentage property for this object.
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 © 2016. All rights reserved.