Interface ListInvitationsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<ListInvitationsResponse.Builder,ListInvitationsResponse>, DetectiveResponse.Builder, SdkBuilder<ListInvitationsResponse.Builder,ListInvitationsResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
ListInvitationsResponse

public static interface ListInvitationsResponse.Builder extends DetectiveResponse.Builder, SdkPojo, CopyableBuilder<ListInvitationsResponse.Builder,ListInvitationsResponse>
  • Method Details

    • invitations

      The list of behavior graphs for which the member account has open or accepted invitations.

      Parameters:
      invitations - The list of behavior graphs for which the member account has open or accepted invitations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • invitations

      ListInvitationsResponse.Builder invitations(MemberDetail... invitations)

      The list of behavior graphs for which the member account has open or accepted invitations.

      Parameters:
      invitations - The list of behavior graphs for which the member account has open or accepted invitations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • invitations

      The list of behavior graphs for which the member account has open or accepted invitations.

      This is a convenience method that creates an instance of the MemberDetail.Builder avoiding the need to create one manually via MemberDetail.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to invitations(List<MemberDetail>).

      Parameters:
      invitations - a consumer that will call methods on MemberDetail.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nextToken

      If there are more behavior graphs remaining in the results, then this is the pagination token to use to request the next page of behavior graphs.

      Parameters:
      nextToken - If there are more behavior graphs remaining in the results, then this is the pagination token to use to request the next page of behavior graphs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.