public static interface ListInvitationsResponse.Builder extends GuardDutyResponse.Builder, SdkPojo, CopyableBuilder<ListInvitationsResponse.Builder,ListInvitationsResponse>
Modifier and Type | Method and Description |
---|---|
ListInvitationsResponse.Builder |
invitations(Collection<Invitation> invitations)
A list of invitation descriptions.
|
ListInvitationsResponse.Builder |
invitations(Consumer<Invitation.Builder>... invitations)
A list of invitation descriptions.
|
ListInvitationsResponse.Builder |
invitations(Invitation... invitations)
A list of invitation descriptions.
|
ListInvitationsResponse.Builder |
nextToken(String nextToken)
The pagination parameter to be used on the next list operation to retrieve more items.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
ListInvitationsResponse.Builder invitations(Collection<Invitation> invitations)
A list of invitation descriptions.
invitations
- A list of invitation descriptions.ListInvitationsResponse.Builder invitations(Invitation... invitations)
A list of invitation descriptions.
invitations
- A list of invitation descriptions.ListInvitationsResponse.Builder invitations(Consumer<Invitation.Builder>... invitations)
A list of invitation descriptions.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #invitations(List)
.invitations
- a consumer that will call methods on List.Builder
#invitations(List)
ListInvitationsResponse.Builder nextToken(String nextToken)
The pagination parameter to be used on the next list operation to retrieve more items.
nextToken
- The pagination parameter to be used on the next list operation to retrieve more items.