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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateDomainAssociationRequest.Builderdomain(String domain)The domain to update.UpdateDomainAssociationRequest.BuilderifMatch(String ifMatch)The value of theETagidentifier for the standard distribution or distribution tenant that will be associated with the domain.UpdateDomainAssociationRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateDomainAssociationRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default UpdateDomainAssociationRequest.BuildertargetResource(Consumer<DistributionResourceId.Builder> targetResource)The target standard distribution or distribution tenant resource for the domain.UpdateDomainAssociationRequest.BuildertargetResource(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 Detail
-
domain
UpdateDomainAssociationRequest.Builder domain(String 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
UpdateDomainAssociationRequest.Builder targetResource(DistributionResourceId 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:
targetResource(DistributionResourceId)
-
ifMatch
UpdateDomainAssociationRequest.Builder ifMatch(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateDomainAssociationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-