Interface AddUserPoolClientSecretRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CognitoIdentityProviderRequest.Builder,CopyableBuilder<AddUserPoolClientSecretRequest.Builder,,AddUserPoolClientSecretRequest> SdkBuilder<AddUserPoolClientSecretRequest.Builder,,AddUserPoolClientSecretRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
AddUserPoolClientSecretRequest
@Mutable
@NotThreadSafe
public static interface AddUserPoolClientSecretRequest.Builder
extends CognitoIdentityProviderRequest.Builder, SdkPojo, CopyableBuilder<AddUserPoolClientSecretRequest.Builder,AddUserPoolClientSecretRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the app client for which you want to create a new secret.clientSecret(String clientSecret) The client secret value you want to use.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.userPoolId(String userPoolId) The ID of the user pool that contains the app client.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cognitoidentityprovider.model.CognitoIdentityProviderRequest.Builder
buildMethods 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
-
userPoolId
The ID of the user pool that contains the app client.
- Parameters:
userPoolId- The ID of the user pool that contains the app client.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientId
The ID of the app client for which you want to create a new secret.
- Parameters:
clientId- The ID of the app client for which you want to create a new secret.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientSecret
The client secret value you want to use. If you don't provide this parameter, Amazon Cognito generates a secure secret for you.
- Parameters:
clientSecret- The client secret value you want to use. If you don't provide this parameter, Amazon Cognito generates a secure secret for you.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AddUserPoolClientSecretRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AddUserPoolClientSecretRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-