Interface CreateDomainResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudSearchResponse.Builder
,CopyableBuilder<CreateDomainResponse.Builder,
,CreateDomainResponse> SdkBuilder<CreateDomainResponse.Builder,
,CreateDomainResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateDomainResponse
@Mutable
@NotThreadSafe
public static interface CreateDomainResponse.Builder
extends CloudSearchResponse.Builder, SdkPojo, CopyableBuilder<CreateDomainResponse.Builder,CreateDomainResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateDomainResponse.Builder
domainStatus
(Consumer<DomainStatus.Builder> domainStatus) Sets the value of the DomainStatus property for this object.domainStatus
(DomainStatus domainStatus) Sets the value of the DomainStatus property for this object.Methods inherited from interface software.amazon.awssdk.services.cloudsearch.model.CloudSearchResponse.Builder
build, responseMetadata, responseMetadata
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
-
Method Details
-
domainStatus
Sets the value of the DomainStatus property for this object.- Parameters:
domainStatus
- The new value for the DomainStatus property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainStatus
Sets the value of the DomainStatus property for this object. This is a convenience method that creates an instance of theDomainStatus.Builder
avoiding the need to create one manually viaDomainStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todomainStatus(DomainStatus)
.- Parameters:
domainStatus
- a consumer that will call methods onDomainStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-