public class DescribeActiveReceiptRuleSetResult extends Object implements Serializable, Cloneable
| Constructor and Description |
|---|
DescribeActiveReceiptRuleSetResult() |
| Modifier and Type | Method and Description |
|---|---|
DescribeActiveReceiptRuleSetResult |
clone() |
boolean |
equals(Object obj) |
ReceiptRuleSetMetadata |
getMetadata()
The metadata for the currently active receipt rule set.
|
List<ReceiptRule> |
getRules()
The receipt rules that belong to the active rule set.
|
int |
hashCode() |
void |
setMetadata(ReceiptRuleSetMetadata metadata)
The metadata for the currently active receipt rule set.
|
void |
setRules(Collection<ReceiptRule> rules)
The receipt rules that belong to the active rule set.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeActiveReceiptRuleSetResult |
withMetadata(ReceiptRuleSetMetadata metadata)
The metadata for the currently active receipt rule set.
|
DescribeActiveReceiptRuleSetResult |
withRules(Collection<ReceiptRule> rules)
The receipt rules that belong to the active rule set.
|
DescribeActiveReceiptRuleSetResult |
withRules(ReceiptRule... rules)
The receipt rules that belong to the active rule set.
|
public ReceiptRuleSetMetadata getMetadata()
public void setMetadata(ReceiptRuleSetMetadata metadata)
metadata - The metadata for the currently active receipt rule set. The metadata
consists of the rule set name and a timestamp of when the rule set was
created.public DescribeActiveReceiptRuleSetResult withMetadata(ReceiptRuleSetMetadata metadata)
Returns a reference to this object so that method calls can be chained together.
metadata - The metadata for the currently active receipt rule set. The metadata
consists of the rule set name and a timestamp of when the rule set was
created.public List<ReceiptRule> getRules()
public void setRules(Collection<ReceiptRule> rules)
rules - The receipt rules that belong to the active rule set.public DescribeActiveReceiptRuleSetResult withRules(ReceiptRule... rules)
NOTE: This method appends the values to the existing list (if
any). Use setRules(java.util.Collection) or withRules(java.util.Collection) if you want to override the existing
values.
Returns a reference to this object so that method calls can be chained together.
rules - The receipt rules that belong to the active rule set.public DescribeActiveReceiptRuleSetResult withRules(Collection<ReceiptRule> rules)
Returns a reference to this object so that method calls can be chained together.
rules - The receipt rules that belong to the active rule set.public String toString()
toString in class ObjectObject.toString()public DescribeActiveReceiptRuleSetResult clone()
Copyright © 2015. All rights reserved.