Class AddUserPoolClientSecretRequest
java.lang.Object
software.amazon.awssdk.core.SdkRequest
software.amazon.awssdk.awscore.AwsRequest
software.amazon.awssdk.services.cognitoidentityprovider.model.CognitoIdentityProviderRequest
software.amazon.awssdk.services.cognitoidentityprovider.model.AddUserPoolClientSecretRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<AddUserPoolClientSecretRequest.Builder,AddUserPoolClientSecretRequest>
@Generated("software.amazon.awssdk:codegen")
public final class AddUserPoolClientSecretRequest
extends CognitoIdentityProviderRequest
implements ToCopyableBuilder<AddUserPoolClientSecretRequest.Builder,AddUserPoolClientSecretRequest>
The request to create a new client secret for a user pool app client.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final StringclientId()The ID of the app client for which you want to create a new secret.final StringThe client secret value you want to use.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends AddUserPoolClientSecretRequest.Builder>final StringtoString()Returns a string representation of this object.final StringThe ID of the user pool that contains the app client.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
userPoolId
The ID of the user pool that contains the app client.
- Returns:
- The ID of the user pool that contains the app client.
-
clientId
The ID of the app client for which you want to create a new secret.
- Returns:
- The ID of the app client for which you want to create a new secret.
-
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:
- The client secret value you want to use. If you don't provide this parameter, Amazon Cognito generates a secure secret for you.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<AddUserPoolClientSecretRequest.Builder,AddUserPoolClientSecretRequest> - Specified by:
toBuilderin classCognitoIdentityProviderRequest
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-