@Generated(value="software.amazon.awssdk:codegen") public final class CodeDeliveryDetailsType extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CodeDeliveryDetailsType.Builder,CodeDeliveryDetailsType>
The delivery details for an email or SMS message that Amazon Cognito sent for authentication or verification.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CodeDeliveryDetailsType.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
attributeName()
The name of the attribute that Amazon Cognito verifies with the code.
|
static CodeDeliveryDetailsType.Builder |
builder() |
DeliveryMediumType |
deliveryMedium()
The method that Amazon Cognito used to send the code.
|
String |
deliveryMediumAsString()
The method that Amazon Cognito used to send the code.
|
String |
destination()
The email address or phone number destination where Amazon Cognito sent the code.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CodeDeliveryDetailsType.Builder> |
serializableBuilderClass() |
CodeDeliveryDetailsType.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String destination()
The email address or phone number destination where Amazon Cognito sent the code.
public final DeliveryMediumType deliveryMedium()
The method that Amazon Cognito used to send the code.
If the service returns an enum value that is not available in the current SDK version, deliveryMedium
will return DeliveryMediumType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from deliveryMediumAsString().
DeliveryMediumTypepublic final String deliveryMediumAsString()
The method that Amazon Cognito used to send the code.
If the service returns an enum value that is not available in the current SDK version, deliveryMedium
will return DeliveryMediumType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from deliveryMediumAsString().
DeliveryMediumTypepublic final String attributeName()
The name of the attribute that Amazon Cognito verifies with the code.
public CodeDeliveryDetailsType.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CodeDeliveryDetailsType.Builder,CodeDeliveryDetailsType>public static CodeDeliveryDetailsType.Builder builder()
public static Class<? extends CodeDeliveryDetailsType.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.