Interface CreateDomainEntryRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateDomainEntryRequest.Builder,,CreateDomainEntryRequest> LightsailRequest.Builder,SdkBuilder<CreateDomainEntryRequest.Builder,,CreateDomainEntryRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateDomainEntryRequest
public static interface CreateDomainEntryRequest.Builder
extends LightsailRequest.Builder, SdkPojo, CopyableBuilder<CreateDomainEntryRequest.Builder,CreateDomainEntryRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateDomainEntryRequest.BuilderdomainEntry(Consumer<DomainEntry.Builder> domainEntry) An array of key-value pairs containing information about the domain entry request.domainEntry(DomainEntry domainEntry) An array of key-value pairs containing information about the domain entry request.domainName(String domainName) The domain name (example.com) for which you want to create the domain entry.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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, sdkFields
-
Method Details
-
domainName
The domain name (
example.com) for which you want to create the domain entry.- Parameters:
domainName- The domain name (example.com) for which you want to create the domain entry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainEntry
An array of key-value pairs containing information about the domain entry request.
- Parameters:
domainEntry- An array of key-value pairs containing information about the domain entry request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainEntry
An array of key-value pairs containing information about the domain entry request.
This is a convenience method that creates an instance of theDomainEntry.Builderavoiding the need to create one manually viaDomainEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todomainEntry(DomainEntry).- Parameters:
domainEntry- a consumer that will call methods onDomainEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateDomainEntryRequest.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
CreateDomainEntryRequest.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.
-