public class DescribeReceiptRuleSetResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private 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.
|
private SdkInternalList<ReceiptRule> |
rules
A list of the receipt rules that belong to the specified receipt rule
set.
|
Constructor and Description |
---|
DescribeReceiptRuleSetResult() |
Modifier and Type | Method and Description |
---|---|
DescribeReceiptRuleSetResult |
clone() |
boolean |
equals(java.lang.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.
|
java.util.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(java.util.Collection<ReceiptRule> rules)
A list of the receipt rules that belong to the specified receipt rule
set.
|
java.lang.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(java.util.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.
|
private 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.
private SdkInternalList<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 java.util.List<ReceiptRule> getRules()
A list of the receipt rules that belong to the specified receipt rule set.
public void setRules(java.util.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(java.util.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeReceiptRuleSetResult clone()
clone
in class java.lang.Object