Interface ReplacePermissionAssociationsWork.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ReplacePermissionAssociationsWork.Builder,ReplacePermissionAssociationsWork>,SdkBuilder<ReplacePermissionAssociationsWork.Builder,ReplacePermissionAssociationsWork>,SdkPojo
- Enclosing class:
- ReplacePermissionAssociationsWork
public static interface ReplacePermissionAssociationsWork.Builder extends SdkPojo, CopyableBuilder<ReplacePermissionAssociationsWork.Builder,ReplacePermissionAssociationsWork>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ReplacePermissionAssociationsWork.BuildercreationTime(Instant creationTime)The date and time when this asynchronous background task was created.ReplacePermissionAssociationsWork.BuilderfromPermissionArn(String fromPermissionArn)The Amazon Resource Name (ARN) of the managed permission that this background task is replacing.ReplacePermissionAssociationsWork.BuilderfromPermissionVersion(String fromPermissionVersion)The version of the managed permission that this background task is replacing.ReplacePermissionAssociationsWork.Builderid(String id)The unique identifier for the background task associated with one ReplacePermissionAssociations request.ReplacePermissionAssociationsWork.BuilderlastUpdatedTime(Instant lastUpdatedTime)The date and time when the status of this background task was last updated.ReplacePermissionAssociationsWork.Builderstatus(String status)Specifies the current status of the background tasks for the specified ID.ReplacePermissionAssociationsWork.Builderstatus(ReplacePermissionAssociationsWorkStatus status)Specifies the current status of the background tasks for the specified ID.ReplacePermissionAssociationsWork.BuilderstatusMessage(String statusMessage)Specifies the reason for aFAILEDstatus.ReplacePermissionAssociationsWork.BuildertoPermissionArn(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 infromPermissionArnandfromPermissionVersion.ReplacePermissionAssociationsWork.BuildertoPermissionVersion(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 Detail
-
id
ReplacePermissionAssociationsWork.Builder id(String 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
ReplacePermissionAssociationsWork.Builder fromPermissionArn(String 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
ReplacePermissionAssociationsWork.Builder fromPermissionVersion(String 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
ReplacePermissionAssociationsWork.Builder 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 in
fromPermissionArnandfromPermissionVersion.- 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 infromPermissionArnandfromPermissionVersion.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toPermissionVersion
ReplacePermissionAssociationsWork.Builder toPermissionVersion(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.
- 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
ReplacePermissionAssociationsWork.Builder status(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
- 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:
ReplacePermissionAssociationsWorkStatus,ReplacePermissionAssociationsWorkStatus
-
-
status
ReplacePermissionAssociationsWork.Builder status(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
- 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:
ReplacePermissionAssociationsWorkStatus,ReplacePermissionAssociationsWorkStatus
-
-
statusMessage
ReplacePermissionAssociationsWork.Builder statusMessage(String statusMessage)
Specifies the reason for a
FAILEDstatus. This field is present only when therestatusisFAILED.- Parameters:
statusMessage- Specifies the reason for aFAILEDstatus. This field is present only when therestatusisFAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
ReplacePermissionAssociationsWork.Builder creationTime(Instant 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
ReplacePermissionAssociationsWork.Builder lastUpdatedTime(Instant 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.
-
-