public static interface GetCachePolicyResponse.Builder extends CloudFrontResponse.Builder, SdkPojo, CopyableBuilder<GetCachePolicyResponse.Builder,GetCachePolicyResponse>
| Modifier and Type | Method and Description |
|---|---|
GetCachePolicyResponse.Builder |
cachePolicy(CachePolicy cachePolicy)
The cache policy.
|
default GetCachePolicyResponse.Builder |
cachePolicy(Consumer<CachePolicy.Builder> cachePolicy)
The cache policy.
|
GetCachePolicyResponse.Builder |
eTag(String eTag)
The current version of the cache policy.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetCachePolicyResponse.Builder cachePolicy(CachePolicy cachePolicy)
The cache policy.
cachePolicy - The cache policy.default GetCachePolicyResponse.Builder cachePolicy(Consumer<CachePolicy.Builder> cachePolicy)
The cache policy.
This is a convenience method 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)GetCachePolicyResponse.Builder eTag(String eTag)
The current version of the cache policy.
eTag - The current version of the cache policy.Copyright © 2023. All rights reserved.