Class GetUpgradeStatusResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.opensearch.model.OpenSearchResponse
-
- software.amazon.awssdk.services.opensearch.model.GetUpgradeStatusResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetUpgradeStatusResponse.Builder,GetUpgradeStatusResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetUpgradeStatusResponse extends OpenSearchResponse implements ToCopyableBuilder<GetUpgradeStatusResponse.Builder,GetUpgradeStatusResponse>
Container for the response returned by the
GetUpgradeStatusoperation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetUpgradeStatusResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetUpgradeStatusResponse.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GetUpgradeStatusResponse.Builder>serializableBuilderClass()UpgradeStatusstepStatus()The status of the current step that an upgrade is on.StringstepStatusAsString()The status of the current step that an upgrade is on.GetUpgradeStatusResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringupgradeName()A string that describes the update.UpgradeStepupgradeStep()One of three steps that an upgrade or upgrade eligibility check goes through.StringupgradeStepAsString()One of three steps that an upgrade or upgrade eligibility check goes through.-
Methods inherited from class software.amazon.awssdk.services.opensearch.model.OpenSearchResponse
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()
One of three steps that an upgrade or upgrade eligibility check goes through.
If the service returns an enum value that is not available in the current SDK version,
upgradeStepwill returnUpgradeStep.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromupgradeStepAsString().- Returns:
- One of three steps that an upgrade or upgrade eligibility check goes through.
- See Also:
UpgradeStep
-
upgradeStepAsString
public final String upgradeStepAsString()
One of three steps that an upgrade or upgrade eligibility check goes through.
If the service returns an enum value that is not available in the current SDK version,
upgradeStepwill returnUpgradeStep.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromupgradeStepAsString().- Returns:
- One of three steps that an upgrade or upgrade eligibility check goes through.
- See Also:
UpgradeStep
-
stepStatus
public final UpgradeStatus stepStatus()
The status of the current step that an upgrade is on.
If the service returns an enum value that is not available in the current SDK version,
stepStatuswill returnUpgradeStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstepStatusAsString().- Returns:
- The status of the current step that an upgrade is on.
- See Also:
UpgradeStatus
-
stepStatusAsString
public final String stepStatusAsString()
The status of the current step that an upgrade is on.
If the service returns an enum value that is not available in the current SDK version,
stepStatuswill returnUpgradeStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstepStatusAsString().- Returns:
- The status of the current step that an upgrade is on.
- See Also:
UpgradeStatus
-
upgradeName
public final String upgradeName()
A string that describes the update.
- Returns:
- A string that describes the update.
-
toBuilder
public GetUpgradeStatusResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetUpgradeStatusResponse.Builder,GetUpgradeStatusResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetUpgradeStatusResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetUpgradeStatusResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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:
getValueForFieldin classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-