Interface CreateUserPoolResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CognitoIdentityProviderResponse.Builder
,CopyableBuilder<CreateUserPoolResponse.Builder,CreateUserPoolResponse>
,SdkBuilder<CreateUserPoolResponse.Builder,CreateUserPoolResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- CreateUserPoolResponse
public static interface CreateUserPoolResponse.Builder extends CognitoIdentityProviderResponse.Builder, SdkPojo, CopyableBuilder<CreateUserPoolResponse.Builder,CreateUserPoolResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateUserPoolResponse.Builder
userPool(Consumer<UserPoolType.Builder> userPool)
A container for the user pool details.CreateUserPoolResponse.Builder
userPool(UserPoolType userPool)
A container for the user pool details.-
Methods inherited from interface software.amazon.awssdk.services.cognitoidentityprovider.model.CognitoIdentityProviderResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
userPool
CreateUserPoolResponse.Builder userPool(UserPoolType userPool)
A container for the user pool details.
- Parameters:
userPool
- A container for the user pool details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userPool
default CreateUserPoolResponse.Builder userPool(Consumer<UserPoolType.Builder> userPool)
A container for the user pool details.
This is a convenience method that creates an instance of theUserPoolType.Builder
avoiding the need to create one manually viaUserPoolType.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed touserPool(UserPoolType)
.- Parameters:
userPool
- a consumer that will call methods onUserPoolType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
userPool(UserPoolType)
-
-