Interface GetDomainResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudWatchOmniResponse.Builder,CopyableBuilder<GetDomainResponse.Builder,,GetDomainResponse> SdkBuilder<GetDomainResponse.Builder,,GetDomainResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetDomainResponse
@Mutable
@NotThreadSafe
public static interface GetDomainResponse.Builder
extends CloudWatchOmniResponse.Builder, SdkPojo, CopyableBuilder<GetDomainResponse.Builder,GetDomainResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetDomainResponse.Builderdomain(Consumer<Domain.Builder> domain) The details of the domain.The details of the domain.Methods inherited from interface software.amazon.awssdk.services.cloudwatchomni.model.CloudWatchOmniResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkHttpResponse
-
Method Details
-
domain
The details of the domain.
- Parameters:
domain- The details of the domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domain
The details of the 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:
-