Class SendEmailResponse

All Implemented Interfaces:
SdkPojo, ToCopyableBuilder<SendEmailResponse.Builder,SendEmailResponse>

@Generated("software.amazon.awssdk:codegen") public final class SendEmailResponse extends SesV2Response implements ToCopyableBuilder<SendEmailResponse.Builder,SendEmailResponse>

A unique message ID that you receive when an email is accepted for sending.

  • Method Details

    • messageId

      public final String messageId()

      A unique identifier for the message that is generated when the message is accepted.

      It's possible for Amazon SES to accept a message without sending it. For example, this can happen when the message that you're trying to send has an attachment that contains a virus, or when you send a templated email that contains invalid personalization content.

      Returns:
      A unique identifier for the message that is generated when the message is accepted.

      It's possible for Amazon SES to accept a message without sending it. For example, this can happen when the message that you're trying to send has an attachment that contains a virus, or when you send a templated email that contains invalid personalization content.

    • toBuilder

      public SendEmailResponse.Builder toBuilder()
      Specified by:
      toBuilder in interface ToCopyableBuilder<SendEmailResponse.Builder,SendEmailResponse>
      Specified by:
      toBuilder in class AwsResponse
    • builder

      public static SendEmailResponse.Builder builder()
    • serializableBuilderClass

      public static Class<? extends SendEmailResponse.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class AwsResponse
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class AwsResponse
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
      Overrides:
      getValueForField in class SdkResponse
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo