Interface GetCachePolicyConfigResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CloudFrontResponse.Builder,- CopyableBuilder<GetCachePolicyConfigResponse.Builder,,- GetCachePolicyConfigResponse> - SdkBuilder<GetCachePolicyConfigResponse.Builder,,- GetCachePolicyConfigResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- GetCachePolicyConfigResponse
@Mutable
@NotThreadSafe
public static interface GetCachePolicyConfigResponse.Builder
extends CloudFrontResponse.Builder, SdkPojo, CopyableBuilder<GetCachePolicyConfigResponse.Builder,GetCachePolicyConfigResponse> 
- 
Method SummaryModifier and TypeMethodDescriptioncachePolicyConfig(Consumer<CachePolicyConfig.Builder> cachePolicyConfig) The cache policy configuration.cachePolicyConfig(CachePolicyConfig cachePolicyConfig) The cache policy configuration.The current version of the cache policy.Methods inherited from interface software.amazon.awssdk.services.cloudfront.model.CloudFrontResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
cachePolicyConfigThe cache policy configuration. - Parameters:
- cachePolicyConfig- The cache policy configuration.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
cachePolicyConfigdefault GetCachePolicyConfigResponse.Builder cachePolicyConfig(Consumer<CachePolicyConfig.Builder> cachePolicyConfig) The cache policy configuration. This is a convenience method that creates an instance of theCachePolicyConfig.Builderavoiding the need to create one manually viaCachePolicyConfig.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocachePolicyConfig(CachePolicyConfig).- Parameters:
- cachePolicyConfig- a consumer that will call methods on- CachePolicyConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
eTagThe current version of the cache policy. - Parameters:
- eTag- The current version of the cache policy.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-