Interface CreateMembersResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateMembersResponse.Builder,,CreateMembersResponse> GuardDutyResponse.Builder,SdkBuilder<CreateMembersResponse.Builder,,CreateMembersResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateMembersResponse
@Mutable
@NotThreadSafe
public static interface CreateMembersResponse.Builder
extends GuardDutyResponse.Builder, SdkPojo, CopyableBuilder<CreateMembersResponse.Builder,CreateMembersResponse>
-
Method Summary
Modifier and TypeMethodDescriptionunprocessedAccounts(Collection<UnprocessedAccount> unprocessedAccounts) A list of objects that include theaccountIdsof the unprocessed accounts and a result string that explains why each was unprocessed.unprocessedAccounts(Consumer<UnprocessedAccount.Builder>... unprocessedAccounts) A list of objects that include theaccountIdsof the unprocessed accounts and a result string that explains why each was unprocessed.unprocessedAccounts(UnprocessedAccount... unprocessedAccounts) A list of objects that include theaccountIdsof the unprocessed accounts and a result string that explains why each was unprocessed.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.guardduty.model.GuardDutyResponse.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
-
unprocessedAccounts
CreateMembersResponse.Builder unprocessedAccounts(Collection<UnprocessedAccount> unprocessedAccounts) A list of objects that include the
accountIdsof the unprocessed accounts and a result string that explains why each was unprocessed.- Parameters:
unprocessedAccounts- A list of objects that include theaccountIdsof the unprocessed accounts and a result string that explains why each was unprocessed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unprocessedAccounts
A list of objects that include the
accountIdsof the unprocessed accounts and a result string that explains why each was unprocessed.- Parameters:
unprocessedAccounts- A list of objects that include theaccountIdsof the unprocessed accounts and a result string that explains why each was unprocessed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unprocessedAccounts
CreateMembersResponse.Builder unprocessedAccounts(Consumer<UnprocessedAccount.Builder>... unprocessedAccounts) A list of objects that include the
This is a convenience method that creates an instance of theaccountIdsof the unprocessed accounts and a result string that explains why each was unprocessed.UnprocessedAccount.Builderavoiding the need to create one manually viaUnprocessedAccount.builder().When the
Consumercompletes,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:
-