Interface DeleteCachePolicyRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudFrontRequest.Builder,CopyableBuilder<DeleteCachePolicyRequest.Builder,DeleteCachePolicyRequest>,SdkBuilder<DeleteCachePolicyRequest.Builder,DeleteCachePolicyRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- DeleteCachePolicyRequest
@Mutable @NotThreadSafe public static interface DeleteCachePolicyRequest.Builder extends CloudFrontRequest.Builder, SdkPojo, CopyableBuilder<DeleteCachePolicyRequest.Builder,DeleteCachePolicyRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeleteCachePolicyRequest.Builderid(String id)The unique identifier for the cache policy that you are deleting.DeleteCachePolicyRequest.BuilderifMatch(String ifMatch)The version of the cache policy that you are deleting.DeleteCachePolicyRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)DeleteCachePolicyRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.cloudfront.model.CloudFrontRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
id
DeleteCachePolicyRequest.Builder id(String id)
The unique identifier for the cache policy that you are deleting. To get the identifier, you can use
ListCachePolicies.- Parameters:
id- The unique identifier for the cache policy that you are deleting. To get the identifier, you can useListCachePolicies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ifMatch
DeleteCachePolicyRequest.Builder ifMatch(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.- Parameters:
ifMatch- The version of the cache policy that you are deleting. The version is the cache policy'sETagvalue, which you can get usingListCachePolicies,GetCachePolicy, orGetCachePolicyConfig.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DeleteCachePolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DeleteCachePolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-