@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Bounce extends Object implements Serializable, Cloneable, StructuredPojo
Information about a Bounce event.
| Constructor and Description |
|---|
Bounce() |
| Modifier and Type | Method and Description |
|---|---|
Bounce |
clone() |
boolean |
equals(Object obj) |
String |
getBounceSubType()
The subtype of the bounce, as determined by SES.
|
String |
getBounceType()
The type of the bounce, as determined by SES.
|
String |
getDiagnosticCode()
The status code issued by the reporting Message Transfer Authority (MTA).
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setBounceSubType(String bounceSubType)
The subtype of the bounce, as determined by SES.
|
void |
setBounceType(String bounceType)
The type of the bounce, as determined by SES.
|
void |
setDiagnosticCode(String diagnosticCode)
The status code issued by the reporting Message Transfer Authority (MTA).
|
String |
toString()
Returns a string representation of this object.
|
Bounce |
withBounceSubType(String bounceSubType)
The subtype of the bounce, as determined by SES.
|
Bounce |
withBounceType(BounceType bounceType)
The type of the bounce, as determined by SES.
|
Bounce |
withBounceType(String bounceType)
The type of the bounce, as determined by SES.
|
Bounce |
withDiagnosticCode(String diagnosticCode)
The status code issued by the reporting Message Transfer Authority (MTA).
|
public void setBounceType(String bounceType)
The type of the bounce, as determined by SES. Can be one of UNDETERMINED, TRANSIENT, or
PERMANENT
bounceType - The type of the bounce, as determined by SES. Can be one of UNDETERMINED,
TRANSIENT, or PERMANENTBounceTypepublic String getBounceType()
The type of the bounce, as determined by SES. Can be one of UNDETERMINED, TRANSIENT, or
PERMANENT
UNDETERMINED,
TRANSIENT, or PERMANENTBounceTypepublic Bounce withBounceType(String bounceType)
The type of the bounce, as determined by SES. Can be one of UNDETERMINED, TRANSIENT, or
PERMANENT
bounceType - The type of the bounce, as determined by SES. Can be one of UNDETERMINED,
TRANSIENT, or PERMANENTBounceTypepublic Bounce withBounceType(BounceType bounceType)
The type of the bounce, as determined by SES. Can be one of UNDETERMINED, TRANSIENT, or
PERMANENT
bounceType - The type of the bounce, as determined by SES. Can be one of UNDETERMINED,
TRANSIENT, or PERMANENTBounceTypepublic void setBounceSubType(String bounceSubType)
The subtype of the bounce, as determined by SES.
bounceSubType - The subtype of the bounce, as determined by SES.public String getBounceSubType()
The subtype of the bounce, as determined by SES.
public Bounce withBounceSubType(String bounceSubType)
The subtype of the bounce, as determined by SES.
bounceSubType - The subtype of the bounce, as determined by SES.public void setDiagnosticCode(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.
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.public String getDiagnosticCode()
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 withDiagnosticCode(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.
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.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.