Class RegistrationAssociationMetadata
- java.lang.Object
-
- software.amazon.awssdk.services.pinpointsmsvoicev2.model.RegistrationAssociationMetadata
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RegistrationAssociationMetadata.Builder,RegistrationAssociationMetadata>
@Generated("software.amazon.awssdk:codegen") public final class RegistrationAssociationMetadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RegistrationAssociationMetadata.Builder,RegistrationAssociationMetadata>
Metadata for the origination identity that is associated with the registration.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRegistrationAssociationMetadata.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RegistrationAssociationMetadata.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.StringphoneNumber()The phone number associated with the registration in E.164 format.StringresourceArn()The Amazon Resource Name (ARN) of the origination identity that is associated with the registration.StringresourceId()The unique identifier for the origination identity.StringresourceType()The origination identity type.List<SdkField<?>>sdkFields()static Class<? extends RegistrationAssociationMetadata.Builder>serializableBuilderClass()RegistrationAssociationMetadata.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
-
resourceArn
public final String resourceArn()
The Amazon Resource Name (ARN) of the origination identity that is associated with the registration.
- Returns:
- The Amazon Resource Name (ARN) of the origination identity that is associated with the registration.
-
resourceId
public final String resourceId()
The unique identifier for the origination identity. For example this could be a PhoneNumberId or SenderId.
- Returns:
- The unique identifier for the origination identity. For example this could be a PhoneNumberId or SenderId.
-
resourceType
public final String resourceType()
The origination identity type.
- Returns:
- The origination identity type.
-
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.
-
phoneNumber
public final String phoneNumber()
The phone number associated with the registration in E.164 format.
- Returns:
- The phone number associated with the registration in E.164 format.
-
toBuilder
public RegistrationAssociationMetadata.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RegistrationAssociationMetadata.Builder,RegistrationAssociationMetadata>
-
builder
public static RegistrationAssociationMetadata.Builder builder()
-
serializableBuilderClass
public static Class<? extends RegistrationAssociationMetadata.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.
-
-