Interface ResendConfirmationCodeResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CognitoIdentityProviderResponse.Builder,CopyableBuilder<ResendConfirmationCodeResponse.Builder,,ResendConfirmationCodeResponse> SdkBuilder<ResendConfirmationCodeResponse.Builder,,ResendConfirmationCodeResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ResendConfirmationCodeResponse
public static interface ResendConfirmationCodeResponse.Builder
extends CognitoIdentityProviderResponse.Builder, SdkPojo, CopyableBuilder<ResendConfirmationCodeResponse.Builder,ResendConfirmationCodeResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncodeDeliveryDetails(Consumer<CodeDeliveryDetailsType.Builder> codeDeliveryDetails) Information about the phone number or email address that Amazon Cognito sent the confirmation code to.codeDeliveryDetails(CodeDeliveryDetailsType codeDeliveryDetails) Information about the phone number or email address that Amazon Cognito sent the confirmation code to.Methods inherited from interface software.amazon.awssdk.services.cognitoidentityprovider.model.CognitoIdentityProviderResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
codeDeliveryDetails
ResendConfirmationCodeResponse.Builder codeDeliveryDetails(CodeDeliveryDetailsType codeDeliveryDetails) Information about the phone number or email address that Amazon Cognito sent the confirmation code to.
- Parameters:
codeDeliveryDetails- Information about the phone number or email address that Amazon Cognito sent the confirmation code to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codeDeliveryDetails
default ResendConfirmationCodeResponse.Builder codeDeliveryDetails(Consumer<CodeDeliveryDetailsType.Builder> codeDeliveryDetails) Information about the phone number or email address that Amazon Cognito sent the confirmation code to.
This is a convenience method that creates an instance of theCodeDeliveryDetailsType.Builderavoiding the need to create one manually viaCodeDeliveryDetailsType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocodeDeliveryDetails(CodeDeliveryDetailsType).- Parameters:
codeDeliveryDetails- a consumer that will call methods onCodeDeliveryDetailsType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-