Interface ListInvitationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListInvitationsResponse.Builder,,ListInvitationsResponse> DetectiveResponse.Builder,SdkBuilder<ListInvitationsResponse.Builder,,ListInvitationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListInvitationsResponse
@Mutable
@NotThreadSafe
public static interface ListInvitationsResponse.Builder
extends DetectiveResponse.Builder, SdkPojo, CopyableBuilder<ListInvitationsResponse.Builder,ListInvitationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioninvitations(Collection<MemberDetail> invitations) The list of behavior graphs for which the member account has open or accepted invitations.invitations(Consumer<MemberDetail.Builder>... invitations) The list of behavior graphs for which the member account has open or accepted invitations.invitations(MemberDetail... invitations) The list of behavior graphs for which the member account has open or accepted invitations.If there are more behavior graphs remaining in the results, then this is the pagination token to use to request the next page of behavior graphs.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.detective.model.DetectiveResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
invitations
The list of behavior graphs for which the member account has open or accepted invitations.
- Parameters:
invitations- The list of behavior graphs for which the member account has open or accepted invitations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invitations
The list of behavior graphs for which the member account has open or accepted invitations.
- Parameters:
invitations- The list of behavior graphs for which the member account has open or accepted invitations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invitations
The list of behavior graphs for which the member account has open or accepted invitations.
This is a convenience method that creates an instance of theMemberDetail.Builderavoiding the need to create one manually viaMemberDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinvitations(List<MemberDetail>).- Parameters:
invitations- a consumer that will call methods onMemberDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If there are more behavior graphs remaining in the results, then this is the pagination token to use to request the next page of behavior graphs.
- Parameters:
nextToken- If there are more behavior graphs remaining in the results, then this is the pagination token to use to request the next page of behavior graphs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-