public class DescribeCacheResult
extends java.lang.Object
implements java.io.Serializable
A JSON object containing the following fields:
| コンストラクタと説明 |
|---|
DescribeCacheResult() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Long |
getCacheAllocatedInBytes()
The size allocated, in bytes, for the cache.
|
java.lang.Double |
getCacheDirtyPercentage()
The percentage of the cache that contains data that has not yet been
persisted to Amazon S3.
|
java.lang.Double |
getCacheHitPercentage()
The percentage (0 to 100) of data read from the storage volume that
was read from cache.
|
java.lang.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.
|
java.lang.Double |
getCacheUsedPercentage()
The percentage (0 to 100) of the cache storage in use.
|
java.util.List<java.lang.String> |
getDiskIds()
An array of the gateway's local disk IDs that are configured as cache.
|
java.lang.String |
getGatewayARN()
In response, AWS Storage Gateway returns the ARN of the activated
gateway.
|
int |
hashCode() |
void |
setCacheAllocatedInBytes(java.lang.Long cacheAllocatedInBytes)
The size allocated, in bytes, for the cache.
|
void |
setCacheDirtyPercentage(java.lang.Double cacheDirtyPercentage)
The percentage of the cache that contains data that has not yet been
persisted to Amazon S3.
|
void |
setCacheHitPercentage(java.lang.Double cacheHitPercentage)
The percentage (0 to 100) of data read from the storage volume that
was read from cache.
|
void |
setCacheMissPercentage(java.lang.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(java.lang.Double cacheUsedPercentage)
The percentage (0 to 100) of the cache storage in use.
|
void |
setDiskIds(java.util.Collection<java.lang.String> diskIds)
An array of the gateway's local disk IDs that are configured as cache.
|
void |
setGatewayARN(java.lang.String gatewayARN)
In response, AWS Storage Gateway returns the ARN of the activated
gateway.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeCacheResult |
withCacheAllocatedInBytes(java.lang.Long cacheAllocatedInBytes)
The size allocated, in bytes, for the cache.
|
DescribeCacheResult |
withCacheDirtyPercentage(java.lang.Double cacheDirtyPercentage)
The percentage of the cache that contains data that has not yet been
persisted to Amazon S3.
|
DescribeCacheResult |
withCacheHitPercentage(java.lang.Double cacheHitPercentage)
The percentage (0 to 100) of data read from the storage volume that
was read from cache.
|
DescribeCacheResult |
withCacheMissPercentage(java.lang.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(java.lang.Double cacheUsedPercentage)
The percentage (0 to 100) of the cache storage in use.
|
DescribeCacheResult |
withDiskIds(java.util.Collection<java.lang.String> diskIds)
An array of the gateway's local disk IDs that are configured as cache.
|
DescribeCacheResult |
withDiskIds(java.lang.String... diskIds)
An array of the gateway's local disk IDs that are configured as cache.
|
DescribeCacheResult |
withGatewayARN(java.lang.String gatewayARN)
In response, AWS Storage Gateway returns the ARN of the activated
gateway.
|
public java.lang.String getGatewayARN()
Constraints:
Length: 50 - 500
public void setGatewayARN(java.lang.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(java.lang.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 java.util.List<java.lang.String> getDiskIds()
DiskIds array is empty.DiskIds array is empty.public void setDiskIds(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.lang.Long getCacheAllocatedInBytes()
public void setCacheAllocatedInBytes(java.lang.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(java.lang.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 java.lang.Double getCacheUsedPercentage()
public void setCacheUsedPercentage(java.lang.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(java.lang.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 java.lang.Double getCacheDirtyPercentage()
public void setCacheDirtyPercentage(java.lang.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(java.lang.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 java.lang.Double getCacheHitPercentage()
public void setCacheHitPercentage(java.lang.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(java.lang.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 java.lang.Double getCacheMissPercentage()
public void setCacheMissPercentage(java.lang.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(java.lang.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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object