Interface ListInvitationsResponse.Builder

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

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

    • invitations

      An array of objects, one for each invitation that was received by the account.

      Parameters:
      invitations - An array of objects, one for each invitation that was received by the account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • invitations

      ListInvitationsResponse.Builder invitations(Invitation... invitations)

      An array of objects, one for each invitation that was received by the account.

      Parameters:
      invitations - An array of objects, one for each invitation that was received by the account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • invitations

      An array of objects, one for each invitation that was received by the account.

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

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

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

      The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

      Parameters:
      nextToken - The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
      Returns:
      Returns a reference to this object so that method calls can be chained together.