@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReplacePermissionAssociationsWork extends Object implements Serializable, Cloneable, StructuredPojo
A structure that represents the background work that RAM performs when you invoke the ReplacePermissionAssociations operation.
Constructor and Description |
---|
ReplacePermissionAssociationsWork() |
Modifier and Type | Method and Description |
---|---|
ReplacePermissionAssociationsWork |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationTime()
The date and time when this asynchronous background task was created.
|
String |
getFromPermissionArn()
The Amazon Resource Name
(ARN) of the managed permission that this background task is replacing.
|
String |
getFromPermissionVersion()
The version of the managed permission that this background task is replacing.
|
String |
getId()
The unique identifier for the background task associated with one ReplacePermissionAssociations request.
|
Date |
getLastUpdatedTime()
The date and time when the status of this background task was last updated.
|
String |
getStatus()
Specifies the current status of the background tasks for the specified ID.
|
String |
getStatusMessage()
Specifies the reason for a
FAILED status. |
String |
getToPermissionArn()
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 |
getToPermissionVersion()
The version of the managed permission that this background task is associating with the resource shares.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreationTime(Date creationTime)
The date and time when this asynchronous background task was created.
|
void |
setFromPermissionArn(String fromPermissionArn)
The Amazon Resource Name
(ARN) of the managed permission that this background task is replacing.
|
void |
setFromPermissionVersion(String fromPermissionVersion)
The version of the managed permission that this background task is replacing.
|
void |
setId(String id)
The unique identifier for the background task associated with one ReplacePermissionAssociations request.
|
void |
setLastUpdatedTime(Date lastUpdatedTime)
The date and time when the status of this background task was last updated.
|
void |
setStatus(String status)
Specifies the current status of the background tasks for the specified ID.
|
void |
setStatusMessage(String statusMessage)
Specifies the reason for a
FAILED status. |
void |
setToPermissionArn(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 . |
void |
setToPermissionVersion(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.
|
ReplacePermissionAssociationsWork |
withCreationTime(Date creationTime)
The date and time when this asynchronous background task was created.
|
ReplacePermissionAssociationsWork |
withFromPermissionArn(String fromPermissionArn)
The Amazon Resource Name
(ARN) of the managed permission that this background task is replacing.
|
ReplacePermissionAssociationsWork |
withFromPermissionVersion(String fromPermissionVersion)
The version of the managed permission that this background task is replacing.
|
ReplacePermissionAssociationsWork |
withId(String id)
The unique identifier for the background task associated with one ReplacePermissionAssociations request.
|
ReplacePermissionAssociationsWork |
withLastUpdatedTime(Date lastUpdatedTime)
The date and time when the status of this background task was last updated.
|
ReplacePermissionAssociationsWork |
withStatus(ReplacePermissionAssociationsWorkStatus status)
Specifies the current status of the background tasks for the specified ID.
|
ReplacePermissionAssociationsWork |
withStatus(String status)
Specifies the current status of the background tasks for the specified ID.
|
ReplacePermissionAssociationsWork |
withStatusMessage(String statusMessage)
Specifies the reason for a
FAILED status. |
ReplacePermissionAssociationsWork |
withToPermissionArn(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 . |
ReplacePermissionAssociationsWork |
withToPermissionVersion(String toPermissionVersion)
The version of the managed permission that this background task is associating with the resource shares.
|
public void setId(String id)
The unique identifier for the background task associated with one ReplacePermissionAssociations request.
id
- The unique identifier for the background task associated with one ReplacePermissionAssociations
request.public String getId()
The unique identifier for the background task associated with one ReplacePermissionAssociations request.
public ReplacePermissionAssociationsWork withId(String id)
The unique identifier for the background task associated with one ReplacePermissionAssociations request.
id
- The unique identifier for the background task associated with one ReplacePermissionAssociations
request.public void setFromPermissionArn(String fromPermissionArn)
The Amazon Resource Name (ARN) of the managed permission that this background task is replacing.
fromPermissionArn
- The Amazon Resource
Name (ARN) of the managed permission that this background task is replacing.public String getFromPermissionArn()
The Amazon Resource Name (ARN) of the managed permission that this background task is replacing.
public ReplacePermissionAssociationsWork withFromPermissionArn(String fromPermissionArn)
The Amazon Resource Name (ARN) of the managed permission that this background task is replacing.
fromPermissionArn
- The Amazon Resource
Name (ARN) of the managed permission that this background task is replacing.public void setFromPermissionVersion(String fromPermissionVersion)
The version of the managed permission that this background task is replacing.
fromPermissionVersion
- The version of the managed permission that this background task is replacing.public String getFromPermissionVersion()
The version of the managed permission that this background task is replacing.
public ReplacePermissionAssociationsWork withFromPermissionVersion(String fromPermissionVersion)
The version of the managed permission that this background task is replacing.
fromPermissionVersion
- The version of the managed permission that this background task is replacing.public void setToPermissionArn(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
.
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
.public String getToPermissionArn()
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 ReplacePermissionAssociationsWork withToPermissionArn(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
.
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
.public void setToPermissionVersion(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.
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 String getToPermissionVersion()
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 ReplacePermissionAssociationsWork withToPermissionVersion(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.
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 void setStatus(String 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
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
ReplacePermissionAssociationsWorkStatus
public String getStatus()
Specifies the current status of the background tasks for the specified ID. The output is one of the following strings:
IN_PROGRESS
COMPLETED
FAILED
IN_PROGRESS
COMPLETED
FAILED
ReplacePermissionAssociationsWorkStatus
public ReplacePermissionAssociationsWork withStatus(String 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
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
ReplacePermissionAssociationsWorkStatus
public ReplacePermissionAssociationsWork withStatus(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
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
ReplacePermissionAssociationsWorkStatus
public void setStatusMessage(String statusMessage)
Specifies the reason for a FAILED
status. This field is present only when there status
is FAILED
.
statusMessage
- Specifies the reason for a FAILED
status. This field is present only when there
status
is FAILED
.public String getStatusMessage()
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 ReplacePermissionAssociationsWork withStatusMessage(String statusMessage)
Specifies the reason for a FAILED
status. This field is present only when there status
is FAILED
.
statusMessage
- Specifies the reason for a FAILED
status. This field is present only when there
status
is FAILED
.public void setCreationTime(Date creationTime)
The date and time when this asynchronous background task was created.
creationTime
- The date and time when this asynchronous background task was created.public Date getCreationTime()
The date and time when this asynchronous background task was created.
public ReplacePermissionAssociationsWork withCreationTime(Date creationTime)
The date and time when this asynchronous background task was created.
creationTime
- The date and time when this asynchronous background task was created.public void setLastUpdatedTime(Date lastUpdatedTime)
The date and time when the status of this background task was last updated.
lastUpdatedTime
- The date and time when the status of this background task was last updated.public Date getLastUpdatedTime()
The date and time when the status of this background task was last updated.
public ReplacePermissionAssociationsWork withLastUpdatedTime(Date lastUpdatedTime)
The date and time when the status of this background task was last updated.
lastUpdatedTime
- The date and time when the status of this background task was last updated.public String toString()
toString
in class Object
Object.toString()
public ReplacePermissionAssociationsWork clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.