@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateRuleGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateRuleGroupRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateRuleGroupRequest |
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
RuleGroup. |
String |
getName()
A friendly name or description of the RuleGroup.
|
List<Tag> |
getTags()
|
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
RuleGroup. |
void |
setName(String name)
A friendly name or description of the RuleGroup.
|
void |
setTags(Collection<Tag> tags)
|
String |
toString()
Returns a string representation of this object.
|
CreateRuleGroupRequest |
withChangeToken(String changeToken)
The value returned by the most recent call to GetChangeToken.
|
CreateRuleGroupRequest |
withMetricName(String metricName)
A friendly name or description for the metrics for this
RuleGroup. |
CreateRuleGroupRequest |
withName(String name)
A friendly name or description of the RuleGroup.
|
CreateRuleGroupRequest |
withTags(Collection<Tag> tags)
|
CreateRuleGroupRequest |
withTags(Tag... tags)
|
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, withSdkRequestTimeoutpublic void setName(String name)
A friendly name or description of the RuleGroup. You can't change Name after you create a
RuleGroup.
name - A friendly name or description of the RuleGroup. You can't change Name after you
create a RuleGroup.public String getName()
A friendly name or description of the RuleGroup. You can't change Name after you create a
RuleGroup.
Name after you
create a RuleGroup.public CreateRuleGroupRequest withName(String name)
A friendly name or description of the RuleGroup. You can't change Name after you create a
RuleGroup.
name - A friendly name or description of the RuleGroup. You can't change Name after you
create a RuleGroup.public void setMetricName(String metricName)
A friendly name or description for the metrics for this RuleGroup. The name can contain only
alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain
whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change the name
of the metric after you create the RuleGroup.
metricName - A friendly name or description for the metrics for this RuleGroup. The name can contain only
alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain
whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change
the name of the metric after you create the RuleGroup.public String getMetricName()
A friendly name or description for the metrics for this RuleGroup. The name can contain only
alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain
whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change the name
of the metric after you create the RuleGroup.
RuleGroup. The name can contain only
alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain
whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change
the name of the metric after you create the RuleGroup.public CreateRuleGroupRequest withMetricName(String metricName)
A friendly name or description for the metrics for this RuleGroup. The name can contain only
alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain
whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change the name
of the metric after you create the RuleGroup.
metricName - A friendly name or description for the metrics for this RuleGroup. The name can contain only
alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain
whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change
the name of the metric after you create the RuleGroup.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 CreateRuleGroupRequest 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 void setTags(Collection<Tag> tags)
tags - public CreateRuleGroupRequest withTags(Tag... tags)
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the
existing values.
tags - public CreateRuleGroupRequest withTags(Collection<Tag> tags)
tags - public String toString()
toString in class ObjectObject.toString()public CreateRuleGroupRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()