Interface ListInvitationsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListInvitationsResponse.Builder,ListInvitationsResponse>,DetectiveResponse.Builder,SdkBuilder<ListInvitationsResponse.Builder,ListInvitationsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListInvitationsResponse
public static interface ListInvitationsResponse.Builder extends DetectiveResponse.Builder, SdkPojo, CopyableBuilder<ListInvitationsResponse.Builder,ListInvitationsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListInvitationsResponse.Builderinvitations(Collection<MemberDetail> invitations)The list of behavior graphs for which the member account has open or accepted invitations.ListInvitationsResponse.Builderinvitations(Consumer<MemberDetail.Builder>... invitations)The list of behavior graphs for which the member account has open or accepted invitations.ListInvitationsResponse.Builderinvitations(MemberDetail... invitations)The list of behavior graphs for which the member account has open or accepted invitations.ListInvitationsResponse.BuildernextToken(String 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.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.detective.model.DetectiveResponse.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<MemberDetail> 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
ListInvitationsResponse.Builder invitations(MemberDetail... 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
ListInvitationsResponse.Builder invitations(Consumer<MemberDetail.Builder>... 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 to#invitations(List.) - 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:
#invitations(java.util.Collection)
-
nextToken
ListInvitationsResponse.Builder nextToken(String 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.
-
-