Interface UpgradeDomainResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpgradeDomainResponse.Builder,
,UpgradeDomainResponse> OpenSearchResponse.Builder
,SdkBuilder<UpgradeDomainResponse.Builder,
,UpgradeDomainResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpgradeDomainResponse
public static interface UpgradeDomainResponse.Builder
extends OpenSearchResponse.Builder, SdkPojo, CopyableBuilder<UpgradeDomainResponse.Builder,UpgradeDomainResponse>
-
Method Summary
Modifier and TypeMethodDescriptionadvancedOptions
(Map<String, String> advancedOptions) The advanced options configuration for the domain.default UpgradeDomainResponse.Builder
changeProgressDetails
(Consumer<ChangeProgressDetails.Builder> changeProgressDetails) Container for information about a configuration change happening on a domain.changeProgressDetails
(ChangeProgressDetails changeProgressDetails) Container for information about a configuration change happening on a domain.domainName
(String domainName) The name of the domain that was upgraded.performCheckOnly
(Boolean performCheckOnly) When true, indicates that an upgrade eligibility check was performed.targetVersion
(String targetVersion) OpenSearch or Elasticsearch version that the domain was upgraded to.The unique identifier of the domain upgrade.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.opensearch.model.OpenSearchResponse.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
-
upgradeId
The unique identifier of the domain upgrade.
- Parameters:
upgradeId
- The unique identifier of the domain upgrade.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainName
The name of the domain that was upgraded.
- Parameters:
domainName
- The name of the domain that was upgraded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetVersion
OpenSearch or Elasticsearch version that the domain was upgraded to.
- Parameters:
targetVersion
- OpenSearch or Elasticsearch version that the domain was upgraded to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
performCheckOnly
When true, indicates that an upgrade eligibility check was performed.
- Parameters:
performCheckOnly
- When true, indicates that an upgrade eligibility check was performed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
advancedOptions
The advanced options configuration for the domain.
- Parameters:
advancedOptions
- The advanced options configuration for the domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
changeProgressDetails
Container for information about a configuration change happening on a domain.
- Parameters:
changeProgressDetails
- Container for information about a configuration change happening on a domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
changeProgressDetails
default UpgradeDomainResponse.Builder changeProgressDetails(Consumer<ChangeProgressDetails.Builder> changeProgressDetails) Container for information about a configuration change happening on a domain.
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:
-