Class DescribeReceiptRuleSetResult
- java.lang.Object
-
- com.amazonaws.services.simpleemail.model.DescribeReceiptRuleSetResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescribeReceiptRuleSetResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeReceiptRuleSetResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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(ReceiptRule... rules)
A list of the receipt rules that belong to the specified receipt rule set.DescribeReceiptRuleSetResult
withRules(Collection<ReceiptRule> rules)
A list of the receipt rules that belong to the specified receipt rule set.
-
-
-
Method Detail
-
setMetadata
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.
- Parameters:
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.
-
getMetadata
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.
- Returns:
- The metadata for the receipt rule set, which consists of the rule set name and the timestamp of when the rule set was created.
-
withMetadata
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getRules
public List<ReceiptRule> getRules()
A list of the receipt rules that belong to the specified receipt rule set.
- Returns:
- A list of the receipt rules that belong to the specified receipt rule set.
-
setRules
public void setRules(Collection<ReceiptRule> rules)
A list of the receipt rules that belong to the specified receipt rule set.
- Parameters:
rules
- A list of the receipt rules that belong to the specified receipt rule set.
-
withRules
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)
orwithRules(java.util.Collection)
if you want to override the existing values.- Parameters:
rules
- A list of the receipt rules that belong to the specified receipt rule set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withRules
public DescribeReceiptRuleSetResult withRules(Collection<ReceiptRule> rules)
A list of the receipt rules that belong to the specified receipt rule set.
- Parameters:
rules
- A list of the receipt rules that belong to the specified receipt rule set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeReceiptRuleSetResult clone()
-
-