@Generated(value="software.amazon.awssdk:codegen") public final class ReplacePermissionAssociationsWork extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ReplacePermissionAssociationsWork.Builder,ReplacePermissionAssociationsWork>
A structure that represents the background work that RAM performs when you invoke the ReplacePermissionAssociations operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ReplacePermissionAssociationsWork.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ReplacePermissionAssociationsWork.Builder |
builder() |
Instant |
creationTime()
The date and time when this asynchronous background task was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
fromPermissionArn()
The Amazon Resource Name
(ARN) of the managed permission that this background task is replacing.
|
String |
fromPermissionVersion()
The version of the managed permission that this background task is replacing.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The unique identifier for the background task associated with one ReplacePermissionAssociations request.
|
Instant |
lastUpdatedTime()
The date and time when the status of this background task was last updated.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ReplacePermissionAssociationsWork.Builder> |
serializableBuilderClass() |
ReplacePermissionAssociationsWorkStatus |
status()
Specifies the current status of the background tasks for the specified ID.
|
String |
statusAsString()
Specifies the current status of the background tasks for the specified ID.
|
String |
statusMessage()
Specifies the reason for a
FAILED status. |
ReplacePermissionAssociationsWork.Builder |
toBuilder() |
String |
toPermissionArn()
The ARN of the managed permission that this background task is associating with the resource shares in place of
the managed permission and version specified in
fromPermissionArn and
fromPermissionVersion. |
String |
toPermissionVersion()
The version of the managed permission that this background task is associating with the resource shares.
|
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
The unique identifier for the background task associated with one ReplacePermissionAssociations request.
public final String fromPermissionArn()
The Amazon Resource Name (ARN) of the managed permission that this background task is replacing.
public final String fromPermissionVersion()
The version of the managed permission that this background task is replacing.
public final String toPermissionArn()
The ARN of the managed permission that this background task is associating with the resource shares in place of
the managed permission and version specified in fromPermissionArn and
fromPermissionVersion.
fromPermissionArn and
fromPermissionVersion.public final String toPermissionVersion()
The version of the managed permission that this background task is associating with the resource shares. This is always the version that is currently the default for this managed permission.
public final ReplacePermissionAssociationsWorkStatus status()
Specifies the current status of the background tasks for the specified ID. The output is one of the following strings:
IN_PROGRESS
COMPLETED
FAILED
If the service returns an enum value that is not available in the current SDK version, status will
return ReplacePermissionAssociationsWorkStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the
service is available from statusAsString().
IN_PROGRESS
COMPLETED
FAILED
ReplacePermissionAssociationsWorkStatuspublic final String statusAsString()
Specifies the current status of the background tasks for the specified ID. The output is one of the following strings:
IN_PROGRESS
COMPLETED
FAILED
If the service returns an enum value that is not available in the current SDK version, status will
return ReplacePermissionAssociationsWorkStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the
service is available from statusAsString().
IN_PROGRESS
COMPLETED
FAILED
ReplacePermissionAssociationsWorkStatuspublic final String statusMessage()
Specifies the reason for a FAILED status. This field is present only when there status
is FAILED.
FAILED status. This field is present only when there
status is FAILED.public final Instant creationTime()
The date and time when this asynchronous background task was created.
public final Instant lastUpdatedTime()
The date and time when the status of this background task was last updated.
public ReplacePermissionAssociationsWork.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ReplacePermissionAssociationsWork.Builder,ReplacePermissionAssociationsWork>public static ReplacePermissionAssociationsWork.Builder builder()
public static Class<? extends ReplacePermissionAssociationsWork.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.