public static interface CreateCachePolicyResponse.Builder extends CloudFrontResponse.Builder, SdkPojo, CopyableBuilder<CreateCachePolicyResponse.Builder,CreateCachePolicyResponse>
| Modifier and Type | Method and Description |
|---|---|
CreateCachePolicyResponse.Builder |
cachePolicy(CachePolicy cachePolicy)
A cache policy.
|
default CreateCachePolicyResponse.Builder |
cachePolicy(Consumer<CachePolicy.Builder> cachePolicy)
A cache policy.
|
CreateCachePolicyResponse.Builder |
eTag(String eTag)
The current version of the cache policy.
|
CreateCachePolicyResponse.Builder |
location(String location)
The fully qualified URI of the cache policy just created.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateCachePolicyResponse.Builder cachePolicy(CachePolicy cachePolicy)
A cache policy.
cachePolicy - A cache policy.default CreateCachePolicyResponse.Builder cachePolicy(Consumer<CachePolicy.Builder> cachePolicy)
A cache policy.
This is a convenience that creates an instance of theCachePolicy.Builder avoiding the need to create
one manually via CachePolicy.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to cachePolicy(CachePolicy).cachePolicy - a consumer that will call methods on CachePolicy.BuildercachePolicy(CachePolicy)CreateCachePolicyResponse.Builder location(String location)
The fully qualified URI of the cache policy just created.
location - The fully qualified URI of the cache policy just created.CreateCachePolicyResponse.Builder eTag(String eTag)
The current version of the cache policy.
eTag - The current version of the cache policy.Copyright © 2021. All rights reserved.