public class DescribeActiveReceiptRuleSetResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private ReceiptRuleSetMetadata |
metadata
The metadata for the currently active receipt rule set.
|
private SdkInternalList<ReceiptRule> |
rules
The receipt rules that belong to the active rule set.
|
Constructor and Description |
---|
DescribeActiveReceiptRuleSetResult() |
Modifier and Type | Method and Description |
---|---|
DescribeActiveReceiptRuleSetResult |
clone() |
boolean |
equals(java.lang.Object obj) |
ReceiptRuleSetMetadata |
getMetadata()
The metadata for the currently active receipt rule set.
|
java.util.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(java.util.Collection<ReceiptRule> rules)
The receipt rules that belong to the active rule set.
|
java.lang.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(java.util.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.
|
private 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.
private SdkInternalList<ReceiptRule> rules
The receipt rules that belong to the active rule set.
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 java.util.List<ReceiptRule> getRules()
The receipt rules that belong to the active rule set.
public void setRules(java.util.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(java.util.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 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 DescribeActiveReceiptRuleSetResult clone()
clone
in class java.lang.Object