@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeReceiptRuleResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Represents the details of a receipt rule.
Constructor and Description |
---|
DescribeReceiptRuleResult() |
Modifier and Type | Method and Description |
---|---|
DescribeReceiptRuleResult |
clone() |
boolean |
equals(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.
|
String |
toString()
Returns a string representation of this object.
|
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.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 String toString()
toString
in class Object
Object.toString()
public DescribeReceiptRuleResult clone()