Interface GetMembersResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetMembersResponse.Builder,GetMembersResponse>,DetectiveResponse.Builder,SdkBuilder<GetMembersResponse.Builder,GetMembersResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetMembersResponse
public static interface GetMembersResponse.Builder extends DetectiveResponse.Builder, SdkPojo, CopyableBuilder<GetMembersResponse.Builder,GetMembersResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetMembersResponse.BuildermemberDetails(Collection<MemberDetail> memberDetails)The member account details that Detective is returning in response to the request.GetMembersResponse.BuildermemberDetails(Consumer<MemberDetail.Builder>... memberDetails)The member account details that Detective is returning in response to the request.GetMembersResponse.BuildermemberDetails(MemberDetail... memberDetails)The member account details that Detective is returning in response to the request.GetMembersResponse.BuilderunprocessedAccounts(Collection<UnprocessedAccount> unprocessedAccounts)The requested member accounts for which Detective was unable to return member details.GetMembersResponse.BuilderunprocessedAccounts(Consumer<UnprocessedAccount.Builder>... unprocessedAccounts)The requested member accounts for which Detective was unable to return member details.GetMembersResponse.BuilderunprocessedAccounts(UnprocessedAccount... unprocessedAccounts)The requested member accounts for which Detective was unable to return member details.-
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
-
memberDetails
GetMembersResponse.Builder memberDetails(Collection<MemberDetail> memberDetails)
The member account details that Detective is returning in response to the request.
- Parameters:
memberDetails- The member account details that Detective is returning in response to the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memberDetails
GetMembersResponse.Builder memberDetails(MemberDetail... memberDetails)
The member account details that Detective is returning in response to the request.
- Parameters:
memberDetails- The member account details that Detective is returning in response to the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memberDetails
GetMembersResponse.Builder memberDetails(Consumer<MemberDetail.Builder>... memberDetails)
The member account details that Detective is returning in response to the request.
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#memberDetails(List.) - Parameters:
memberDetails- 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:
#memberDetails(java.util.Collection)
-
unprocessedAccounts
GetMembersResponse.Builder unprocessedAccounts(Collection<UnprocessedAccount> unprocessedAccounts)
The requested member accounts for which Detective was unable to return member details.
For each account, provides the reason why the request could not be processed.
- Parameters:
unprocessedAccounts- The requested member accounts for which Detective was unable to return member details.For each account, provides the reason why the request could not be processed.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unprocessedAccounts
GetMembersResponse.Builder unprocessedAccounts(UnprocessedAccount... unprocessedAccounts)
The requested member accounts for which Detective was unable to return member details.
For each account, provides the reason why the request could not be processed.
- Parameters:
unprocessedAccounts- The requested member accounts for which Detective was unable to return member details.For each account, provides the reason why the request could not be processed.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unprocessedAccounts
GetMembersResponse.Builder unprocessedAccounts(Consumer<UnprocessedAccount.Builder>... unprocessedAccounts)
The requested member accounts for which Detective was unable to return member details.
For each account, provides the reason why the request could not be processed.
This is a convenience method that creates an instance of theUnprocessedAccount.Builderavoiding the need to create one manually viaUnprocessedAccount.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#unprocessedAccounts(List.) - Parameters:
unprocessedAccounts- a consumer that will call methods onUnprocessedAccount.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#unprocessedAccounts(java.util.Collection)
-
-