public static class UpgradeOpenSearchClusterDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public UpgradeOpenSearchClusterDetails.Builder originalClusterDisplayName(String originalClusterDisplayName)
The display name of the original cluster. This is required to validate that the cluster ID has the same display name.
originalClusterDisplayName
- the value to setpublic UpgradeOpenSearchClusterDetails.Builder desiredSoftwareVersion(String desiredSoftwareVersion)
The software version the cluster is desired.
desiredSoftwareVersion
- the value to setpublic UpgradeOpenSearchClusterDetails.Builder upgradeType(UpgradeType upgradeType)
The upgrade type of cluster (major or minor).
upgradeType
- the value to setpublic UpgradeOpenSearchClusterDetails.Builder isClone(Boolean isClone)
The cluster would be cloned for true and updated for false with the provided version.
isClone
- the value to setpublic UpgradeOpenSearchClusterDetails.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope. Exists
for cross-compatibility only. Example: {"bar-key": "value"}
freeformTags
- the value to setpublic UpgradeOpenSearchClusterDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Example: {"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic UpgradeOpenSearchClusterDetails.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic UpgradeOpenSearchClusterDetails build()
public UpgradeOpenSearchClusterDetails.Builder copy(UpgradeOpenSearchClusterDetails model)
Copyright © 2016–2025. All rights reserved.