@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 PERMANENT
BounceType
public String getBounceType()
The type of the bounce, as determined by SES. Can be one of UNDETERMINED
, TRANSIENT
, or
PERMANENT
UNDETERMINED
,
TRANSIENT
, or PERMANENT
BounceType
public 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 PERMANENT
BounceType
public 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 PERMANENT
BounceType
public 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 Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.