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 "yyyy-MM-ddTHH:mm:ssZ" format.stepsList
(Collection<UpgradeStepItem> stepsList) A list ofUpgradeStepItem
s representing information about each step performed as pard of a specific Upgrade or Upgrade Eligibility Check.stepsList
(Consumer<UpgradeStepItem.Builder>... stepsList) A list ofUpgradeStepItem
s representing information about each step performed as pard of a specific Upgrade or Upgrade Eligibility Check.stepsList
(UpgradeStepItem... stepsList) A list ofUpgradeStepItem
s representing information about each step performed as pard of a specific Upgrade or Upgrade Eligibility Check.upgradeName
(String upgradeName) A string that describes the update brieflyupgradeStatus
(String upgradeStatus) The overall status of the update.upgradeStatus
(UpgradeStatus upgradeStatus) The overall status of the update.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
upgradeName
A string that describes the update briefly
- Parameters:
upgradeName
- A string that describes the update briefly- 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 "yyyy-MM-ddTHH:mm:ssZ" format.
- Parameters:
startTimestamp
- UTC Timestamp at which the Upgrade API call was made in "yyyy-MM-ddTHH:mm:ssZ" format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
upgradeStatus
The overall status of the update. The status can take one of the following values:
- In Progress
- Succeeded
- Succeeded with Issues
- Failed
- Parameters:
upgradeStatus
- The overall status of the update. 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 overall status of the update. The status can take one of the following values:
- In Progress
- Succeeded
- Succeeded with Issues
- Failed
- Parameters:
upgradeStatus
- The overall status of the update. 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
UpgradeStepItem
s representing information about each step performed as pard of a specific Upgrade or Upgrade Eligibility Check.- Parameters:
stepsList
- A list ofUpgradeStepItem
s representing information about each step performed as pard 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
UpgradeStepItem
s representing information about each step performed as pard of a specific Upgrade or Upgrade Eligibility Check.- Parameters:
stepsList
- A list ofUpgradeStepItem
s representing information about each step performed as pard 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
This is a convenience method that creates an instance of theUpgradeStepItem
s representing information about each step performed as pard of a specific Upgrade or Upgrade Eligibility Check.UpgradeStepItem.Builder
avoiding the need to create one manually viaUpgradeStepItem.builder()
.When the
Consumer
completes,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:
-