@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateRuleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateRuleRequest() |
Modifier and Type | Method and Description |
---|---|
CreateRuleRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getChangeToken()
The value returned by the most recent call to GetChangeToken.
|
String |
getMetricName()
A friendly name or description for the metrics for this
Rule . |
String |
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 this
Rule . |
void |
setName(String name)
A friendly name or description of the Rule.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateRuleRequest |
withChangeToken(String changeToken)
The value returned by the most recent call to GetChangeToken.
|
CreateRuleRequest |
withMetricName(String metricName)
A friendly name or description for the metrics for this
Rule . |
CreateRuleRequest |
withName(String name)
A friendly name or description of the Rule.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setName(String name)
A friendly name or description of the Rule. You can't change the name of a Rule
after you
create it.
name
- A friendly name or description of the Rule. You can't change the name of a Rule
after
you create it.public String getName()
A friendly name or description of the Rule. You can't change the name of a Rule
after you
create it.
Rule
after
you create it.public CreateRuleRequest withName(String name)
A friendly name or description of the Rule. You can't change the name of a Rule
after you
create it.
name
- A friendly name or description of the Rule. You can't change the name of a Rule
after
you create it.public void setMetricName(String metricName)
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 the Rule
.
metricName
- 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 the Rule
.public String 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 the Rule
.
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 the Rule
.public CreateRuleRequest withMetricName(String metricName)
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 the Rule
.
metricName
- 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 the Rule
.public void setChangeToken(String changeToken)
The value returned by the most recent call to GetChangeToken.
changeToken
- The value returned by the most recent call to GetChangeToken.public String getChangeToken()
The value returned by the most recent call to GetChangeToken.
public CreateRuleRequest withChangeToken(String changeToken)
The value returned by the most recent call to GetChangeToken.
changeToken
- The value returned by the most recent call to GetChangeToken.public String toString()
toString
in class Object
Object.toString()
public CreateRuleRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.