Class DeleteRegistrationFieldValueResponse
- 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.DeleteRegistrationFieldValueResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DeleteRegistrationFieldValueResponse.Builder,DeleteRegistrationFieldValueResponse>
@Generated("software.amazon.awssdk:codegen") public final class DeleteRegistrationFieldValueResponse extends PinpointSmsVoiceV2Response implements ToCopyableBuilder<DeleteRegistrationFieldValueResponse.Builder,DeleteRegistrationFieldValueResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDeleteRegistrationFieldValueResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeleteRegistrationFieldValueResponse.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfieldPath()The path to the registration form field.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()booleanhasSelectChoices()For responses, this returns true if the service returned a value for the SelectChoices property.StringregistrationArn()The Amazon Resource Name (ARN) for the registration.StringregistrationAttachmentId()The unique identifier for the registration attachment.StringregistrationId()The unique identifier for the registration.List<SdkField<?>>sdkFields()List<String>selectChoices()An array of values for the form field.static Class<? extends DeleteRegistrationFieldValueResponse.Builder>serializableBuilderClass()StringtextValue()The text data for a free form field.DeleteRegistrationFieldValueResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.LongversionNumber()The version number of the registration.-
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.
-
versionNumber
public final Long versionNumber()
The version number of the registration.
- Returns:
- The version number of the registration.
-
fieldPath
public final String fieldPath()
The path to the registration form field.
- Returns:
- The path to the registration form field.
-
hasSelectChoices
public final boolean hasSelectChoices()
For responses, this returns true if the service returned a value for the SelectChoices property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
selectChoices
public final List<String> selectChoices()
An array of values for the form field.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasSelectChoices()method.- Returns:
- An array of values for the form field.
-
textValue
public final String textValue()
The text data for a free form field.
- Returns:
- The text data for a free form field.
-
registrationAttachmentId
public final String registrationAttachmentId()
The unique identifier for the registration attachment.
- Returns:
- The unique identifier for the registration attachment.
-
toBuilder
public DeleteRegistrationFieldValueResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeleteRegistrationFieldValueResponse.Builder,DeleteRegistrationFieldValueResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static DeleteRegistrationFieldValueResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends DeleteRegistrationFieldValueResponse.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
-
-