Interface CheckSubdomainAvailabilityRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CheckSubdomainAvailabilityRequest.Builder,,CheckSubdomainAvailabilityRequest> LightsailRequest.Builder,SdkBuilder<CheckSubdomainAvailabilityRequest.Builder,,CheckSubdomainAvailabilityRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CheckSubdomainAvailabilityRequest
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Specifies whether to reserve the subdomain for your account if it's available.subdomainName(String subdomainName) The subdomain to check (for example,mysiteorblog.mysite).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 check (for example,
mysiteorblog.mysite).A subdomain can contain one or two labels separated by a period (
.). Each label must start and end with a lowercase letter or a number, and can contain only lowercase letters, numbers, and hyphens (-). The name can be up to 39 characters long, including periods. Labels that start withxn--aren't supported, and some names are reserved.Specify only the subdomain. A web address, such as
mysite.amazonlightsail.com, isn't accepted.- Parameters:
subdomainName- The subdomain to check (for example,mysiteorblog.mysite).A subdomain can contain one or two labels separated by a period (
.). Each label must start and end with a lowercase letter or a number, and can contain only lowercase letters, numbers, and hyphens (-). The name can be up to 39 characters long, including periods. Labels that start withxn--aren't supported, and some names are reserved.Specify only the subdomain. A web address, such as
mysite.amazonlightsail.com, isn't accepted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reserve
Specifies whether to reserve the subdomain for your account if it's available. A reservation holds the subdomain for 15 minutes so that other accounts can't create it. Checking the subdomain again doesn't extend the reservation.
For a nested subdomain, such as
blog.mysite, the top-level subdomain (mysite) is reserved.You can have up to 5 active reservations at a time.
- Parameters:
reserve- Specifies whether to reserve the subdomain for your account if it's available. A reservation holds the subdomain for 15 minutes so that other accounts can't create it. Checking the subdomain again doesn't extend the reservation.For a nested subdomain, such as
blog.mysite, the top-level subdomain (mysite) is reserved.You can have up to 5 active reservations at a time.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CheckSubdomainAvailabilityRequest.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
CheckSubdomainAvailabilityRequest.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.
-