|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.storagegateway.model.DescribeCacheResult
public class DescribeCacheResult
A JSON object containing the following fields:
Constructor Summary | |
---|---|
DescribeCacheResult()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Long |
getCacheAllocatedInBytes()
The size allocated, in bytes, for the cache. |
Double |
getCacheDirtyPercentage()
The percentage of the cache that contains data that has not yet been persisted to Amazon S3. |
Double |
getCacheHitPercentage()
The percentage (0 to 100) of data read from the storage volume that was read from cache. |
Double |
getCacheMissPercentage()
TThe percentage (0 to 100) of data read from the storage volume that was not read from the cache, but was read from Amazon S3. |
Double |
getCacheUsedPercentage()
The percentage (0 to 100) of the cache storage in use. |
List<String> |
getDiskIds()
An array of the gateway's local disk IDs that are configured as cache. |
String |
getGatewayARN()
In response, AWS Storage Gateway returns the ARN of the activated gateway. |
int |
hashCode()
|
void |
setCacheAllocatedInBytes(Long cacheAllocatedInBytes)
The size allocated, in bytes, for the cache. |
void |
setCacheDirtyPercentage(Double cacheDirtyPercentage)
The percentage of the cache that contains data that has not yet been persisted to Amazon S3. |
void |
setCacheHitPercentage(Double cacheHitPercentage)
The percentage (0 to 100) of data read from the storage volume that was read from cache. |
void |
setCacheMissPercentage(Double cacheMissPercentage)
TThe percentage (0 to 100) of data read from the storage volume that was not read from the cache, but was read from Amazon S3. |
void |
setCacheUsedPercentage(Double cacheUsedPercentage)
The percentage (0 to 100) of the cache storage in use. |
void |
setDiskIds(Collection<String> diskIds)
An array of the gateway's local disk IDs that are configured as cache. |
void |
setGatewayARN(String gatewayARN)
In response, AWS Storage Gateway returns the ARN of the activated gateway. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DescribeCacheResult |
withCacheAllocatedInBytes(Long cacheAllocatedInBytes)
The size allocated, in bytes, for the cache. |
DescribeCacheResult |
withCacheDirtyPercentage(Double cacheDirtyPercentage)
The percentage of the cache that contains data that has not yet been persisted to Amazon S3. |
DescribeCacheResult |
withCacheHitPercentage(Double cacheHitPercentage)
The percentage (0 to 100) of data read from the storage volume that was read from cache. |
DescribeCacheResult |
withCacheMissPercentage(Double cacheMissPercentage)
TThe percentage (0 to 100) of data read from the storage volume that was not read from the cache, but was read from Amazon S3. |
DescribeCacheResult |
withCacheUsedPercentage(Double cacheUsedPercentage)
The percentage (0 to 100) of the cache storage in use. |
DescribeCacheResult |
withDiskIds(Collection<String> diskIds)
An array of the gateway's local disk IDs that are configured as cache. |
DescribeCacheResult |
withDiskIds(String... diskIds)
An array of the gateway's local disk IDs that are configured as cache. |
DescribeCacheResult |
withGatewayARN(String gatewayARN)
In response, AWS Storage Gateway returns the ARN of the activated gateway. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DescribeCacheResult()
Method Detail |
---|
public String getGatewayARN()
Constraints:
Length: 50 - 500
public void setGatewayARN(String gatewayARN)
Constraints:
Length: 50 - 500
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
List Gateways operations to return a list of gateways for your account
and region.public DescribeCacheResult withGatewayARN(String gatewayARN)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 50 - 500
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
List Gateways operations to return a list of gateways for your account
and region.
public List<String> getDiskIds()
DiskIds
array is empty.
DiskIds
array is empty.public void setDiskIds(Collection<String> diskIds)
DiskIds
array is empty.
diskIds
- An array of the gateway's local disk IDs that are configured as cache.
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 cache,
then the DiskIds
array is empty.public DescribeCacheResult withDiskIds(String... diskIds)
DiskIds
array is empty.
Returns a reference to this object so that method calls can be chained together.
diskIds
- An array of the gateway's local disk IDs that are configured as cache.
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 cache,
then the DiskIds
array is empty.
public DescribeCacheResult withDiskIds(Collection<String> diskIds)
DiskIds
array is empty.
Returns a reference to this object so that method calls can be chained together.
diskIds
- An array of the gateway's local disk IDs that are configured as cache.
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 cache,
then the DiskIds
array is empty.
public Long getCacheAllocatedInBytes()
public void setCacheAllocatedInBytes(Long cacheAllocatedInBytes)
cacheAllocatedInBytes
- The size allocated, in bytes, for the cache. If no cache is defined
for the gateway, this field returns 0.public DescribeCacheResult withCacheAllocatedInBytes(Long cacheAllocatedInBytes)
Returns a reference to this object so that method calls can be chained together.
cacheAllocatedInBytes
- The size allocated, in bytes, for the cache. If no cache is defined
for the gateway, this field returns 0.
public Double getCacheUsedPercentage()
public void setCacheUsedPercentage(Double cacheUsedPercentage)
cacheUsedPercentage
- The percentage (0 to 100) of the cache storage in use. If no cached is
defined for the gateway, this field returns 0.public DescribeCacheResult withCacheUsedPercentage(Double cacheUsedPercentage)
Returns a reference to this object so that method calls can be chained together.
cacheUsedPercentage
- The percentage (0 to 100) of the cache storage in use. If no cached is
defined for the gateway, this field returns 0.
public Double getCacheDirtyPercentage()
public void setCacheDirtyPercentage(Double cacheDirtyPercentage)
cacheDirtyPercentage
- The percentage of the cache that contains data that has not yet been
persisted to Amazon S3. If no cached is defined for the gateway, this
field returns 0.public DescribeCacheResult withCacheDirtyPercentage(Double cacheDirtyPercentage)
Returns a reference to this object so that method calls can be chained together.
cacheDirtyPercentage
- The percentage of the cache that contains data that has not yet been
persisted to Amazon S3. If no cached is defined for the gateway, this
field returns 0.
public Double getCacheHitPercentage()
public void setCacheHitPercentage(Double cacheHitPercentage)
cacheHitPercentage
- The percentage (0 to 100) of data read from the storage volume that
was read from cache. If no cached is defined for the gateway, this
field returns 0.public DescribeCacheResult withCacheHitPercentage(Double cacheHitPercentage)
Returns a reference to this object so that method calls can be chained together.
cacheHitPercentage
- The percentage (0 to 100) of data read from the storage volume that
was read from cache. If no cached is defined for the gateway, this
field returns 0.
public Double getCacheMissPercentage()
public void setCacheMissPercentage(Double cacheMissPercentage)
cacheMissPercentage
- TThe percentage (0 to 100) of data read from the storage volume that
was not read from the cache, but was read from Amazon S3. If no cached
is defined for the gateway, this field returns 0.public DescribeCacheResult withCacheMissPercentage(Double cacheMissPercentage)
Returns a reference to this object so that method calls can be chained together.
cacheMissPercentage
- TThe percentage (0 to 100) of data read from the storage volume that
was not read from the cache, but was read from Amazon S3. If no cached
is defined for the gateway, this field returns 0.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |