Interface AssociateAliasRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudFrontRequest.Builder
,CopyableBuilder<AssociateAliasRequest.Builder,
,AssociateAliasRequest> SdkBuilder<AssociateAliasRequest.Builder,
,AssociateAliasRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
AssociateAliasRequest
public static interface AssociateAliasRequest.Builder
extends CloudFrontRequest.Builder, SdkPojo, CopyableBuilder<AssociateAliasRequest.Builder,AssociateAliasRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe alias (also known as a CNAME) to add to the target distribution.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.targetDistributionId
(String targetDistributionId) The ID of the distribution that you're associating the alias with.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 Details
-
targetDistributionId
The ID of the distribution that you're associating the alias with.
- Parameters:
targetDistributionId
- The ID of the distribution that you're associating the alias with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alias
The alias (also known as a CNAME) to add to the target distribution.
- Parameters:
alias
- The alias (also known as a CNAME) to add to the target distribution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AssociateAliasRequest.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
AssociateAliasRequest.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.
-