Interface ReplacePermissionAssociationsWork.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ReplacePermissionAssociationsWork.Builder,
,ReplacePermissionAssociationsWork> SdkBuilder<ReplacePermissionAssociationsWork.Builder,
,ReplacePermissionAssociationsWork> SdkPojo
- Enclosing class:
ReplacePermissionAssociationsWork
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime
(Instant creationTime) The date and time when this asynchronous background task was created.fromPermissionArn
(String fromPermissionArn) The Amazon Resource Name (ARN) of the managed permission that this background task is replacing.fromPermissionVersion
(String fromPermissionVersion) The version of the managed permission that this background task is replacing.The unique identifier for the background task associated with one ReplacePermissionAssociations request.lastUpdatedTime
(Instant lastUpdatedTime) The date and time when the status of this background task was last updated.Specifies the current status of the background tasks for the specified ID.Specifies the current status of the background tasks for the specified ID.statusMessage
(String statusMessage) Specifies the reason for aFAILED
status.toPermissionArn
(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 infromPermissionArn
andfromPermissionVersion
.toPermissionVersion
(String toPermissionVersion) The version of the managed permission that this background task is associating with the resource shares.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
id
The unique identifier for the background task associated with one ReplacePermissionAssociations request.
- Parameters:
id
- The unique identifier for the background task associated with one ReplacePermissionAssociations request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fromPermissionArn
The Amazon Resource Name (ARN) of the managed permission that this background task is replacing.
- Parameters:
fromPermissionArn
- The Amazon Resource Name (ARN) of the managed permission that this background task is replacing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fromPermissionVersion
The version of the managed permission that this background task is replacing.
- Parameters:
fromPermissionVersion
- The version of the managed permission that this background task is replacing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
andfromPermissionVersion
.- Parameters:
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 infromPermissionArn
andfromPermissionVersion
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
- Parameters:
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
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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
- Parameters:
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
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
statusMessage
Specifies the reason for a
FAILED
status. This field is present only when therestatus
isFAILED
.- Parameters:
statusMessage
- Specifies the reason for aFAILED
status. This field is present only when therestatus
isFAILED
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
The date and time when this asynchronous background task was created.
- Parameters:
creationTime
- The date and time when this asynchronous background task was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedTime
The date and time when the status of this background task was last updated.
- Parameters:
lastUpdatedTime
- The date and time when the status of this background task was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-