Class CreateReceiptRuleRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
getAfter()
The name of an existing rule after which the new rule will be placed.getRule()
A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan status, and TLS policy.The name of the rule set to which to add the rule.int
hashCode()
void
The name of an existing rule after which the new rule will be placed.void
setRule
(ReceiptRule rule) A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan status, and TLS policy.void
setRuleSetName
(String ruleSetName) The name of the rule set to which to add the rule.toString()
Returns a string representation of this object; useful for testing and debugging.The name of an existing rule after which the new rule will be placed.withRule
(ReceiptRule rule) A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan status, and TLS policy.withRuleSetName
(String ruleSetName) The name of the rule set to which to add the rule.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
Constructor Details
-
CreateReceiptRuleRequest
public CreateReceiptRuleRequest()
-
-
Method Details
-
setRuleSetName
The name of the rule set to which to add the rule.
- Parameters:
ruleSetName
- The name of the rule set to which to add the rule.
-
getRuleSetName
The name of the rule set to which to add the rule.
- Returns:
- The name of the rule set to which to add the rule.
-
withRuleSetName
The name of the rule set to which to add the rule.
- Parameters:
ruleSetName
- The name of the rule set to which to add the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAfter
The name of an existing rule after which the new rule will be placed. If this parameter is null, the new rule will be inserted at the beginning of the rule list.
- Parameters:
after
- The name of an existing rule after which the new rule will be placed. If this parameter is null, the new rule will be inserted at the beginning of the rule list.
-
getAfter
The name of an existing rule after which the new rule will be placed. If this parameter is null, the new rule will be inserted at the beginning of the rule list.
- Returns:
- The name of an existing rule after which the new rule will be placed. If this parameter is null, the new rule will be inserted at the beginning of the rule list.
-
withAfter
The name of an existing rule after which the new rule will be placed. If this parameter is null, the new rule will be inserted at the beginning of the rule list.
- Parameters:
after
- The name of an existing rule after which the new rule will be placed. If this parameter is null, the new rule will be inserted at the beginning of the rule list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRule
A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan status, and TLS policy.
- Parameters:
rule
- A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan status, and TLS policy.
-
getRule
A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan status, and TLS policy.
- Returns:
- A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan status, and TLS policy.
-
withRule
A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan status, and TLS policy.
- Parameters:
rule
- A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan status, and TLS policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-