Class GetUpgradeStatusResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.elasticsearch.model.ElasticsearchResponse
-
- software.amazon.awssdk.services.elasticsearch.model.GetUpgradeStatusResponse
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<GetUpgradeStatusResponse.Builder,GetUpgradeStatusResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetUpgradeStatusResponse extends ElasticsearchResponse implements ToCopyableBuilder<GetUpgradeStatusResponse.Builder,GetUpgradeStatusResponse>
Container for response returned by
GetUpgradeStatus
operation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
GetUpgradeStatusResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetUpgradeStatusResponse.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Map<String,SdkField<?>>
sdkFieldNameToField()
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 theGetUpgradeStatusResponse
object.String
stepStatusAsString()
One of 4 statuses that a step can go through returned as part of theGetUpgradeStatusResponse
object.GetUpgradeStatusResponse.Builder
toBuilder()
String
toString()
Returns a string representation of this object.String
upgradeName()
A string that describes the update brieflyUpgradeStep
upgradeStep()
Represents one of 3 steps that an Upgrade or Upgrade Eligibility Check does through: PreUpgradeCheck Snapshot UpgradeString
upgradeStepAsString()
Represents one of 3 steps that an Upgrade or Upgrade Eligibility Check does through: PreUpgradeCheck Snapshot Upgrade-
Methods inherited from class software.amazon.awssdk.services.elasticsearch.model.ElasticsearchResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
upgradeStep
public final UpgradeStep upgradeStep()
Represents one of 3 steps that an Upgrade or Upgrade Eligibility Check does through:
- PreUpgradeCheck
- Snapshot
- Upgrade
If the service returns an enum value that is not available in the current SDK version,
upgradeStep
will returnUpgradeStep.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromupgradeStepAsString()
.- Returns:
- Represents one of 3 steps that an Upgrade or Upgrade Eligibility Check does through:
- PreUpgradeCheck
- Snapshot
- Upgrade
- See Also:
UpgradeStep
-
upgradeStepAsString
public final String upgradeStepAsString()
Represents one of 3 steps that an Upgrade or Upgrade Eligibility Check does through:
- PreUpgradeCheck
- Snapshot
- Upgrade
If the service returns an enum value that is not available in the current SDK version,
upgradeStep
will returnUpgradeStep.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromupgradeStepAsString()
.- Returns:
- Represents one of 3 steps that an Upgrade or Upgrade Eligibility Check does through:
- PreUpgradeCheck
- Snapshot
- Upgrade
- See Also:
UpgradeStep
-
stepStatus
public 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:- In Progress
- Succeeded
- Succeeded with Issues
- Failed
If the service returns an enum value that is not available in the current SDK version,
stepStatus
will returnUpgradeStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstepStatusAsString()
.- Returns:
- 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:- In Progress
- Succeeded
- Succeeded with Issues
- Failed
- See Also:
UpgradeStatus
-
stepStatusAsString
public 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:- In Progress
- Succeeded
- Succeeded with Issues
- Failed
If the service returns an enum value that is not available in the current SDK version,
stepStatus
will returnUpgradeStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstepStatusAsString()
.- Returns:
- 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:- In Progress
- Succeeded
- Succeeded with Issues
- Failed
- See Also:
UpgradeStatus
-
upgradeName
public final String upgradeName()
A string that describes the update briefly
- Returns:
- A string that describes the update briefly
-
toBuilder
public GetUpgradeStatusResponse.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<GetUpgradeStatusResponse.Builder,GetUpgradeStatusResponse>
- Specified by:
toBuilder
in classAwsResponse
-
builder
public static GetUpgradeStatusResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetUpgradeStatusResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForField
in classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-