Interface CancelDomainConfigChangeResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CancelDomainConfigChangeResponse.Builder,
,CancelDomainConfigChangeResponse> ElasticsearchResponse.Builder
,SdkBuilder<CancelDomainConfigChangeResponse.Builder,
,CancelDomainConfigChangeResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CancelDomainConfigChangeResponse
@Mutable
@NotThreadSafe
public static interface CancelDomainConfigChangeResponse.Builder
extends ElasticsearchResponse.Builder, SdkPojo, CopyableBuilder<CancelDomainConfigChangeResponse.Builder,CancelDomainConfigChangeResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncancelledChangeIds
(String... cancelledChangeIds) The unique identifiers of the changes that were cancelled.cancelledChangeIds
(Collection<String> cancelledChangeIds) The unique identifiers of the changes that were cancelled.cancelledChangeProperties
(Collection<CancelledChangeProperty> cancelledChangeProperties) The domain change properties that were cancelled.cancelledChangeProperties
(Consumer<CancelledChangeProperty.Builder>... cancelledChangeProperties) The domain change properties that were cancelled.cancelledChangeProperties
(CancelledChangeProperty... cancelledChangeProperties) The domain change properties that were cancelled.Whether or not the request was a dry run.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.elasticsearch.model.ElasticsearchResponse.Builder
build, responseMetadata, responseMetadata
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
-
dryRun
Whether or not the request was a dry run. If True, the changes were not actually cancelled.
- Parameters:
dryRun
- Whether or not the request was a dry run. If True, the changes were not actually cancelled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cancelledChangeIds
The unique identifiers of the changes that were cancelled.
- Parameters:
cancelledChangeIds
- The unique identifiers of the changes that were cancelled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cancelledChangeIds
The unique identifiers of the changes that were cancelled.
- Parameters:
cancelledChangeIds
- The unique identifiers of the changes that were cancelled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cancelledChangeProperties
CancelDomainConfigChangeResponse.Builder cancelledChangeProperties(Collection<CancelledChangeProperty> cancelledChangeProperties) The domain change properties that were cancelled.
- Parameters:
cancelledChangeProperties
- The domain change properties that were cancelled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cancelledChangeProperties
CancelDomainConfigChangeResponse.Builder cancelledChangeProperties(CancelledChangeProperty... cancelledChangeProperties) The domain change properties that were cancelled.
- Parameters:
cancelledChangeProperties
- The domain change properties that were cancelled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cancelledChangeProperties
CancelDomainConfigChangeResponse.Builder cancelledChangeProperties(Consumer<CancelledChangeProperty.Builder>... cancelledChangeProperties) The domain change properties that were cancelled.
This is a convenience method that creates an instance of theCancelledChangeProperty.Builder
avoiding the need to create one manually viaCancelledChangeProperty.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocancelledChangeProperties(List<CancelledChangeProperty>)
.- Parameters:
cancelledChangeProperties
- a consumer that will call methods onCancelledChangeProperty.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-