Class SenderIdAndCountry
- java.lang.Object
-
- software.amazon.awssdk.services.pinpointsmsvoicev2.model.SenderIdAndCountry
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SenderIdAndCountry.Builder,SenderIdAndCountry>
@Generated("software.amazon.awssdk:codegen") public final class SenderIdAndCountry extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SenderIdAndCountry.Builder,SenderIdAndCountry>
The alphanumeric sender ID in a specific country that you want to describe. For more information on sender IDs see Requesting sender IDs in the AWS End User Messaging SMS User Guide.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSenderIdAndCountry.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SenderIdAndCountry.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringisoCountryCode()The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.List<SdkField<?>>sdkFields()StringsenderId()The unique identifier of the sender.static Class<? extends SenderIdAndCountry.Builder>serializableBuilderClass()SenderIdAndCountry.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
senderId
public final String senderId()
The unique identifier of the sender.
- Returns:
- The unique identifier of the sender.
-
isoCountryCode
public final String isoCountryCode()
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
- Returns:
- The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
-
toBuilder
public SenderIdAndCountry.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SenderIdAndCountry.Builder,SenderIdAndCountry>
-
builder
public static SenderIdAndCountry.Builder builder()
-
serializableBuilderClass
public static Class<? extends SenderIdAndCountry.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
-