@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeActiveReceiptRuleSetResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Represents the metadata and receipt rules for the receipt rule set that is currently active.
| 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.
|
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.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata public DescribeActiveReceiptRuleSetResult()
public void setMetadata(ReceiptRuleSetMetadata 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.
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 ReceiptRuleSetMetadata getMetadata()
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)
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.
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()
The receipt rules that belong to the active rule set.
public void setRules(Collection<ReceiptRule> rules)
The receipt rules that belong to the active rule set.
rules - The receipt rules that belong to the active rule set.public DescribeActiveReceiptRuleSetResult withRules(ReceiptRule... rules)
The receipt rules that belong to the active rule set.
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.
rules - The receipt rules that belong to the active rule set.public DescribeActiveReceiptRuleSetResult withRules(Collection<ReceiptRule> rules)
The receipt rules that belong to the active rule set.
rules - The receipt rules that belong to the active rule set.public String toString()
toString in class Object Object.toString() public DescribeActiveReceiptRuleSetResult clone()