Class SMSSandboxPhoneNumber
- All Implemented Interfaces:
Serializable,SdkPojo,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 Amazon Web Services 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 Amazon Web Services 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.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe destination phone number.static Class<? extends SMSSandboxPhoneNumber.Builder>status()The destination phone number's verification status.final StringThe destination phone number's verification status.final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
phoneNumber
The destination phone number.
- Returns:
- The destination phone number.
-
status
The destination phone number's verification status.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnSMSSandboxPhoneNumberVerificationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The destination phone number's verification status.
- See Also:
-
statusAsString
The destination phone number's verification status.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnSMSSandboxPhoneNumberVerificationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The destination phone number's verification status.
- See Also:
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<SMSSandboxPhoneNumber.Builder,SMSSandboxPhoneNumber>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-