Class CreateRegistrationAssociationResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.pinpointsmsvoicev2.model.PinpointSmsVoiceV2Response
-
- software.amazon.awssdk.services.pinpointsmsvoicev2.model.CreateRegistrationAssociationResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateRegistrationAssociationResponse.Builder,CreateRegistrationAssociationResponse>
@Generated("software.amazon.awssdk:codegen") public final class CreateRegistrationAssociationResponse extends PinpointSmsVoiceV2Response implements ToCopyableBuilder<CreateRegistrationAssociationResponse.Builder,CreateRegistrationAssociationResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateRegistrationAssociationResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateRegistrationAssociationResponse.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.StringregistrationArn()The Amazon Resource Name (ARN) for the registration.StringregistrationId()The unique identifier for the registration.StringregistrationType()The type of registration form.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 registration type or origination identity type.List<SdkField<?>>sdkFields()static Class<? extends CreateRegistrationAssociationResponse.Builder>serializableBuilderClass()CreateRegistrationAssociationResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.pinpointsmsvoicev2.model.PinpointSmsVoiceV2Response
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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
-
registrationArn
public final String registrationArn()
The Amazon Resource Name (ARN) for the registration.
- Returns:
- The Amazon Resource Name (ARN) for the registration.
-
registrationId
public final String registrationId()
The unique identifier for the registration.
- Returns:
- The unique identifier for the registration.
-
registrationType
public final String registrationType()
The type of registration form. The list of RegistrationTypes can be found using the DescribeRegistrationTypeDefinitions action.
- Returns:
- The type of registration form. The list of RegistrationTypes can be found using the DescribeRegistrationTypeDefinitions action.
-
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 registration type or origination identity type.
- Returns:
- The registration type or 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 CreateRegistrationAssociationResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateRegistrationAssociationResponse.Builder,CreateRegistrationAssociationResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static CreateRegistrationAssociationResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateRegistrationAssociationResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-