@Generated(value="software.amazon.awssdk:codegen") public final class UpgradeStepItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<UpgradeStepItem.Builder,UpgradeStepItem>
Represents a single step of an upgrade or upgrade eligibility check workflow.
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpgradeStepItem.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpgradeStepItem.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasIssues()
For responses, this returns true if the service returned a value for the Issues property.
|
List<String> |
issues()
A list of strings containing detailed information about the errors encountered in a particular step.
|
Double |
progressPercent()
The floating point value representing the progress percentage of a particular step.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpgradeStepItem.Builder> |
serializableBuilderClass() |
UpgradeStepItem.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
UpgradeStep |
upgradeStep()
One of three steps that an upgrade or upgrade eligibility check goes through:
|
String |
upgradeStepAsString()
One of three steps that an upgrade or upgrade eligibility check goes through:
|
UpgradeStatus |
upgradeStepStatus()
The current status of the upgrade.
|
String |
upgradeStepStatusAsString()
The current status of the upgrade.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final UpgradeStep upgradeStep()
One of three steps that an upgrade or upgrade eligibility check goes through:
PreUpgradeCheck
Snapshot
Upgrade
If the service returns an enum value that is not available in the current SDK version, upgradeStep will
return UpgradeStep.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
upgradeStepAsString().
PreUpgradeCheck
Snapshot
Upgrade
UpgradeSteppublic final String upgradeStepAsString()
One of three steps that an upgrade or upgrade eligibility check goes through:
PreUpgradeCheck
Snapshot
Upgrade
If the service returns an enum value that is not available in the current SDK version, upgradeStep will
return UpgradeStep.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
upgradeStepAsString().
PreUpgradeCheck
Snapshot
Upgrade
UpgradeSteppublic final UpgradeStatus upgradeStepStatus()
The current status of the upgrade. The status can take one of the following values:
In Progress
Succeeded
Succeeded with Issues
Failed
If the service returns an enum value that is not available in the current SDK version, upgradeStepStatus
will return UpgradeStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
upgradeStepStatusAsString().
In Progress
Succeeded
Succeeded with Issues
Failed
UpgradeStatuspublic final String upgradeStepStatusAsString()
The current status of the upgrade. The status can take one of the following values:
In Progress
Succeeded
Succeeded with Issues
Failed
If the service returns an enum value that is not available in the current SDK version, upgradeStepStatus
will return UpgradeStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
upgradeStepStatusAsString().
In Progress
Succeeded
Succeeded with Issues
Failed
UpgradeStatuspublic final boolean hasIssues()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<String> issues()
A list of strings containing detailed information about the errors encountered in a particular step.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasIssues() method.
public final Double progressPercent()
The floating point value representing the progress percentage of a particular step.
public UpgradeStepItem.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpgradeStepItem.Builder,UpgradeStepItem>public static UpgradeStepItem.Builder builder()
public static Class<? extends UpgradeStepItem.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.