Interface UpdateResponseHeadersPolicyRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudFrontRequest.Builder
,CopyableBuilder<UpdateResponseHeadersPolicyRequest.Builder,UpdateResponseHeadersPolicyRequest>
,SdkBuilder<UpdateResponseHeadersPolicyRequest.Builder,UpdateResponseHeadersPolicyRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- UpdateResponseHeadersPolicyRequest
public static interface UpdateResponseHeadersPolicyRequest.Builder extends CloudFrontRequest.Builder, SdkPojo, CopyableBuilder<UpdateResponseHeadersPolicyRequest.Builder,UpdateResponseHeadersPolicyRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateResponseHeadersPolicyRequest.Builder
id(String id)
The identifier for the response headers policy that you are updating.UpdateResponseHeadersPolicyRequest.Builder
ifMatch(String ifMatch)
The version of the response headers policy that you are updating.UpdateResponseHeadersPolicyRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
UpdateResponseHeadersPolicyRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
default UpdateResponseHeadersPolicyRequest.Builder
responseHeadersPolicyConfig(Consumer<ResponseHeadersPolicyConfig.Builder> responseHeadersPolicyConfig)
A response headers policy configuration.UpdateResponseHeadersPolicyRequest.Builder
responseHeadersPolicyConfig(ResponseHeadersPolicyConfig responseHeadersPolicyConfig)
A response headers policy configuration.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.cloudfront.model.CloudFrontRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
responseHeadersPolicyConfig
UpdateResponseHeadersPolicyRequest.Builder responseHeadersPolicyConfig(ResponseHeadersPolicyConfig responseHeadersPolicyConfig)
A response headers policy configuration.
- Parameters:
responseHeadersPolicyConfig
- A response headers policy configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
responseHeadersPolicyConfig
default UpdateResponseHeadersPolicyRequest.Builder responseHeadersPolicyConfig(Consumer<ResponseHeadersPolicyConfig.Builder> responseHeadersPolicyConfig)
A response headers policy configuration.
This is a convenience method that creates an instance of theResponseHeadersPolicyConfig.Builder
avoiding the need to create one manually viaResponseHeadersPolicyConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresponseHeadersPolicyConfig(ResponseHeadersPolicyConfig)
.- Parameters:
responseHeadersPolicyConfig
- a consumer that will call methods onResponseHeadersPolicyConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
responseHeadersPolicyConfig(ResponseHeadersPolicyConfig)
-
id
UpdateResponseHeadersPolicyRequest.Builder id(String id)
The identifier for the response headers policy that you are updating.
- Parameters:
id
- The identifier for the response headers policy that you are updating.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ifMatch
UpdateResponseHeadersPolicyRequest.Builder ifMatch(String ifMatch)
The version of the response headers policy that you are updating.
The version is returned in the cache policy's
ETag
field in the response toGetResponseHeadersPolicyConfig
.- Parameters:
ifMatch
- The version of the response headers policy that you are updating.The version is returned in the cache policy's
ETag
field in the response toGetResponseHeadersPolicyConfig
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateResponseHeadersPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateResponseHeadersPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-