Interface ReplacePermissionAssociationsWork.Builder

    • Method Detail

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

        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.