Interface CreateAccountPoolRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateAccountPoolRequest.Builder,
,CreateAccountPoolRequest> DataZoneRequest.Builder
,SdkBuilder<CreateAccountPoolRequest.Builder,
,CreateAccountPoolRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateAccountPoolRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateAccountPoolRequest.Builder
accountSource
(Consumer<AccountSource.Builder> accountSource) The source of accounts for the account pool.accountSource
(AccountSource accountSource) The source of accounts for the account pool.description
(String description) The description of the account pool.domainIdentifier
(String domainIdentifier) The ID of the domain where the account pool is created.The name of the account pool.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resolutionStrategy
(String resolutionStrategy) The mechanism used to resolve the account selection from the account pool.resolutionStrategy
(ResolutionStrategy resolutionStrategy) The mechanism used to resolve the account selection from the account pool.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.datazone.model.DataZoneRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
accountSource
The source of accounts for the account pool. In the current release, it's either a static list of accounts provided by the customer or a custom Amazon Web Services Lambda handler.
- Parameters:
accountSource
- The source of accounts for the account pool. In the current release, it's either a static list of accounts provided by the customer or a custom Amazon Web Services Lambda handler.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountSource
default CreateAccountPoolRequest.Builder accountSource(Consumer<AccountSource.Builder> accountSource) The source of accounts for the account pool. In the current release, it's either a static list of accounts provided by the customer or a custom Amazon Web Services Lambda handler.
This is a convenience method that creates an instance of theAccountSource.Builder
avoiding the need to create one manually viaAccountSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaccountSource(AccountSource)
.- Parameters:
accountSource
- a consumer that will call methods onAccountSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
The description of the account pool.
- Parameters:
description
- The description of the account pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainIdentifier
The ID of the domain where the account pool is created.
- Parameters:
domainIdentifier
- The ID of the domain where the account pool is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the account pool.
- Parameters:
name
- The name of the account pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resolutionStrategy
The mechanism used to resolve the account selection from the account pool.
- Parameters:
resolutionStrategy
- The mechanism used to resolve the account selection from the account pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resolutionStrategy
The mechanism used to resolve the account selection from the account pool.
- Parameters:
resolutionStrategy
- The mechanism used to resolve the account selection from the account pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateAccountPoolRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateAccountPoolRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-