@Generated(value="software.amazon.awssdk:codegen") public final class Bounce extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Bounce.Builder,Bounce>
Information about a Bounce event.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Bounce.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
bounceSubType()
The subtype of the bounce, as determined by SES.
|
BounceType |
bounceType()
The type of the bounce, as determined by SES.
|
String |
bounceTypeAsString()
The type of the bounce, as determined by SES.
|
static Bounce.Builder |
builder() |
String |
diagnosticCode()
The status code issued by the reporting Message Transfer Authority (MTA).
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Bounce.Builder> |
serializableBuilderClass() |
Bounce.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final BounceType bounceType()
The type of the bounce, as determined by SES. Can be one of UNDETERMINED, TRANSIENT, or
PERMANENT
If the service returns an enum value that is not available in the current SDK version, bounceType will
return BounceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
bounceTypeAsString().
UNDETERMINED,
TRANSIENT, or PERMANENTBounceTypepublic final String bounceTypeAsString()
The type of the bounce, as determined by SES. Can be one of UNDETERMINED, TRANSIENT, or
PERMANENT
If the service returns an enum value that is not available in the current SDK version, bounceType will
return BounceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
bounceTypeAsString().
UNDETERMINED,
TRANSIENT, or PERMANENTBounceTypepublic final String bounceSubType()
The subtype of the bounce, as determined by SES.
public final String diagnosticCode()
The status code issued by the reporting Message Transfer Authority (MTA). This field only appears if a delivery
status notification (DSN) was attached to the bounce and the Diagnostic-Code was provided in the
DSN.
Diagnostic-Code was
provided in the DSN.public Bounce.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Bounce.Builder,Bounce>public static Bounce.Builder builder()
public static Class<? extends Bounce.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.