public class UpdateReceiptRuleRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private ReceiptRule |
rule
A data structure that contains the updated receipt rule information.
|
private java.lang.String |
ruleSetName
The name of the receipt rule set to which the receipt rule belongs.
|
NOOP
Constructor and Description |
---|
UpdateReceiptRuleRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateReceiptRuleRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
ReceiptRule |
getRule()
A data structure that contains the updated receipt rule information.
|
java.lang.String |
getRuleSetName()
The name of the receipt rule set to which the receipt rule belongs.
|
int |
hashCode() |
void |
setRule(ReceiptRule rule)
A data structure that contains the updated receipt rule information.
|
void |
setRuleSetName(java.lang.String ruleSetName)
The name of the receipt rule set to which the receipt rule belongs.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateReceiptRuleRequest |
withRule(ReceiptRule rule)
A data structure that contains the updated receipt rule information.
|
UpdateReceiptRuleRequest |
withRuleSetName(java.lang.String ruleSetName)
The name of the receipt rule set to which the receipt rule belongs.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String ruleSetName
The name of the receipt rule set to which the receipt rule belongs.
private ReceiptRule rule
A data structure that contains the updated receipt rule information.
public void setRuleSetName(java.lang.String ruleSetName)
The name of the receipt rule set to which the receipt rule belongs.
ruleSetName
- The name of the receipt rule set to which the receipt rule
belongs.public java.lang.String getRuleSetName()
The name of the receipt rule set to which the receipt rule belongs.
public UpdateReceiptRuleRequest withRuleSetName(java.lang.String ruleSetName)
The name of the receipt rule set to which the receipt rule belongs.
ruleSetName
- The name of the receipt rule set to which the receipt rule
belongs.public void setRule(ReceiptRule rule)
A data structure that contains the updated receipt rule information.
rule
- A data structure that contains the updated receipt rule
information.public ReceiptRule getRule()
A data structure that contains the updated receipt rule information.
public UpdateReceiptRuleRequest withRule(ReceiptRule rule)
A data structure that contains the updated receipt rule information.
rule
- A data structure that contains the updated receipt rule
information.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public UpdateReceiptRuleRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()