@Generated(value="software.amazon.awssdk:codegen") public final class GetCachePolicyResponse extends CloudFrontResponse implements ToCopyableBuilder<GetCachePolicyResponse.Builder,GetCachePolicyResponse>
Modifier and Type | Class and Description |
---|---|
static interface |
GetCachePolicyResponse.Builder |
Modifier and Type | Method and Description |
---|---|
static GetCachePolicyResponse.Builder |
builder() |
CachePolicy |
cachePolicy()
The cache policy.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
eTag()
The current version of the cache policy.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetCachePolicyResponse.Builder> |
serializableBuilderClass() |
GetCachePolicyResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadata
sdkHttpResponse
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final CachePolicy cachePolicy()
The cache policy.
public final String eTag()
The current version of the cache policy.
public GetCachePolicyResponse.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<GetCachePolicyResponse.Builder,GetCachePolicyResponse>
toBuilder
in class AwsResponse
public static GetCachePolicyResponse.Builder builder()
public static Class<? extends GetCachePolicyResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsResponse
public final boolean equals(Object obj)
equals
in class AwsResponse
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkResponse
Copyright © 2021. All rights reserved.