Interface CreateUserPoolClientResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CognitoIdentityProviderResponse.Builder
,CopyableBuilder<CreateUserPoolClientResponse.Builder,CreateUserPoolClientResponse>
,SdkBuilder<CreateUserPoolClientResponse.Builder,CreateUserPoolClientResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- CreateUserPoolClientResponse
public static interface CreateUserPoolClientResponse.Builder extends CognitoIdentityProviderResponse.Builder, SdkPojo, CopyableBuilder<CreateUserPoolClientResponse.Builder,CreateUserPoolClientResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateUserPoolClientResponse.Builder
userPoolClient(Consumer<UserPoolClientType.Builder> userPoolClient)
The user pool client that was just created.CreateUserPoolClientResponse.Builder
userPoolClient(UserPoolClientType userPoolClient)
The user pool client that was just created.-
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
-
userPoolClient
CreateUserPoolClientResponse.Builder userPoolClient(UserPoolClientType userPoolClient)
The user pool client that was just created.
- Parameters:
userPoolClient
- The user pool client that was just created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userPoolClient
default CreateUserPoolClientResponse.Builder userPoolClient(Consumer<UserPoolClientType.Builder> userPoolClient)
The user pool client that was just created.
This is a convenience method that creates an instance of theUserPoolClientType.Builder
avoiding the need to create one manually viaUserPoolClientType.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed touserPoolClient(UserPoolClientType)
.- Parameters:
userPoolClient
- a consumer that will call methods onUserPoolClientType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
userPoolClient(UserPoolClientType)
-
-