public class DescribeReceiptRuleResult
extends java.lang.Object
implements java.io.Serializable
Represents the details of a receipt rule.
| Constructor and Description |
|---|
DescribeReceiptRuleResult() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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.
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 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.
Returns a reference to this object so that method calls can be chained together.
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.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.