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 theETagidentifier 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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudfront.model.CloudFrontRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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
DistributionIdorDistributionTenantId, but not both.- Parameters:
targetResource- The target standard distribution or distribution tenant resource for the domain. You can specify eitherDistributionIdorDistributionTenantId, 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 theDistributionIdorDistributionTenantId, but not both.DistributionResourceId.Builderavoiding the need to create one manually viaDistributionResourceId.builder().When the
Consumercompletes,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
ETagidentifier for the standard distribution or distribution tenant that will be associated with the domain.- Parameters:
ifMatch- The value of theETagidentifier 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-