public class DescribeActiveReceiptRuleSetResult
extends java.lang.Object
implements java.io.Serializable
Represents the metadata and receipt rules for the receipt rule set that is currently active.
Constructor and Description |
---|
DescribeActiveReceiptRuleSetResult() |
Modifier and Type | Method and Description |
---|---|
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.
|
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.
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 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 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.
Returns a reference to this object so that method calls can be chained together.
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.
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.
Returns a reference to this object so that method calls can be chained together.
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.
Returns a reference to this object so that method calls can be chained together.
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 int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.