Package com.amazonaws.services.waf.model
Class DeleteRuleRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.waf.model.DeleteRuleRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class DeleteRuleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DeleteRuleRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeleteRuleRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getChangeToken()
The value returned by the most recent call to GetChangeToken.String
getRuleId()
TheRuleId
of the Rule that you want to delete.int
hashCode()
void
setChangeToken(String changeToken)
The value returned by the most recent call to GetChangeToken.void
setRuleId(String ruleId)
TheRuleId
of the Rule that you want to delete.String
toString()
Returns a string representation of this object; useful for testing and debugging.DeleteRuleRequest
withChangeToken(String changeToken)
The value returned by the most recent call to GetChangeToken.DeleteRuleRequest
withRuleId(String ruleId)
TheRuleId
of the Rule that you want to delete.-
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
-
-
-
-
Method Detail
-
setRuleId
public void setRuleId(String ruleId)
The
RuleId
of the Rule that you want to delete.RuleId
is returned by CreateRule and by ListRules.- Parameters:
ruleId
- TheRuleId
of the Rule that you want to delete.RuleId
is returned by CreateRule and by ListRules.
-
getRuleId
public String getRuleId()
The
RuleId
of the Rule that you want to delete.RuleId
is returned by CreateRule and by ListRules.- Returns:
- The
RuleId
of the Rule that you want to delete.RuleId
is returned by CreateRule and by ListRules.
-
withRuleId
public DeleteRuleRequest withRuleId(String ruleId)
The
RuleId
of the Rule that you want to delete.RuleId
is returned by CreateRule and by ListRules.- Parameters:
ruleId
- TheRuleId
of the Rule that you want to delete.RuleId
is returned by CreateRule and by ListRules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setChangeToken
public void setChangeToken(String changeToken)
The value returned by the most recent call to GetChangeToken.
- Parameters:
changeToken
- The value returned by the most recent call to GetChangeToken.
-
getChangeToken
public String getChangeToken()
The value returned by the most recent call to GetChangeToken.
- Returns:
- The value returned by the most recent call to GetChangeToken.
-
withChangeToken
public DeleteRuleRequest withChangeToken(String changeToken)
The value returned by the most recent call to GetChangeToken.
- Parameters:
changeToken
- The value returned by the most recent call to GetChangeToken.- 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 DeleteRuleRequest 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:
Object.clone()
-
-