@Generated(value="software.amazon.awssdk:codegen") public final class UpgradeStepItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<UpgradeStepItem.Builder,UpgradeStepItem>
Represents a single step of the 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 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()
Represents one of 3 steps that an Upgrade or Upgrade Eligibility Check does through:
PreUpgradeCheck
Snapshot
Upgrade
|
String |
upgradeStepAsString()
Represents one of 3 steps that an Upgrade or Upgrade Eligibility Check does through:
PreUpgradeCheck
Snapshot
Upgrade
|
UpgradeStatus |
upgradeStepStatus()
The status of a particular step during an upgrade.
|
String |
upgradeStepStatusAsString()
The status of a particular step during an upgrade.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final UpgradeStep upgradeStep()
Represents one of 3 steps that an Upgrade or Upgrade Eligibility Check does through:
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().
UpgradeSteppublic final String upgradeStepAsString()
Represents one of 3 steps that an Upgrade or Upgrade Eligibility Check does through:
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().
UpgradeSteppublic final UpgradeStatus upgradeStepStatus()
The status of a particular step during an upgrade. The status can take one of the following values:
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().
UpgradeStatuspublic final String upgradeStepStatusAsString()
The status of a particular step during an upgrade. The status can take one of the following values:
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().
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 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 © 2023. All rights reserved.