Interface CreateDomainResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateDomainResponse.Builder,
,CreateDomainResponse> SdkBuilder<CreateDomainResponse.Builder,
,CreateDomainResponse> SdkPojo
,SdkResponse.Builder
,VoiceIdResponse.Builder
- Enclosing class:
CreateDomainResponse
@Mutable
@NotThreadSafe
public static interface CreateDomainResponse.Builder
extends VoiceIdResponse.Builder, SdkPojo, CopyableBuilder<CreateDomainResponse.Builder,CreateDomainResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateDomainResponse.Builder
domain
(Consumer<Domain.Builder> domain) Information about the newly created domain.Information about the newly created domain.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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.voiceid.model.VoiceIdResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
domain
Information about the newly created domain.
- Parameters:
domain
- Information about the newly created domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domain
Information about the newly created domain.
This is a convenience method that creates an instance of theDomain.Builder
avoiding the need to create one manually viaDomain.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todomain(Domain)
.- Parameters:
domain
- a consumer that will call methods onDomain.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-