Interface AddCustomAttributesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CognitoIdentityProviderRequest.Builder
,CopyableBuilder<AddCustomAttributesRequest.Builder,
,AddCustomAttributesRequest> SdkBuilder<AddCustomAttributesRequest.Builder,
,AddCustomAttributesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
AddCustomAttributesRequest
public static interface AddCustomAttributesRequest.Builder
extends CognitoIdentityProviderRequest.Builder, SdkPojo, CopyableBuilder<AddCustomAttributesRequest.Builder,AddCustomAttributesRequest>
-
Method Summary
Modifier and TypeMethodDescriptioncustomAttributes
(Collection<SchemaAttributeType> customAttributes) An array of custom attributes, such as Mutable and Name.customAttributes
(Consumer<SchemaAttributeType.Builder>... customAttributes) An array of custom attributes, such as Mutable and Name.customAttributes
(SchemaAttributeType... customAttributes) An array of custom attributes, such as Mutable and Name.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.userPoolId
(String userPoolId) The user pool ID for the user pool where you want to add custom attributes.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.cognitoidentityprovider.model.CognitoIdentityProviderRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
userPoolId
The user pool ID for the user pool where you want to add custom attributes.
- Parameters:
userPoolId
- The user pool ID for the user pool where you want to add custom attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customAttributes
AddCustomAttributesRequest.Builder customAttributes(Collection<SchemaAttributeType> customAttributes) An array of custom attributes, such as Mutable and Name.
- Parameters:
customAttributes
- An array of custom attributes, such as Mutable and Name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customAttributes
An array of custom attributes, such as Mutable and Name.
- Parameters:
customAttributes
- An array of custom attributes, such as Mutable and Name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customAttributes
AddCustomAttributesRequest.Builder customAttributes(Consumer<SchemaAttributeType.Builder>... customAttributes) An array of custom attributes, such as Mutable and Name.
This is a convenience method that creates an instance of theSchemaAttributeType.Builder
avoiding the need to create one manually viaSchemaAttributeType.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustomAttributes(List<SchemaAttributeType>)
.- Parameters:
customAttributes
- a consumer that will call methods onSchemaAttributeType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
AddCustomAttributesRequest.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
AddCustomAttributesRequest.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.
-