public static interface CachePolicySummary.Builder extends SdkPojo, CopyableBuilder<CachePolicySummary.Builder,CachePolicySummary>
| Modifier and Type | Method and Description |
|---|---|
CachePolicySummary.Builder |
cachePolicy(CachePolicy cachePolicy)
The cache policy.
|
default CachePolicySummary.Builder |
cachePolicy(Consumer<CachePolicy.Builder> cachePolicy)
The cache policy.
|
CachePolicySummary.Builder |
type(CachePolicyType type)
The type of cache policy, either
managed (created by Amazon Web Services) or custom
(created in this account). |
CachePolicySummary.Builder |
type(String type)
The type of cache policy, either
managed (created by Amazon Web Services) or custom
(created in this account). |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCachePolicySummary.Builder type(String type)
The type of cache policy, either managed (created by Amazon Web Services) or custom
(created in this account).
type - The type of cache policy, either managed (created by Amazon Web Services) or
custom (created in this account).CachePolicyType,
CachePolicyTypeCachePolicySummary.Builder type(CachePolicyType type)
The type of cache policy, either managed (created by Amazon Web Services) or custom
(created in this account).
type - The type of cache policy, either managed (created by Amazon Web Services) or
custom (created in this account).CachePolicyType,
CachePolicyTypeCachePolicySummary.Builder cachePolicy(CachePolicy cachePolicy)
The cache policy.
cachePolicy - The cache policy.default CachePolicySummary.Builder cachePolicy(Consumer<CachePolicy.Builder> cachePolicy)
The 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)Copyright © 2021. All rights reserved.