Class BulkEmailDestinationStatus

java.lang.Object
software.amazon.awssdk.services.ses.model.BulkEmailDestinationStatus
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<BulkEmailDestinationStatus.Builder,BulkEmailDestinationStatus>

@Generated("software.amazon.awssdk:codegen") public final class BulkEmailDestinationStatus extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BulkEmailDestinationStatus.Builder,BulkEmailDestinationStatus>

An object that contains the response from the SendBulkTemplatedEmail operation.

See Also:
  • Method Details

    • status

      public final BulkEmailStatus status()

      The status of a message sent using the SendBulkTemplatedEmail operation.

      Possible values for this parameter include:

      • Success: Amazon SES accepted the message, and attempts to deliver it to the recipients.

      • MessageRejected: The message was rejected because it contained a virus.

      • MailFromDomainNotVerified: The sender's email address or domain was not verified.

      • ConfigurationSetDoesNotExist: The configuration set you specified does not exist.

      • TemplateDoesNotExist: The template you specified does not exist.

      • AccountSuspended: Your account has been shut down because of issues related to your email sending practices.

      • AccountThrottled: The number of emails you can send has been reduced because your account has exceeded its allocated sending limit.

      • AccountDailyQuotaExceeded: You have reached or exceeded the maximum number of emails you can send from your account in a 24-hour period.

      • InvalidSendingPoolName: The configuration set you specified refers to an IP pool that does not exist.

      • AccountSendingPaused: Email sending for the Amazon SES account was disabled using the UpdateAccountSendingEnabled operation.

      • ConfigurationSetSendingPaused: Email sending for this configuration set was disabled using the UpdateConfigurationSetSendingEnabled operation.

      • InvalidParameterValue: One or more of the parameters you specified when calling this operation was invalid. See the error message for additional information.

      • TransientFailure: Amazon SES was unable to process your request because of a temporary issue.

      • Failed: Amazon SES was unable to process your request. See the error message for additional information.

      If the service returns an enum value that is not available in the current SDK version, status will return BulkEmailStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

      Returns:
      The status of a message sent using the SendBulkTemplatedEmail operation.

      Possible values for this parameter include:

      • Success: Amazon SES accepted the message, and attempts to deliver it to the recipients.

      • MessageRejected: The message was rejected because it contained a virus.

      • MailFromDomainNotVerified: The sender's email address or domain was not verified.

      • ConfigurationSetDoesNotExist: The configuration set you specified does not exist.

      • TemplateDoesNotExist: The template you specified does not exist.

      • AccountSuspended: Your account has been shut down because of issues related to your email sending practices.

      • AccountThrottled: The number of emails you can send has been reduced because your account has exceeded its allocated sending limit.

      • AccountDailyQuotaExceeded: You have reached or exceeded the maximum number of emails you can send from your account in a 24-hour period.

      • InvalidSendingPoolName: The configuration set you specified refers to an IP pool that does not exist.

      • AccountSendingPaused: Email sending for the Amazon SES account was disabled using the UpdateAccountSendingEnabled operation.

      • ConfigurationSetSendingPaused: Email sending for this configuration set was disabled using the UpdateConfigurationSetSendingEnabled operation.

      • InvalidParameterValue: One or more of the parameters you specified when calling this operation was invalid. See the error message for additional information.

      • TransientFailure: Amazon SES was unable to process your request because of a temporary issue.

      • Failed: Amazon SES was unable to process your request. See the error message for additional information.

      See Also:
    • statusAsString

      public final String statusAsString()

      The status of a message sent using the SendBulkTemplatedEmail operation.

      Possible values for this parameter include:

      • Success: Amazon SES accepted the message, and attempts to deliver it to the recipients.

      • MessageRejected: The message was rejected because it contained a virus.

      • MailFromDomainNotVerified: The sender's email address or domain was not verified.

      • ConfigurationSetDoesNotExist: The configuration set you specified does not exist.

      • TemplateDoesNotExist: The template you specified does not exist.

      • AccountSuspended: Your account has been shut down because of issues related to your email sending practices.

      • AccountThrottled: The number of emails you can send has been reduced because your account has exceeded its allocated sending limit.

      • AccountDailyQuotaExceeded: You have reached or exceeded the maximum number of emails you can send from your account in a 24-hour period.

      • InvalidSendingPoolName: The configuration set you specified refers to an IP pool that does not exist.

      • AccountSendingPaused: Email sending for the Amazon SES account was disabled using the UpdateAccountSendingEnabled operation.

      • ConfigurationSetSendingPaused: Email sending for this configuration set was disabled using the UpdateConfigurationSetSendingEnabled operation.

      • InvalidParameterValue: One or more of the parameters you specified when calling this operation was invalid. See the error message for additional information.

      • TransientFailure: Amazon SES was unable to process your request because of a temporary issue.

      • Failed: Amazon SES was unable to process your request. See the error message for additional information.

      If the service returns an enum value that is not available in the current SDK version, status will return BulkEmailStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

      Returns:
      The status of a message sent using the SendBulkTemplatedEmail operation.

      Possible values for this parameter include:

      • Success: Amazon SES accepted the message, and attempts to deliver it to the recipients.

      • MessageRejected: The message was rejected because it contained a virus.

      • MailFromDomainNotVerified: The sender's email address or domain was not verified.

      • ConfigurationSetDoesNotExist: The configuration set you specified does not exist.

      • TemplateDoesNotExist: The template you specified does not exist.

      • AccountSuspended: Your account has been shut down because of issues related to your email sending practices.

      • AccountThrottled: The number of emails you can send has been reduced because your account has exceeded its allocated sending limit.

      • AccountDailyQuotaExceeded: You have reached or exceeded the maximum number of emails you can send from your account in a 24-hour period.

      • InvalidSendingPoolName: The configuration set you specified refers to an IP pool that does not exist.

      • AccountSendingPaused: Email sending for the Amazon SES account was disabled using the UpdateAccountSendingEnabled operation.

      • ConfigurationSetSendingPaused: Email sending for this configuration set was disabled using the UpdateConfigurationSetSendingEnabled operation.

      • InvalidParameterValue: One or more of the parameters you specified when calling this operation was invalid. See the error message for additional information.

      • TransientFailure: Amazon SES was unable to process your request because of a temporary issue.

      • Failed: Amazon SES was unable to process your request. See the error message for additional information.

      See Also:
    • error

      public final String error()

      A description of an error that prevented a message being sent using the SendBulkTemplatedEmail operation.

      Returns:
      A description of an error that prevented a message being sent using the SendBulkTemplatedEmail operation.
    • messageId

      public final String messageId()

      The unique message identifier returned from the SendBulkTemplatedEmail operation.

      Returns:
      The unique message identifier returned from the SendBulkTemplatedEmail operation.
    • toBuilder

      Description copied from interface: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<BulkEmailDestinationStatus.Builder,BulkEmailDestinationStatus>
      Returns:
      a builder for type T
    • builder

      public static BulkEmailDestinationStatus.Builder builder()
    • serializableBuilderClass

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

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

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

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • 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)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.