Interface UpgradeElasticsearchDomainResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpgradeElasticsearchDomainResponse.Builder,
,UpgradeElasticsearchDomainResponse> ElasticsearchResponse.Builder
,SdkBuilder<UpgradeElasticsearchDomainResponse.Builder,
,UpgradeElasticsearchDomainResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpgradeElasticsearchDomainResponse
public static interface UpgradeElasticsearchDomainResponse.Builder
extends ElasticsearchResponse.Builder, SdkPojo, CopyableBuilder<UpgradeElasticsearchDomainResponse.Builder,UpgradeElasticsearchDomainResponse>
-
Method Summary
Modifier and TypeMethodDescriptionchangeProgressDetails
(Consumer<ChangeProgressDetails.Builder> changeProgressDetails) Sets the value of the ChangeProgressDetails property for this object.changeProgressDetails
(ChangeProgressDetails changeProgressDetails) Sets the value of the ChangeProgressDetails property for this object.domainName
(String domainName) Sets the value of the DomainName property for this object.performCheckOnly
(Boolean performCheckOnly) This flag, when set to True, indicates that an Upgrade Eligibility Check needs to be performed.targetVersion
(String targetVersion) The version of Elasticsearch that you intend to upgrade the domain to.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
domainName
Sets the value of the DomainName property for this object.- Parameters:
domainName
- The new value for the DomainName property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetVersion
The version of Elasticsearch that you intend to upgrade the domain to.
- Parameters:
targetVersion
- The version of Elasticsearch that you intend to upgrade the domain to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
performCheckOnly
This flag, when set to True, indicates that an Upgrade Eligibility Check needs to be performed. This will not actually perform the Upgrade.
- Parameters:
performCheckOnly
- This flag, when set to True, indicates that an Upgrade Eligibility Check needs to be performed. This will not actually perform the Upgrade.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
changeProgressDetails
UpgradeElasticsearchDomainResponse.Builder changeProgressDetails(ChangeProgressDetails changeProgressDetails) Sets the value of the ChangeProgressDetails property for this object.- Parameters:
changeProgressDetails
- The new value for the ChangeProgressDetails property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
changeProgressDetails
default UpgradeElasticsearchDomainResponse.Builder changeProgressDetails(Consumer<ChangeProgressDetails.Builder> changeProgressDetails) Sets the value of the ChangeProgressDetails property for this object. This is a convenience method that creates an instance of theChangeProgressDetails.Builder
avoiding the need to create one manually viaChangeProgressDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tochangeProgressDetails(ChangeProgressDetails)
.- Parameters:
changeProgressDetails
- a consumer that will call methods onChangeProgressDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-