Interface UpgradeHistory.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<UpgradeHistory.Builder,,UpgradeHistory> SdkBuilder<UpgradeHistory.Builder,,UpgradeHistory> SdkPojo
- Enclosing class:
UpgradeHistory
-
Method Summary
Modifier and TypeMethodDescriptionstartTimestamp(Instant startTimestamp) UTC timestamp at which the upgrade API call was made, in the formatyyyy-MM-ddTHH:mm:ssZ.stepsList(Collection<UpgradeStepItem> stepsList) A list of each step performed as part of a specific upgrade or upgrade eligibility check.stepsList(Consumer<UpgradeStepItem.Builder>... stepsList) A list of each step performed as part of a specific upgrade or upgrade eligibility check.stepsList(UpgradeStepItem... stepsList) A list of each step performed as part of a specific upgrade or upgrade eligibility check.upgradeName(String upgradeName) A string that describes the upgrade.upgradeStatus(String upgradeStatus) The current status of the upgrade.upgradeStatus(UpgradeStatus upgradeStatus) The current status of the upgrade.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
upgradeName
A string that describes the upgrade.
- Parameters:
upgradeName- A string that describes the upgrade.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTimestamp
UTC timestamp at which the upgrade API call was made, in the format
yyyy-MM-ddTHH:mm:ssZ.- Parameters:
startTimestamp- UTC timestamp at which the upgrade API call was made, in the formatyyyy-MM-ddTHH:mm:ssZ.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
upgradeStatus
The current status of the upgrade. The status can take one of the following values:
-
In Progress
-
Succeeded
-
Succeeded with Issues
-
Failed
- Parameters:
upgradeStatus- The current status of the upgrade. The status can take one of the following values:-
In Progress
-
Succeeded
-
Succeeded with Issues
-
Failed
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
upgradeStatus
The current status of the upgrade. The status can take one of the following values:
-
In Progress
-
Succeeded
-
Succeeded with Issues
-
Failed
- Parameters:
upgradeStatus- The current status of the upgrade. The status can take one of the following values:-
In Progress
-
Succeeded
-
Succeeded with Issues
-
Failed
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
stepsList
A list of each step performed as part of a specific upgrade or upgrade eligibility check.
- Parameters:
stepsList- A list of each step performed as part of a specific upgrade or upgrade eligibility check.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stepsList
A list of each step performed as part of a specific upgrade or upgrade eligibility check.
- Parameters:
stepsList- A list of each step performed as part of a specific upgrade or upgrade eligibility check.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stepsList
A list of each step performed as part of a specific upgrade or upgrade eligibility check.
This is a convenience method that creates an instance of theUpgradeStepItem.Builderavoiding the need to create one manually viaUpgradeStepItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostepsList(List<UpgradeStepItem>).- Parameters:
stepsList- a consumer that will call methods onUpgradeStepItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-