Interface UpdateDomainAssociationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudFrontRequest.Builder
,CopyableBuilder<UpdateDomainAssociationRequest.Builder,
,UpdateDomainAssociationRequest> SdkBuilder<UpdateDomainAssociationRequest.Builder,
,UpdateDomainAssociationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateDomainAssociationRequest
@Mutable
@NotThreadSafe
public static interface UpdateDomainAssociationRequest.Builder
extends CloudFrontRequest.Builder, SdkPojo, CopyableBuilder<UpdateDomainAssociationRequest.Builder,UpdateDomainAssociationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe domain to update.The value of theETag
identifier for the standard distribution or distribution tenant that will be associated with the domain.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.targetResource
(Consumer<DistributionResourceId.Builder> targetResource) The target standard distribution or distribution tenant resource for the domain.targetResource
(DistributionResourceId targetResource) The target standard distribution or distribution tenant resource for the domain.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
-
domain
The domain to update.
- Parameters:
domain
- The domain to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetResource
The target standard distribution or distribution tenant resource for the domain. You can specify either
DistributionId
orDistributionTenantId
, but not both.- Parameters:
targetResource
- The target standard distribution or distribution tenant resource for the domain. You can specify eitherDistributionId
orDistributionTenantId
, but not both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetResource
default UpdateDomainAssociationRequest.Builder targetResource(Consumer<DistributionResourceId.Builder> targetResource) The target standard distribution or distribution tenant resource for the domain. You can specify either
This is a convenience method that creates an instance of theDistributionId
orDistributionTenantId
, but not both.DistributionResourceId.Builder
avoiding the need to create one manually viaDistributionResourceId.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totargetResource(DistributionResourceId)
.- Parameters:
targetResource
- a consumer that will call methods onDistributionResourceId.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ifMatch
The value of the
ETag
identifier for the standard distribution or distribution tenant that will be associated with the domain.- Parameters:
ifMatch
- The value of theETag
identifier for the standard distribution or distribution tenant that will be associated with the domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateDomainAssociationRequest.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
UpdateDomainAssociationRequest.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.
-