Class Bounce
- java.lang.Object
-
- software.amazon.awssdk.services.sesv2.model.Bounce
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Bounce.Builder,Bounce>
@Generated("software.amazon.awssdk:codegen") public final class Bounce extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Bounce.Builder,Bounce>
Information about a
Bounceevent.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBounce.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbounceSubType()The subtype of the bounce, as determined by SES.BounceTypebounceType()The type of the bounce, as determined by SES.StringbounceTypeAsString()The type of the bounce, as determined by SES.static Bounce.Builderbuilder()StringdiagnosticCode()The status code issued by the reporting Message Transfer Authority (MTA).booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends Bounce.Builder>serializableBuilderClass()Bounce.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
bounceType
public final BounceType bounceType()
The type of the bounce, as determined by SES. Can be one of
UNDETERMINED,TRANSIENT, orPERMANENTIf the service returns an enum value that is not available in the current SDK version,
bounceTypewill returnBounceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombounceTypeAsString().- Returns:
- The type of the bounce, as determined by SES. Can be one of
UNDETERMINED,TRANSIENT, orPERMANENT - See Also:
BounceType
-
bounceTypeAsString
public final String bounceTypeAsString()
The type of the bounce, as determined by SES. Can be one of
UNDETERMINED,TRANSIENT, orPERMANENTIf the service returns an enum value that is not available in the current SDK version,
bounceTypewill returnBounceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombounceTypeAsString().- Returns:
- The type of the bounce, as determined by SES. Can be one of
UNDETERMINED,TRANSIENT, orPERMANENT - See Also:
BounceType
-
bounceSubType
public final String bounceSubType()
The subtype of the bounce, as determined by SES.
- Returns:
- The subtype of the bounce, as determined by SES.
-
diagnosticCode
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-Codewas provided in the DSN.- Returns:
- 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-Codewas provided in the DSN.
-
toBuilder
public Bounce.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Bounce.Builder,Bounce>
-
builder
public static Bounce.Builder builder()
-
serializableBuilderClass
public static Class<? extends Bounce.Builder> serializableBuilderClass()
-
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.
-
-