Class SelfUpgradeRequestDetail
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SelfUpgradeRequestDetail.Builder,SelfUpgradeRequestDetail>
Details of a self-upgrade request.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final LongThe time when the self-upgrade request was created.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final LongThe time of the last update attempt for the self-upgrade request.final StringThe reason for the last update failure, if applicable.final UserRoleThe original role of the user before the upgrade.final StringThe original role of the user before the upgrade.final UserRoleThe role that the user is requesting to upgrade to.final StringThe role that the user is requesting to upgrade to.final StringAn optional note explaining the reason for the self-upgrade request.final SelfUpgradeRequestStatusThe status of the self-upgrade request.final StringThe status of the self-upgrade request.static Class<? extends SelfUpgradeRequestDetail.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final StringThe ID of the self-upgrade request.final StringuserName()The username of the user who initiated the self-upgrade request.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
upgradeRequestId
The ID of the self-upgrade request.
- Returns:
- The ID of the self-upgrade request.
-
userName
The username of the user who initiated the self-upgrade request.
- Returns:
- The username of the user who initiated the self-upgrade request.
-
originalRole
The original role of the user before the upgrade.
If the service returns an enum value that is not available in the current SDK version,
originalRolewill returnUserRole.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoriginalRoleAsString().- Returns:
- The original role of the user before the upgrade.
- See Also:
-
originalRoleAsString
The original role of the user before the upgrade.
If the service returns an enum value that is not available in the current SDK version,
originalRolewill returnUserRole.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoriginalRoleAsString().- Returns:
- The original role of the user before the upgrade.
- See Also:
-
requestedRole
The role that the user is requesting to upgrade to.
If the service returns an enum value that is not available in the current SDK version,
requestedRolewill returnUserRole.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrequestedRoleAsString().- Returns:
- The role that the user is requesting to upgrade to.
- See Also:
-
requestedRoleAsString
The role that the user is requesting to upgrade to.
If the service returns an enum value that is not available in the current SDK version,
requestedRolewill returnUserRole.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrequestedRoleAsString().- Returns:
- The role that the user is requesting to upgrade to.
- See Also:
-
requestNote
An optional note explaining the reason for the self-upgrade request.
- Returns:
- An optional note explaining the reason for the self-upgrade request.
-
creationTime
The time when the self-upgrade request was created.
- Returns:
- The time when the self-upgrade request was created.
-
requestStatus
The status of the self-upgrade request.
If the service returns an enum value that is not available in the current SDK version,
requestStatuswill returnSelfUpgradeRequestStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrequestStatusAsString().- Returns:
- The status of the self-upgrade request.
- See Also:
-
requestStatusAsString
The status of the self-upgrade request.
If the service returns an enum value that is not available in the current SDK version,
requestStatuswill returnSelfUpgradeRequestStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrequestStatusAsString().- Returns:
- The status of the self-upgrade request.
- See Also:
-
lastUpdateAttemptTime
The time of the last update attempt for the self-upgrade request.
- Returns:
- The time of the last update attempt for the self-upgrade request.
-
lastUpdateFailureReason
The reason for the last update failure, if applicable.
- Returns:
- The reason for the last update failure, if applicable.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<SelfUpgradeRequestDetail.Builder,SelfUpgradeRequestDetail> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-