Class SignUpResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.cognitoidentityprovider.model.CognitoIdentityProviderResponse
-
- software.amazon.awssdk.services.cognitoidentityprovider.model.SignUpResponse
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<SignUpResponse.Builder,SignUpResponse>
@Generated("software.amazon.awssdk:codegen") public final class SignUpResponse extends CognitoIdentityProviderResponse implements ToCopyableBuilder<SignUpResponse.Builder,SignUpResponse>
The response from the server for a registration request.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
SignUpResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SignUpResponse.Builder
builder()
CodeDeliveryDetailsType
codeDeliveryDetails()
The code delivery details returned by the server response to the user registration request.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends SignUpResponse.Builder>
serializableBuilderClass()
String
session()
A session Id that you can pass toConfirmSignUp
when you want to immediately sign in your user with theUSER_AUTH
flow after they complete sign-up.SignUpResponse.Builder
toBuilder()
String
toString()
Returns a string representation of this object.Boolean
userConfirmed()
A response from the server indicating that a user registration has been confirmed.String
userSub()
The 128-bit ID of the authenticated user.-
Methods inherited from class software.amazon.awssdk.services.cognitoidentityprovider.model.CognitoIdentityProviderResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
userConfirmed
public final Boolean userConfirmed()
A response from the server indicating that a user registration has been confirmed.
- Returns:
- A response from the server indicating that a user registration has been confirmed.
-
codeDeliveryDetails
public final CodeDeliveryDetailsType codeDeliveryDetails()
The code delivery details returned by the server response to the user registration request.
- Returns:
- The code delivery details returned by the server response to the user registration request.
-
userSub
public final String userSub()
The 128-bit ID of the authenticated user. This isn't the same as
username
.- Returns:
- The 128-bit ID of the authenticated user. This isn't the same as
username
.
-
session
public final String session()
A session Id that you can pass to
ConfirmSignUp
when you want to immediately sign in your user with theUSER_AUTH
flow after they complete sign-up.- Returns:
- A session Id that you can pass to
ConfirmSignUp
when you want to immediately sign in your user with theUSER_AUTH
flow after they complete sign-up.
-
toBuilder
public SignUpResponse.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<SignUpResponse.Builder,SignUpResponse>
- Specified by:
toBuilder
in classAwsResponse
-
builder
public static SignUpResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends SignUpResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String 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
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForField
in classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-