public class DescribeReceiptRuleSetResult
extends java.lang.Object
implements java.io.Serializable
Represents the details of the specified receipt rule set.
Constructor and Description |
---|
DescribeReceiptRuleSetResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.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.
|
java.util.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(java.util.Collection<ReceiptRule> rules)
A list of the receipt rules that belong to the specified receipt rule
set.
|
java.lang.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(java.util.Collection<ReceiptRule> rules)
A list of the receipt rules that belong to the specified receipt rule
set.
|
DescribeReceiptRuleSetResult |
withRules(ReceiptRule... rules)
A list of the receipt rules that belong to the specified receipt rule
set.
|
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.
The metadata for the receipt rule set, which consists of the rule set name and the timestamp of when the rule set was created.
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.
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.
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.
Returns a reference to this object so that method calls can be chained together.
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.
public java.util.List<ReceiptRule> getRules()
A list of the receipt rules that belong to the specified receipt rule set.
A list of the receipt rules that belong to the specified receipt rule set.
public void setRules(java.util.Collection<ReceiptRule> rules)
A list of the receipt rules that belong to the specified receipt rule set.
rules
- A list of the receipt rules that belong to the specified receipt rule set.
public DescribeReceiptRuleSetResult withRules(ReceiptRule... rules)
A list of the receipt rules that belong to the specified receipt rule set.
Returns a reference to this object so that method calls can be chained together.
rules
- A list of the receipt rules that belong to the specified receipt rule set.
public DescribeReceiptRuleSetResult withRules(java.util.Collection<ReceiptRule> rules)
A list of the receipt rules that belong to the specified receipt rule set.
Returns a reference to this object so that method calls can be chained together.
rules
- A list of the receipt rules that belong to the specified receipt 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.