Class CreateRuleRequest
- 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
The value returned by the most recent call to GetChangeToken.A friendly name or description for the metrics for thisRule
.getName()
A friendly name or description of the Rule.int
hashCode()
void
setChangeToken
(String changeToken) The value returned by the most recent call to GetChangeToken.void
setMetricName
(String metricName) A friendly name or description for the metrics for thisRule
.void
A friendly name or description of the Rule.toString()
Returns a string representation of this object; useful for testing and debugging.withChangeToken
(String changeToken) The value returned by the most recent call to GetChangeToken.withMetricName
(String metricName) A friendly name or description for the metrics for thisRule
.A friendly name or description of 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
-
CreateRuleRequest
public CreateRuleRequest()
-
-
Method Details
-
setName
A friendly name or description of the Rule. You can't change the name of a
Rule
after you create it.- Parameters:
name
- A friendly name or description of the Rule. You can't change the name of aRule
after you create it.
-
getName
A friendly name or description of the Rule. You can't change the name of a
Rule
after you create it.- Returns:
- A friendly name or description of the Rule. You can't
change the name of a
Rule
after you create it.
-
withName
A friendly name or description of the Rule. You can't change the name of a
Rule
after you create it.- Parameters:
name
- A friendly name or description of the Rule. You can't change the name of aRule
after you create it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMetricName
A friendly name or description for the metrics for this
Rule
. The name can contain only alphanumeric characters (A-Z, a-z, 0-9); the name can't contain whitespace. You can't change the name of the metric after you create theRule
.- Parameters:
metricName
- A friendly name or description for the metrics for thisRule
. The name can contain only alphanumeric characters (A-Z, a-z, 0-9); the name can't contain whitespace. You can't change the name of the metric after you create theRule
.
-
getMetricName
A friendly name or description for the metrics for this
Rule
. The name can contain only alphanumeric characters (A-Z, a-z, 0-9); the name can't contain whitespace. You can't change the name of the metric after you create theRule
.- Returns:
- A friendly name or description for the metrics for this
Rule
. The name can contain only alphanumeric characters (A-Z, a-z, 0-9); the name can't contain whitespace. You can't change the name of the metric after you create theRule
.
-
withMetricName
A friendly name or description for the metrics for this
Rule
. The name can contain only alphanumeric characters (A-Z, a-z, 0-9); the name can't contain whitespace. You can't change the name of the metric after you create theRule
.- Parameters:
metricName
- A friendly name or description for the metrics for thisRule
. The name can contain only alphanumeric characters (A-Z, a-z, 0-9); the name can't contain whitespace. You can't change the name of the metric after you create theRule
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setChangeToken
The value returned by the most recent call to GetChangeToken.
- Parameters:
changeToken
- The value returned by the most recent call to GetChangeToken.
-
getChangeToken
The value returned by the most recent call to GetChangeToken.
- Returns:
- The value returned by the most recent call to GetChangeToken.
-
withChangeToken
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
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:
-