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
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()One of 4 statuses that a step can go through returned as part of theGetUpgradeStatusResponseobject.StringstepStatusAsString()One of 4 statuses that a step can go through returned as part of theGetUpgradeStatusResponseobject.GetUpgradeStatusResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringupgradeName()A string that describes the update brieflyUpgradeStepupgradeStep()Represents one of 3 steps that an Upgrade or Upgrade Eligibility Check does through: PreUpgradeCheck Snapshot UpgradeStringupgradeStepAsString()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,
upgradeStepwill 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,
upgradeStepwill 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
GetUpgradeStatusResponseobject. 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,
stepStatuswill 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
GetUpgradeStatusResponseobject. 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
GetUpgradeStatusResponseobject. 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,
stepStatuswill 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
GetUpgradeStatusResponseobject. 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:
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
-
-