Interface ListSessionsResponseSession.Builder

  • Method Details

    • sessionArn

      Amazon Resource Name (ARN) for the session.

      Parameters:
      sessionArn - Amazon Resource Name (ARN) for the session.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • approvalTeamName

      ListSessionsResponseSession.Builder approvalTeamName(String approvalTeamName)

      Name of the approval team.

      Parameters:
      approvalTeamName - Name of the approval team.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • approvalTeamArn

      ListSessionsResponseSession.Builder approvalTeamArn(String approvalTeamArn)

      Amazon Resource Name (ARN) for the approval team.

      Parameters:
      approvalTeamArn - Amazon Resource Name (ARN) for the approval team.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • initiationTime

      ListSessionsResponseSession.Builder initiationTime(Instant initiationTime)

      Timestamp when the session was initiated.

      Parameters:
      initiationTime - Timestamp when the session was initiated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expirationTime

      ListSessionsResponseSession.Builder expirationTime(Instant expirationTime)

      Timestamp when the session was expire.

      Parameters:
      expirationTime - Timestamp when the session was expire.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • completionTime

      ListSessionsResponseSession.Builder completionTime(Instant completionTime)

      Timestamp when the session was completed.

      Parameters:
      completionTime - Timestamp when the session was completed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      ListSessionsResponseSession.Builder description(String description)

      Description for the team.

      Parameters:
      description - Description for the team.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • actionName

      Name of the protected operation.

      Parameters:
      actionName - Name of the protected operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • protectedResourceArn

      ListSessionsResponseSession.Builder protectedResourceArn(String protectedResourceArn)

      Amazon Resource Name (ARN) for the protected operation.

      Parameters:
      protectedResourceArn - Amazon Resource Name (ARN) for the protected operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requesterServicePrincipal

      ListSessionsResponseSession.Builder requesterServicePrincipal(String requesterServicePrincipal)

      Service principal for the service associated with the protected operation.

      Parameters:
      requesterServicePrincipal - Service principal for the service associated with the protected operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requesterPrincipalArn

      ListSessionsResponseSession.Builder requesterPrincipalArn(String requesterPrincipalArn)

      IAM principal that made the operation request.

      Parameters:
      requesterPrincipalArn - IAM principal that made the operation request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requesterRegion

      ListSessionsResponseSession.Builder requesterRegion(String requesterRegion)

      Amazon Web Services Region where the operation request originated.

      Parameters:
      requesterRegion - Amazon Web Services Region where the operation request originated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requesterAccountId

      ListSessionsResponseSession.Builder requesterAccountId(String requesterAccountId)

      ID for the account that made the operation request.

      Parameters:
      requesterAccountId - ID for the account that made the operation request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      Status for the protected operation. For example, if the operation is PENDING.

      Parameters:
      status - Status for the protected operation. For example, if the operation is PENDING.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      Status for the protected operation. For example, if the operation is PENDING.

      Parameters:
      status - Status for the protected operation. For example, if the operation is PENDING.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statusCode

      Status code of the session.

      Parameters:
      statusCode - Status code of the session.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statusCode

      Status code of the session.

      Parameters:
      statusCode - Status code of the session.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statusMessage

      ListSessionsResponseSession.Builder statusMessage(String statusMessage)

      Message describing the status for session.

      Parameters:
      statusMessage - Message describing the status for session.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • actionCompletionStrategy

      ListSessionsResponseSession.Builder actionCompletionStrategy(String actionCompletionStrategy)

      Strategy for executing the protected operation. AUTO_COMPLETION_UPON_APPROVAL means the operation is executed automatically using the requester's permissions, if approved.

      Parameters:
      actionCompletionStrategy - Strategy for executing the protected operation. AUTO_COMPLETION_UPON_APPROVAL means the operation is executed automatically using the requester's permissions, if approved.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • actionCompletionStrategy

      ListSessionsResponseSession.Builder actionCompletionStrategy(ActionCompletionStrategy actionCompletionStrategy)

      Strategy for executing the protected operation. AUTO_COMPLETION_UPON_APPROVAL means the operation is executed automatically using the requester's permissions, if approved.

      Parameters:
      actionCompletionStrategy - Strategy for executing the protected operation. AUTO_COMPLETION_UPON_APPROVAL means the operation is executed automatically using the requester's permissions, if approved.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: