Interface AssociateDistributionWebAclRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudFrontRequest.Builder
,CopyableBuilder<AssociateDistributionWebAclRequest.Builder,
,AssociateDistributionWebAclRequest> SdkBuilder<AssociateDistributionWebAclRequest.Builder,
,AssociateDistributionWebAclRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
AssociateDistributionWebAclRequest
@Mutable
@NotThreadSafe
public static interface AssociateDistributionWebAclRequest.Builder
extends CloudFrontRequest.Builder, SdkPojo, CopyableBuilder<AssociateDistributionWebAclRequest.Builder,AssociateDistributionWebAclRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the distribution.The value of theETag
header that you received when retrieving the distribution that you're associating with the WAF web ACL.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The Amazon Resource Name (ARN) of the WAF web ACL to associate.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, sdkFieldNameToField, sdkFields
-
Method Details
-
id
The ID of the distribution.
- Parameters:
id
- The ID of the distribution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
webACLArn
The Amazon Resource Name (ARN) of the WAF web ACL to associate.
- Parameters:
webACLArn
- The Amazon Resource Name (ARN) of the WAF web ACL to associate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ifMatch
The value of the
ETag
header that you received when retrieving the distribution that you're associating with the WAF web ACL.- Parameters:
ifMatch
- The value of theETag
header that you received when retrieving the distribution that you're associating with the WAF web ACL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AssociateDistributionWebAclRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AssociateDistributionWebAclRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-