Interface UpdateSubdomainAssociationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateSubdomainAssociationRequest.Builder,,UpdateSubdomainAssociationRequest> LightsailRequest.Builder,SdkBuilder<UpdateSubdomainAssociationRequest.Builder,,UpdateSubdomainAssociationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateSubdomainAssociationRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe association change to make.action(SubdomainAssociationAction action) The association change to make.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.subdomainName(String subdomainName) The subdomain to update (for example,mysiteorblog.mysite), not its web address.targetResourceArn(String targetResourceArn) The Amazon Resource Name (ARN) of the resource to associate the subdomain with.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lightsail.model.LightsailRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
subdomainName
The subdomain to update (for example,
mysiteorblog.mysite), not its web address.- Parameters:
subdomainName- The subdomain to update (for example,mysiteorblog.mysite), not its web address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
action
The association change to make.
The following actions are possible:
-
ASSOCIATE– Associates the subdomain with the resource that you specify in thetargetResourceArnparameter. The subdomain must be in theUNATTACHEDstate. -
DISASSOCIATE– Disassociates the subdomain from its current resource. The subdomain must be in theATTACHEDstate. -
TRANSFER– Moves the subdomain from its current resource to the resource that you specify in thetargetResourceArnparameter. The subdomain must be in theATTACHEDstate. You can transfer each subdomain only once in a 24-hour period.
- Parameters:
action- The association change to make.The following actions are possible:
-
ASSOCIATE– Associates the subdomain with the resource that you specify in thetargetResourceArnparameter. The subdomain must be in theUNATTACHEDstate. -
DISASSOCIATE– Disassociates the subdomain from its current resource. The subdomain must be in theATTACHEDstate. -
TRANSFER– Moves the subdomain from its current resource to the resource that you specify in thetargetResourceArnparameter. The subdomain must be in theATTACHEDstate. You can transfer each subdomain only once in a 24-hour period.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
action
The association change to make.
The following actions are possible:
-
ASSOCIATE– Associates the subdomain with the resource that you specify in thetargetResourceArnparameter. The subdomain must be in theUNATTACHEDstate. -
DISASSOCIATE– Disassociates the subdomain from its current resource. The subdomain must be in theATTACHEDstate. -
TRANSFER– Moves the subdomain from its current resource to the resource that you specify in thetargetResourceArnparameter. The subdomain must be in theATTACHEDstate. You can transfer each subdomain only once in a 24-hour period.
- Parameters:
action- The association change to make.The following actions are possible:
-
ASSOCIATE– Associates the subdomain with the resource that you specify in thetargetResourceArnparameter. The subdomain must be in theUNATTACHEDstate. -
DISASSOCIATE– Disassociates the subdomain from its current resource. The subdomain must be in theATTACHEDstate. -
TRANSFER– Moves the subdomain from its current resource to the resource that you specify in thetargetResourceArnparameter. The subdomain must be in theATTACHEDstate. You can transfer each subdomain only once in a 24-hour period.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
targetResourceArn
The Amazon Resource Name (ARN) of the resource to associate the subdomain with. The resource must be in your account.
This parameter is required when the
actionisASSOCIATEorTRANSFER. It's ignored when theactionisDISASSOCIATE.- Parameters:
targetResourceArn- The Amazon Resource Name (ARN) of the resource to associate the subdomain with. The resource must be in your account.This parameter is required when the
actionisASSOCIATEorTRANSFER. It's ignored when theactionisDISASSOCIATE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateSubdomainAssociationRequest.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
UpdateSubdomainAssociationRequest.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.
-