@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeCacheResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeCacheResult() |
Modifier and Type | Method and Description |
---|---|
DescribeCacheResult |
clone() |
boolean |
equals(Object obj) |
Long |
getCacheAllocatedInBytes()
The amount of cache in bytes allocated to a gateway.
|
Double |
getCacheDirtyPercentage()
The file share's contribution to the overall percentage of the gateway's cache that has not been persisted to
Amazon Web Services.
|
Double |
getCacheHitPercentage()
Percent of application read operations from the file shares that are served from cache.
|
Double |
getCacheMissPercentage()
Percent of application read operations from the file shares that are not served from cache.
|
Double |
getCacheUsedPercentage()
Percent use of the gateway's cache storage.
|
List<String> |
getDiskIds()
An array of strings that identify disks that are to be configured as working storage.
|
String |
getGatewayARN() |
int |
hashCode() |
void |
setCacheAllocatedInBytes(Long cacheAllocatedInBytes)
The amount of cache in bytes allocated to a gateway.
|
void |
setCacheDirtyPercentage(Double cacheDirtyPercentage)
The file share's contribution to the overall percentage of the gateway's cache that has not been persisted to
Amazon Web Services.
|
void |
setCacheHitPercentage(Double cacheHitPercentage)
Percent of application read operations from the file shares that are served from cache.
|
void |
setCacheMissPercentage(Double cacheMissPercentage)
Percent of application read operations from the file shares that are not served from cache.
|
void |
setCacheUsedPercentage(Double cacheUsedPercentage)
Percent use of the gateway's cache storage.
|
void |
setDiskIds(Collection<String> diskIds)
An array of strings that identify disks that are to be configured as working storage.
|
void |
setGatewayARN(String gatewayARN) |
String |
toString()
Returns a string representation of this object.
|
DescribeCacheResult |
withCacheAllocatedInBytes(Long cacheAllocatedInBytes)
The amount of cache in bytes allocated to a gateway.
|
DescribeCacheResult |
withCacheDirtyPercentage(Double cacheDirtyPercentage)
The file share's contribution to the overall percentage of the gateway's cache that has not been persisted to
Amazon Web Services.
|
DescribeCacheResult |
withCacheHitPercentage(Double cacheHitPercentage)
Percent of application read operations from the file shares that are served from cache.
|
DescribeCacheResult |
withCacheMissPercentage(Double cacheMissPercentage)
Percent of application read operations from the file shares that are not served from cache.
|
DescribeCacheResult |
withCacheUsedPercentage(Double cacheUsedPercentage)
Percent use of the gateway's cache storage.
|
DescribeCacheResult |
withDiskIds(Collection<String> diskIds)
An array of strings that identify disks that are to be configured as working storage.
|
DescribeCacheResult |
withDiskIds(String... diskIds)
An array of strings that identify disks that are to be configured as working storage.
|
DescribeCacheResult |
withGatewayARN(String gatewayARN) |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setGatewayARN(String gatewayARN)
gatewayARN
- public String getGatewayARN()
public DescribeCacheResult withGatewayARN(String gatewayARN)
gatewayARN
- public List<String> getDiskIds()
An array of strings that identify disks that are to be configured as working storage. Each string has a minimum length of 1 and maximum length of 300. You can get the disk IDs from the ListLocalDisks API.
public void setDiskIds(Collection<String> diskIds)
An array of strings that identify disks that are to be configured as working storage. Each string has a minimum length of 1 and maximum length of 300. You can get the disk IDs from the ListLocalDisks API.
diskIds
- An array of strings that identify disks that are to be configured as working storage. Each string has a
minimum length of 1 and maximum length of 300. You can get the disk IDs from the ListLocalDisks
API.public DescribeCacheResult withDiskIds(String... diskIds)
An array of strings that identify disks that are to be configured as working storage. Each string has a minimum length of 1 and maximum length of 300. You can get the disk IDs from the ListLocalDisks API.
NOTE: This method appends the values to the existing list (if any). Use
setDiskIds(java.util.Collection)
or withDiskIds(java.util.Collection)
if you want to override
the existing values.
diskIds
- An array of strings that identify disks that are to be configured as working storage. Each string has a
minimum length of 1 and maximum length of 300. You can get the disk IDs from the ListLocalDisks
API.public DescribeCacheResult withDiskIds(Collection<String> diskIds)
An array of strings that identify disks that are to be configured as working storage. Each string has a minimum length of 1 and maximum length of 300. You can get the disk IDs from the ListLocalDisks API.
diskIds
- An array of strings that identify disks that are to be configured as working storage. Each string has a
minimum length of 1 and maximum length of 300. You can get the disk IDs from the ListLocalDisks
API.public void setCacheAllocatedInBytes(Long cacheAllocatedInBytes)
The amount of cache in bytes allocated to a gateway.
cacheAllocatedInBytes
- The amount of cache in bytes allocated to a gateway.public Long getCacheAllocatedInBytes()
The amount of cache in bytes allocated to a gateway.
public DescribeCacheResult withCacheAllocatedInBytes(Long cacheAllocatedInBytes)
The amount of cache in bytes allocated to a gateway.
cacheAllocatedInBytes
- The amount of cache in bytes allocated to a gateway.public void setCacheUsedPercentage(Double cacheUsedPercentage)
Percent use of the gateway's cache storage. This metric applies only to the gateway-cached volume setup. The sample is taken at the end of the reporting period.
cacheUsedPercentage
- Percent use of the gateway's cache storage. This metric applies only to the gateway-cached volume setup.
The sample is taken at the end of the reporting period.public Double getCacheUsedPercentage()
Percent use of the gateway's cache storage. This metric applies only to the gateway-cached volume setup. The sample is taken at the end of the reporting period.
public DescribeCacheResult withCacheUsedPercentage(Double cacheUsedPercentage)
Percent use of the gateway's cache storage. This metric applies only to the gateway-cached volume setup. The sample is taken at the end of the reporting period.
cacheUsedPercentage
- Percent use of the gateway's cache storage. This metric applies only to the gateway-cached volume setup.
The sample is taken at the end of the reporting period.public void setCacheDirtyPercentage(Double cacheDirtyPercentage)
The file share's contribution to the overall percentage of the gateway's cache that has not been persisted to Amazon Web Services. The sample is taken at the end of the reporting period.
cacheDirtyPercentage
- The file share's contribution to the overall percentage of the gateway's cache that has not been persisted
to Amazon Web Services. The sample is taken at the end of the reporting period.public Double getCacheDirtyPercentage()
The file share's contribution to the overall percentage of the gateway's cache that has not been persisted to Amazon Web Services. The sample is taken at the end of the reporting period.
public DescribeCacheResult withCacheDirtyPercentage(Double cacheDirtyPercentage)
The file share's contribution to the overall percentage of the gateway's cache that has not been persisted to Amazon Web Services. The sample is taken at the end of the reporting period.
cacheDirtyPercentage
- The file share's contribution to the overall percentage of the gateway's cache that has not been persisted
to Amazon Web Services. The sample is taken at the end of the reporting period.public void setCacheHitPercentage(Double cacheHitPercentage)
Percent of application read operations from the file shares that are served from cache. The sample is taken at the end of the reporting period.
cacheHitPercentage
- Percent of application read operations from the file shares that are served from cache. The sample is
taken at the end of the reporting period.public Double getCacheHitPercentage()
Percent of application read operations from the file shares that are served from cache. The sample is taken at the end of the reporting period.
public DescribeCacheResult withCacheHitPercentage(Double cacheHitPercentage)
Percent of application read operations from the file shares that are served from cache. The sample is taken at the end of the reporting period.
cacheHitPercentage
- Percent of application read operations from the file shares that are served from cache. The sample is
taken at the end of the reporting period.public void setCacheMissPercentage(Double cacheMissPercentage)
Percent of application read operations from the file shares that are not served from cache. The sample is taken at the end of the reporting period.
cacheMissPercentage
- Percent of application read operations from the file shares that are not served from cache. The sample is
taken at the end of the reporting period.public Double getCacheMissPercentage()
Percent of application read operations from the file shares that are not served from cache. The sample is taken at the end of the reporting period.
public DescribeCacheResult withCacheMissPercentage(Double cacheMissPercentage)
Percent of application read operations from the file shares that are not served from cache. The sample is taken at the end of the reporting period.
cacheMissPercentage
- Percent of application read operations from the file shares that are not served from cache. The sample is
taken at the end of the reporting period.public String toString()
toString
in class Object
Object.toString()
public DescribeCacheResult clone()