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 ReceiptRuleSetMetadata getMetadata()
public void setMetadata(ReceiptRuleSetMetadata metadata)
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 DescribeReceiptRuleSetResult withMetadata(ReceiptRuleSetMetadata metadata)
Returns a reference to this object so that method calls can be chained together.
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()
public void setRules(Collection<ReceiptRule> rules)
rules
- A list of the receipt rules that belong to the specified receipt rule
set.public DescribeReceiptRuleSetResult 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
- A list of the receipt rules that belong to the specified receipt rule
set.public DescribeReceiptRuleSetResult withRules(Collection<ReceiptRule> rules)
Returns a reference to this object so that method calls can be chained together.
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 © 2015. All rights reserved.