Class DeleteCachePolicyRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.cloudfront.model.CloudFrontRequest
-
- software.amazon.awssdk.services.cloudfront.model.DeleteCachePolicyRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DeleteCachePolicyRequest.Builder,DeleteCachePolicyRequest>
@Generated("software.amazon.awssdk:codegen") public final class DeleteCachePolicyRequest extends CloudFrontRequest implements ToCopyableBuilder<DeleteCachePolicyRequest.Builder,DeleteCachePolicyRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDeleteCachePolicyRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeleteCachePolicyRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The unique identifier for the cache policy that you are deleting.StringifMatch()The version of the cache policy that you are deleting.List<SdkField<?>>sdkFields()static Class<? extends DeleteCachePolicyRequest.Builder>serializableBuilderClass()DeleteCachePolicyRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
id
public final String id()
The unique identifier for the cache policy that you are deleting. To get the identifier, you can use
ListCachePolicies.- Returns:
- The unique identifier for the cache policy that you are deleting. To get the identifier, you can use
ListCachePolicies.
-
ifMatch
public final String ifMatch()
The version of the cache policy that you are deleting. The version is the cache policy's
ETagvalue, which you can get usingListCachePolicies,GetCachePolicy, orGetCachePolicyConfig.- Returns:
- The version of the cache policy that you are deleting. The version is the cache policy's
ETagvalue, which you can get usingListCachePolicies,GetCachePolicy, orGetCachePolicyConfig.
-
toBuilder
public DeleteCachePolicyRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeleteCachePolicyRequest.Builder,DeleteCachePolicyRequest>- Specified by:
toBuilderin classCloudFrontRequest
-
builder
public static DeleteCachePolicyRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends DeleteCachePolicyRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-