@Generated(value="software.amazon.awssdk:codegen") public final class GetUpgradeStatusResponse extends ElasticsearchResponse implements ToCopyableBuilder<GetUpgradeStatusResponse.Builder,GetUpgradeStatusResponse>
Container for response returned by GetUpgradeStatus operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetUpgradeStatusResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetUpgradeStatusResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetUpgradeStatusResponse.Builder> |
serializableBuilderClass() |
UpgradeStatus |
stepStatus()
One of 4 statuses that a step can go through returned as part of the
GetUpgradeStatusResponse object. |
String |
stepStatusAsString()
One of 4 statuses that a step can go through returned as part of the
GetUpgradeStatusResponse object. |
GetUpgradeStatusResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
upgradeName()
A string that describes the update briefly
|
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
|
responseMetadatasdkHttpResponseclone, 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 stepStatus()
One of 4 statuses that a step can go through returned as part of the
GetUpgradeStatusResponse object. 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, stepStatus will
return UpgradeStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stepStatusAsString().
GetUpgradeStatusResponse object. The status can take one of the following values:
UpgradeStatuspublic final String stepStatusAsString()
One of 4 statuses that a step can go through returned as part of the
GetUpgradeStatusResponse object. 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, stepStatus will
return UpgradeStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stepStatusAsString().
GetUpgradeStatusResponse object. The status can take one of the following values:
UpgradeStatuspublic final String upgradeName()
A string that describes the update briefly
public GetUpgradeStatusResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetUpgradeStatusResponse.Builder,GetUpgradeStatusResponse>toBuilder in class AwsResponsepublic static GetUpgradeStatusResponse.Builder builder()
public static Class<? extends GetUpgradeStatusResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.