Interface AccountSource.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AccountSource.Builder,,AccountSource> SdkBuilder<AccountSource.Builder,,AccountSource> SdkPojo
- Enclosing class:
AccountSource
@Mutable
@NotThreadSafe
public static interface AccountSource.Builder
extends SdkPojo, CopyableBuilder<AccountSource.Builder,AccountSource>
-
Method Summary
Modifier and TypeMethodDescriptionaccounts(Collection<AccountInfo> accounts) The static list of accounts within an account pool.accounts(Consumer<AccountInfo.Builder>... accounts) The static list of accounts within an account pool.accounts(AccountInfo... accounts) The static list of accounts within an account pool.default AccountSource.BuildercustomAccountPoolHandler(Consumer<CustomAccountPoolHandler.Builder> customAccountPoolHandler) The custom Amazon Web Services Lambda handler within an account pool.customAccountPoolHandler(CustomAccountPoolHandler customAccountPoolHandler) The custom Amazon Web Services Lambda handler within an account pool.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
accounts
The static list of accounts within an account pool.
- Parameters:
accounts- The static list of accounts within an account pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accounts
The static list of accounts within an account pool.
- Parameters:
accounts- The static list of accounts within an account pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accounts
The static list of accounts within an account pool.
This is a convenience method that creates an instance of theAccountInfo.Builderavoiding the need to create one manually viaAccountInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccounts(List<AccountInfo>).- Parameters:
accounts- a consumer that will call methods onAccountInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
customAccountPoolHandler
The custom Amazon Web Services Lambda handler within an account pool.
- Parameters:
customAccountPoolHandler- The custom Amazon Web Services Lambda handler within an account pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customAccountPoolHandler
default AccountSource.Builder customAccountPoolHandler(Consumer<CustomAccountPoolHandler.Builder> customAccountPoolHandler) The custom Amazon Web Services Lambda handler within an account pool.
This is a convenience method that creates an instance of theCustomAccountPoolHandler.Builderavoiding the need to create one manually viaCustomAccountPoolHandler.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocustomAccountPoolHandler(CustomAccountPoolHandler).- Parameters:
customAccountPoolHandler- a consumer that will call methods onCustomAccountPoolHandler.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-