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)
Sets the value of the Invitations property for this object.
|
ListInvitationsResponse.Builder |
invitations(Consumer<Invitation.Builder>... invitations)
Sets the value of the Invitations property for this object.
|
ListInvitationsResponse.Builder |
invitations(Invitation... invitations)
Sets the value of the Invitations property for this object.
|
ListInvitationsResponse.Builder |
nextToken(String nextToken)
Sets the value of the NextToken property for this object.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
ListInvitationsResponse.Builder invitations(Collection<Invitation> invitations)
invitations
- The new value for the Invitations property for this object.ListInvitationsResponse.Builder invitations(Invitation... invitations)
invitations
- The new value for the Invitations property for this object.ListInvitationsResponse.Builder invitations(Consumer<Invitation.Builder>... invitations)
List.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)
nextToken
- The new value for the NextToken property for this object.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.