public static interface ListCachePoliciesResponse.Builder extends CloudFrontResponse.Builder, SdkPojo, CopyableBuilder<ListCachePoliciesResponse.Builder,ListCachePoliciesResponse>
| Modifier and Type | Method and Description |
|---|---|
ListCachePoliciesResponse.Builder |
cachePolicyList(CachePolicyList cachePolicyList)
A list of cache policies.
|
default ListCachePoliciesResponse.Builder |
cachePolicyList(Consumer<CachePolicyList.Builder> cachePolicyList)
A list of cache policies.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListCachePoliciesResponse.Builder cachePolicyList(CachePolicyList cachePolicyList)
A list of cache policies.
cachePolicyList - A list of cache policies.default ListCachePoliciesResponse.Builder cachePolicyList(Consumer<CachePolicyList.Builder> cachePolicyList)
A list of cache policies.
This is a convenience method that creates an instance of theCachePolicyList.Builder avoiding the
need to create one manually via CachePolicyList.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to cachePolicyList(CachePolicyList).
cachePolicyList - a consumer that will call methods on CachePolicyList.BuildercachePolicyList(CachePolicyList)Copyright © 2023. All rights reserved.