Interface ListInvitationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListInvitationsResponse.Builder,,ListInvitationsResponse> SdkBuilder<ListInvitationsResponse.Builder,,ListInvitationsResponse> SdkPojo,SdkResponse.Builder,SecurityHubResponse.Builder
- Enclosing class:
ListInvitationsResponse
public static interface ListInvitationsResponse.Builder
extends SecurityHubResponse.Builder, SdkPojo, CopyableBuilder<ListInvitationsResponse.Builder,ListInvitationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioninvitations(Collection<Invitation> invitations) The details of the invitations returned by the operation.invitations(Consumer<Invitation.Builder>... invitations) The details of the invitations returned by the operation.invitations(Invitation... invitations) The details of the invitations returned by the operation.The pagination token to use to request the next page of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.securityhub.model.SecurityHubResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
invitations
The details of the invitations returned by the operation.
- Parameters:
invitations- The details of the invitations returned by the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invitations
The details of the invitations returned by the operation.
- Parameters:
invitations- The details of the invitations returned by the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invitations
The details of the invitations returned by the operation.
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 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 to use to request the next page of results.
- Parameters:
nextToken- The pagination token to use to request the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-