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 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

      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 fromPermissionArn and fromPermissionVersion.

      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 in fromPermissionArn and fromPermissionVersion.
      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

      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

      ReplacePermissionAssociationsWork.Builder statusMessage(String statusMessage)

      Specifies the reason for a FAILED status. This field is present only when there status is FAILED.

      Parameters:
      statusMessage - Specifies the reason for a FAILED status. This field is present only when there status is FAILED.
      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

      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.