Class DeleteRegistrationAttachmentResponse
- 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.DeleteRegistrationAttachmentResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DeleteRegistrationAttachmentResponse.Builder,DeleteRegistrationAttachmentResponse>
@Generated("software.amazon.awssdk:codegen") public final class DeleteRegistrationAttachmentResponse extends PinpointSmsVoiceV2Response implements ToCopyableBuilder<DeleteRegistrationAttachmentResponse.Builder,DeleteRegistrationAttachmentResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDeleteRegistrationAttachmentResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AttachmentStatusattachmentStatus()The status of the registration attachment.StringattachmentStatusAsString()The status of the registration attachment.AttachmentUploadErrorReasonattachmentUploadErrorReason()The error message if the upload failed.StringattachmentUploadErrorReasonAsString()The error message if the upload failed.static DeleteRegistrationAttachmentResponse.Builderbuilder()InstantcreatedTimestamp()The time when the registration attachment was created, in UNIX epoch time format.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringregistrationAttachmentArn()The Amazon Resource Name (ARN) for the registration attachment.StringregistrationAttachmentId()The unique identifier for the registration attachment.List<SdkField<?>>sdkFields()static Class<? extends DeleteRegistrationAttachmentResponse.Builder>serializableBuilderClass()DeleteRegistrationAttachmentResponse.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
-
registrationAttachmentArn
public final String registrationAttachmentArn()
The Amazon Resource Name (ARN) for the registration attachment.
- Returns:
- The Amazon Resource Name (ARN) for the registration attachment.
-
registrationAttachmentId
public final String registrationAttachmentId()
The unique identifier for the registration attachment.
- Returns:
- The unique identifier for the registration attachment.
-
attachmentStatus
public final AttachmentStatus attachmentStatus()
The status of the registration attachment.
-
UPLOAD_IN_PROGRESSThe attachment is being uploaded. -
UPLOAD_COMPLETEThe attachment has been uploaded. -
UPLOAD_FAILEDThe attachment failed to uploaded. -
DELETEDThe attachment has been deleted..
If the service returns an enum value that is not available in the current SDK version,
attachmentStatuswill returnAttachmentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromattachmentStatusAsString().- Returns:
- The status of the registration attachment.
-
UPLOAD_IN_PROGRESSThe attachment is being uploaded. -
UPLOAD_COMPLETEThe attachment has been uploaded. -
UPLOAD_FAILEDThe attachment failed to uploaded. -
DELETEDThe attachment has been deleted..
-
- See Also:
AttachmentStatus
-
-
attachmentStatusAsString
public final String attachmentStatusAsString()
The status of the registration attachment.
-
UPLOAD_IN_PROGRESSThe attachment is being uploaded. -
UPLOAD_COMPLETEThe attachment has been uploaded. -
UPLOAD_FAILEDThe attachment failed to uploaded. -
DELETEDThe attachment has been deleted..
If the service returns an enum value that is not available in the current SDK version,
attachmentStatuswill returnAttachmentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromattachmentStatusAsString().- Returns:
- The status of the registration attachment.
-
UPLOAD_IN_PROGRESSThe attachment is being uploaded. -
UPLOAD_COMPLETEThe attachment has been uploaded. -
UPLOAD_FAILEDThe attachment failed to uploaded. -
DELETEDThe attachment has been deleted..
-
- See Also:
AttachmentStatus
-
-
attachmentUploadErrorReason
public final AttachmentUploadErrorReason attachmentUploadErrorReason()
The error message if the upload failed.
If the service returns an enum value that is not available in the current SDK version,
attachmentUploadErrorReasonwill returnAttachmentUploadErrorReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromattachmentUploadErrorReasonAsString().- Returns:
- The error message if the upload failed.
- See Also:
AttachmentUploadErrorReason
-
attachmentUploadErrorReasonAsString
public final String attachmentUploadErrorReasonAsString()
The error message if the upload failed.
If the service returns an enum value that is not available in the current SDK version,
attachmentUploadErrorReasonwill returnAttachmentUploadErrorReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromattachmentUploadErrorReasonAsString().- Returns:
- The error message if the upload failed.
- See Also:
AttachmentUploadErrorReason
-
createdTimestamp
public final Instant createdTimestamp()
The time when the registration attachment was created, in UNIX epoch time format.
- Returns:
- The time when the registration attachment was created, in UNIX epoch time format.
-
toBuilder
public DeleteRegistrationAttachmentResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeleteRegistrationAttachmentResponse.Builder,DeleteRegistrationAttachmentResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static DeleteRegistrationAttachmentResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends DeleteRegistrationAttachmentResponse.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
-
-