@Generated(value="software.amazon.awssdk:codegen") public final class UpdateCachePolicyRequest extends CloudFrontRequest implements ToCopyableBuilder<UpdateCachePolicyRequest.Builder,UpdateCachePolicyRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateCachePolicyRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdateCachePolicyRequest.Builder |
builder() |
CachePolicyConfig |
cachePolicyConfig()
A cache policy configuration.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The unique identifier for the cache policy that you are updating.
|
String |
ifMatch()
The version of the cache policy that you are updating.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateCachePolicyRequest.Builder> |
serializableBuilderClass() |
UpdateCachePolicyRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final CachePolicyConfig cachePolicyConfig()
A cache policy configuration.
public final String id()
The unique identifier for the cache policy that you are updating. The identifier is returned in a cache
behavior’s CachePolicyId field in the response to GetDistributionConfig.
CachePolicyId field in the response to GetDistributionConfig.public final String ifMatch()
The version of the cache policy that you are updating. The version is returned in the cache policy’s
ETag field in the response to GetCachePolicyConfig.
ETag field in the response to GetCachePolicyConfig.public UpdateCachePolicyRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateCachePolicyRequest.Builder,UpdateCachePolicyRequest>toBuilder in class CloudFrontRequestpublic static UpdateCachePolicyRequest.Builder builder()
public static Class<? extends UpdateCachePolicyRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.