Interface ListInvitationsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListInvitationsResponse.Builder,ListInvitationsResponse>,GuardDutyResponse.Builder,SdkBuilder<ListInvitationsResponse.Builder,ListInvitationsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListInvitationsResponse
public static interface ListInvitationsResponse.Builder extends GuardDutyResponse.Builder, SdkPojo, CopyableBuilder<ListInvitationsResponse.Builder,ListInvitationsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListInvitationsResponse.Builderinvitations(Collection<Invitation> invitations)A list of invitation descriptions.ListInvitationsResponse.Builderinvitations(Consumer<Invitation.Builder>... invitations)A list of invitation descriptions.ListInvitationsResponse.Builderinvitations(Invitation... invitations)A list of invitation descriptions.ListInvitationsResponse.BuildernextToken(String nextToken)The pagination parameter to be used on the next list operation to retrieve more items.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.guardduty.model.GuardDutyResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
invitations
ListInvitationsResponse.Builder invitations(Collection<Invitation> invitations)
A list of invitation descriptions.
- Parameters:
invitations- A list of invitation descriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invitations
ListInvitationsResponse.Builder invitations(Invitation... invitations)
A list of invitation descriptions.
- Parameters:
invitations- A list of invitation descriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invitations
ListInvitationsResponse.Builder invitations(Consumer<Invitation.Builder>... invitations)
A list of invitation descriptions.
This is a convenience method that creates an instance of theInvitation.Builderavoiding the need to create one manually viaInvitation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#invitations(List.) - Parameters:
invitations- a consumer that will call methods onInvitation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#invitations(java.util.Collection)
-
nextToken
ListInvitationsResponse.Builder nextToken(String nextToken)
The pagination parameter to be used on the next list operation to retrieve more items.
- Parameters:
nextToken- The pagination parameter to be used on the next list operation to retrieve more items.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-