Class DescribeActiveReceiptRuleSetResult
- java.lang.Object
-
- com.amazonaws.services.simpleemail.model.DescribeActiveReceiptRuleSetResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescribeActiveReceiptRuleSetResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeActiveReceiptRuleSetResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeActiveReceiptRuleSetResult
clone()
boolean
equals(Object obj)
ReceiptRuleSetMetadata
getMetadata()
The metadata for the currently active receipt rule set.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(Collection<ReceiptRule> rules)
The receipt rules that belong to the active rule set.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(ReceiptRule... rules)
The receipt rules that belong to the active rule set.DescribeActiveReceiptRuleSetResult
withRules(Collection<ReceiptRule> rules)
The receipt rules that belong to the active rule set.
-
-
-
Method Detail
-
setMetadata
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.
- 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
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.
- 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
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.
- 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
public List<ReceiptRule> getRules()
The receipt rules that belong to the active rule set.
- Returns:
- The receipt rules that belong to the active rule set.
-
setRules
public void setRules(Collection<ReceiptRule> rules)
The receipt rules that belong to the active rule set.
- Parameters:
rules
- The receipt rules that belong to the active rule set.
-
withRules
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)
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
public DescribeActiveReceiptRuleSetResult withRules(Collection<ReceiptRule> rules)
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
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 DescribeActiveReceiptRuleSetResult clone()
-
-