public class DescribeReceiptRuleSetResult extends Object implements Serializable, Cloneable
Constructor and Description |
---|
DescribeReceiptRuleSetResult() |
Modifier and Type | Method and Description |
---|---|
DescribeReceiptRuleSetResult |
clone() |
boolean |
equals(Object obj) |
ReceiptRuleSetMetadata |
getMetadata()
The metadata for the receipt rule set, which consists of the rule set
name and the timestamp of when the rule set was created.
|
List<ReceiptRule> |
getRules()
A list of the receipt rules that belong to the specified receipt rule
set.
|
int |
hashCode() |
void |
setMetadata(ReceiptRuleSetMetadata metadata)
The metadata for the receipt rule set, which consists of the rule set
name and the timestamp of when the rule set was created.
|
void |
setRules(Collection<ReceiptRule> rules)
A list of the receipt rules that belong to the specified receipt rule
set.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeReceiptRuleSetResult |
withMetadata(ReceiptRuleSetMetadata metadata)
The metadata for the receipt rule set, which consists of the rule set
name and the timestamp of when the rule set was created.
|
DescribeReceiptRuleSetResult |
withRules(Collection<ReceiptRule> rules)
A list of the receipt rules that belong to the specified receipt rule
set.
|
DescribeReceiptRuleSetResult |
withRules(ReceiptRule... rules)
A list of the receipt rules that belong to the specified receipt rule
set.
|
public void setMetadata(ReceiptRuleSetMetadata metadata)
The metadata for the receipt rule set, which consists of the rule set name and the timestamp of when the rule set was created.
metadata
- The metadata for the receipt rule set, which consists of the rule
set name and the timestamp of when the rule set was created.public ReceiptRuleSetMetadata getMetadata()
The metadata for the receipt rule set, which consists of the rule set name and the timestamp of when the rule set was created.
public DescribeReceiptRuleSetResult withMetadata(ReceiptRuleSetMetadata metadata)
The metadata for the receipt rule set, which consists of the rule set name and the timestamp of when the rule set was created.
metadata
- The metadata for the receipt rule set, which consists of the rule
set name and the timestamp of when the rule set was created.public List<ReceiptRule> getRules()
A list of the receipt rules that belong to the specified receipt rule set.
public void setRules(Collection<ReceiptRule> rules)
A list of the receipt rules that belong to the specified receipt rule set.
rules
- A list of the receipt rules that belong to the specified receipt
rule set.public DescribeReceiptRuleSetResult withRules(ReceiptRule... rules)
A list of the receipt rules that belong to the specified receipt 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
- A list of the receipt rules that belong to the specified receipt
rule set.public DescribeReceiptRuleSetResult withRules(Collection<ReceiptRule> rules)
A list of the receipt rules that belong to the specified receipt rule set.
rules
- A list of the receipt rules that belong to the specified receipt
rule set.public String toString()
toString
in class Object
Object.toString()
public DescribeReceiptRuleSetResult clone()
Copyright © 2016. All rights reserved.