Interface ListInvitationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListInvitationsResponse.Builder,
,ListInvitationsResponse> ManagedBlockchainResponse.Builder
,SdkBuilder<ListInvitationsResponse.Builder,
,ListInvitationsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListInvitationsResponse
public static interface ListInvitationsResponse.Builder
extends ManagedBlockchainResponse.Builder, SdkPojo, CopyableBuilder<ListInvitationsResponse.Builder,ListInvitationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioninvitations
(Collection<Invitation> invitations) The invitations for the network.invitations
(Consumer<Invitation.Builder>... invitations) The invitations for the network.invitations
(Invitation... invitations) The invitations for the network.The pagination token that indicates the next set of results to retrieve.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.managedblockchain.model.ManagedBlockchainResponse.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 Details
-
invitations
The invitations for the network.
- Parameters:
invitations
- The invitations for the network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invitations
The invitations for the network.
- Parameters:
invitations
- The invitations for the network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invitations
The invitations for the network.
This is a convenience method that creates an instance of theInvitation.Builder
avoiding the need to create one manually viaInvitation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinvitations(List<Invitation>)
.- 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:
-
nextToken
The pagination token that indicates the next set of results to retrieve.
- Parameters:
nextToken
- The pagination token that indicates the next set of results to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-