Interface GetMembersResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetMembersResponse.Builder,
,GetMembersResponse> DetectiveResponse.Builder
,SdkBuilder<GetMembersResponse.Builder,
,GetMembersResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetMembersResponse
-
Method Summary
Modifier and TypeMethodDescriptionmemberDetails
(Collection<MemberDetail> memberDetails) The member account details that Detective is returning in response to the request.memberDetails
(Consumer<MemberDetail.Builder>... memberDetails) The member account details that Detective is returning in response to the request.memberDetails
(MemberDetail... memberDetails) The member account details that Detective is returning in response to the request.unprocessedAccounts
(Collection<UnprocessedAccount> unprocessedAccounts) The requested member accounts for which Detective was unable to return member details.unprocessedAccounts
(Consumer<UnprocessedAccount.Builder>... unprocessedAccounts) The requested member accounts for which Detective was unable to return member details.unprocessedAccounts
(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 Details
-
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
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
The member account details that Detective is returning in response to the request.
This is a convenience method that creates an instance of theMemberDetail.Builder
avoiding the need to create one manually viaMemberDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomemberDetails(List<MemberDetail>)
.- 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:
-
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
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.Builder
avoiding the need to create one manually viaUnprocessedAccount.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tounprocessedAccounts(List<UnprocessedAccount>)
.- 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:
-