@Generated(value="software.amazon.awssdk:codegen") public final class SMSSandboxPhoneNumber extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SMSSandboxPhoneNumber.Builder,SMSSandboxPhoneNumber>
A verified or pending destination phone number in the SMS sandbox.
When you start using Amazon SNS to send SMS messages, your account is in the SMS sandbox. The SMS sandbox provides a safe environment for you to try Amazon SNS features without risking your reputation as an SMS sender. While your account is in the SMS sandbox, you can use all of the features of Amazon SNS. However, you can send SMS messages only to verified destination phone numbers. For more information, including how to move out of the sandbox to send messages without restrictions, see SMS sandbox in the Amazon SNS Developer Guide.
Modifier and Type | Class and Description |
---|---|
static interface |
SMSSandboxPhoneNumber.Builder |
Modifier and Type | Method and Description |
---|---|
static SMSSandboxPhoneNumber.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
phoneNumber()
The destination phone number.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SMSSandboxPhoneNumber.Builder> |
serializableBuilderClass() |
SMSSandboxPhoneNumberVerificationStatus |
status()
The destination phone number's verification status.
|
String |
statusAsString()
The destination phone number's verification status.
|
SMSSandboxPhoneNumber.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String phoneNumber()
The destination phone number.
public final SMSSandboxPhoneNumberVerificationStatus status()
The destination phone number's verification status.
If the service returns an enum value that is not available in the current SDK version, status
will
return SMSSandboxPhoneNumberVerificationStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the
service is available from statusAsString()
.
SMSSandboxPhoneNumberVerificationStatus
public final String statusAsString()
The destination phone number's verification status.
If the service returns an enum value that is not available in the current SDK version, status
will
return SMSSandboxPhoneNumberVerificationStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the
service is available from statusAsString()
.
SMSSandboxPhoneNumberVerificationStatus
public SMSSandboxPhoneNumber.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<SMSSandboxPhoneNumber.Builder,SMSSandboxPhoneNumber>
public static SMSSandboxPhoneNumber.Builder builder()
public static Class<? extends SMSSandboxPhoneNumber.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2021. All rights reserved.