Interface ResendConfirmationCodeResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CognitoIdentityProviderResponse.Builder
,CopyableBuilder<ResendConfirmationCodeResponse.Builder,
,ResendConfirmationCodeResponse> SdkBuilder<ResendConfirmationCodeResponse.Builder,
,ResendConfirmationCodeResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ResendConfirmationCodeResponse
@Mutable
@NotThreadSafe
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, 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, sdkFieldNameToField, sdkFields
Methods 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.Builder
avoiding the need to create one manually viaCodeDeliveryDetailsType.builder()
.When the
Consumer
completes,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:
-