public static interface UpdateCachePolicyRequest.Builder extends CloudFrontRequest.Builder, SdkPojo, CopyableBuilder<UpdateCachePolicyRequest.Builder,UpdateCachePolicyRequest>
Modifier and Type | Method and Description |
---|---|
UpdateCachePolicyRequest.Builder |
cachePolicyConfig(CachePolicyConfig cachePolicyConfig)
A cache policy configuration.
|
default UpdateCachePolicyRequest.Builder |
cachePolicyConfig(Consumer<CachePolicyConfig.Builder> cachePolicyConfig)
A cache policy configuration.
|
UpdateCachePolicyRequest.Builder |
id(String id)
The unique identifier for the cache policy that you are updating.
|
UpdateCachePolicyRequest.Builder |
ifMatch(String ifMatch)
The version of the cache policy that you are updating.
|
UpdateCachePolicyRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
UpdateCachePolicyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
UpdateCachePolicyRequest.Builder cachePolicyConfig(CachePolicyConfig cachePolicyConfig)
A cache policy configuration.
cachePolicyConfig
- A cache policy configuration.default UpdateCachePolicyRequest.Builder cachePolicyConfig(Consumer<CachePolicyConfig.Builder> cachePolicyConfig)
A cache policy configuration.
This is a convenience that creates an instance of theCachePolicyConfig.Builder
avoiding the need to
create one manually via CachePolicyConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to cachePolicyConfig(CachePolicyConfig)
.cachePolicyConfig
- a consumer that will call methods on CachePolicyConfig.Builder
cachePolicyConfig(CachePolicyConfig)
UpdateCachePolicyRequest.Builder id(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
.
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
.UpdateCachePolicyRequest.Builder ifMatch(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
.
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
.UpdateCachePolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
UpdateCachePolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2021. All rights reserved.