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.Builderdomain(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods 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.Builderavoiding the need to create one manually viaDomain.builder().When the
Consumercompletes,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:
-