public class DescribeReceiptRuleResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private ReceiptRule |
rule
A data structure that contains the specified receipt rule's name,
actions, recipients, domains, enabled status, scan status, and Transport
Layer Security (TLS) policy.
|
Constructor and Description |
---|
DescribeReceiptRuleResult() |
Modifier and Type | Method and Description |
---|---|
DescribeReceiptRuleResult |
clone() |
boolean |
equals(java.lang.Object obj) |
ReceiptRule |
getRule()
A data structure that contains the specified receipt rule's name,
actions, recipients, domains, enabled status, scan status, and Transport
Layer Security (TLS) policy.
|
int |
hashCode() |
void |
setRule(ReceiptRule rule)
A data structure that contains the specified receipt rule's name,
actions, recipients, domains, enabled status, scan status, and Transport
Layer Security (TLS) policy.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeReceiptRuleResult |
withRule(ReceiptRule rule)
A data structure that contains the specified receipt rule's name,
actions, recipients, domains, enabled status, scan status, and Transport
Layer Security (TLS) policy.
|
private ReceiptRule rule
A data structure that contains the specified receipt rule's name, actions, recipients, domains, enabled status, scan status, and Transport Layer Security (TLS) policy.
public void setRule(ReceiptRule rule)
A data structure that contains the specified receipt rule's name, actions, recipients, domains, enabled status, scan status, and Transport Layer Security (TLS) policy.
rule
- A data structure that contains the specified receipt rule's name,
actions, recipients, domains, enabled status, scan status, and
Transport Layer Security (TLS) policy.public ReceiptRule getRule()
A data structure that contains the specified receipt rule's name, actions, recipients, domains, enabled status, scan status, and Transport Layer Security (TLS) policy.
public DescribeReceiptRuleResult withRule(ReceiptRule rule)
A data structure that contains the specified receipt rule's name, actions, recipients, domains, enabled status, scan status, and Transport Layer Security (TLS) policy.
rule
- A data structure that contains the specified receipt rule's name,
actions, recipients, domains, enabled status, scan status, and
Transport Layer Security (TLS) policy.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeReceiptRuleResult clone()
clone
in class java.lang.Object