@Generated(value="software.amazon.awssdk:codegen") public class DescribeCacheResponse extends StorageGatewayResponse implements ToCopyableBuilder<DescribeCacheResponse.Builder,DescribeCacheResponse>
Modifier and Type | Class and Description |
---|---|
static interface |
DescribeCacheResponse.Builder |
Modifier and Type | Method and Description |
---|---|
static DescribeCacheResponse.Builder |
builder() |
Long |
cacheAllocatedInBytes()
Returns the value of the CacheAllocatedInBytes property for this object.
|
Double |
cacheDirtyPercentage()
Returns the value of the CacheDirtyPercentage property for this object.
|
Double |
cacheHitPercentage()
Returns the value of the CacheHitPercentage property for this object.
|
Double |
cacheMissPercentage()
Returns the value of the CacheMissPercentage property for this object.
|
Double |
cacheUsedPercentage()
Returns the value of the CacheUsedPercentage property for this object.
|
List<String> |
diskIds()
Returns the value of the DiskIds property for this object.
|
boolean |
equals(Object obj) |
String |
gatewayARN()
Returns the value of the GatewayARN property for this object.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkResponse . |
int |
hashCode() |
static Class<? extends DescribeCacheResponse.Builder> |
serializableBuilderClass() |
DescribeCacheResponse.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String gatewayARN()
public List<String> diskIds()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Long cacheAllocatedInBytes()
public Double cacheUsedPercentage()
public Double cacheDirtyPercentage()
public Double cacheHitPercentage()
public Double cacheMissPercentage()
public DescribeCacheResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DescribeCacheResponse.Builder,DescribeCacheResponse>
toBuilder
in class AwsResponse
public static DescribeCacheResponse.Builder builder()
public static Class<? extends DescribeCacheResponse.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkResponse
SdkResponse
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkResponse.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkResponse
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.