Class DescribeActiveReceiptRuleSetResult
- All Implemented Interfaces:
Serializable, Cloneable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe metadata for the currently active receipt rule set.getRules()The receipt rules that belong to the active rule set.inthashCode()voidsetMetadata(ReceiptRuleSetMetadata metadata) The metadata for the currently active receipt rule set.voidsetRules(Collection<ReceiptRule> rules) The receipt rules that belong to the active rule set.toString()Returns a string representation of this object; useful for testing and debugging.withMetadata(ReceiptRuleSetMetadata metadata) The metadata for the currently active receipt rule set.withRules(ReceiptRule... rules) The receipt rules that belong to the active rule set.withRules(Collection<ReceiptRule> rules) The receipt rules that belong to the active rule set.
-
Constructor Details
-
DescribeActiveReceiptRuleSetResult
public DescribeActiveReceiptRuleSetResult()
-
-
Method Details
-
setMetadata
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.
- Parameters:
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.
-
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.
- Returns:
- 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.
-
withMetadata
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getRules
The receipt rules that belong to the active rule set.
- Returns:
- The receipt rules that belong to the active rule set.
-
setRules
The receipt rules that belong to the active rule set.
- Parameters:
rules- The receipt rules that belong to the active rule set.
-
withRules
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)orwithRules(java.util.Collection)if you want to override the existing values.- Parameters:
rules- The receipt rules that belong to the active rule set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withRules
The receipt rules that belong to the active rule set.
- Parameters:
rules- The receipt rules that belong to the active rule set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-