@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateWebACLRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateWebACLRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateWebACLRequest |
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.
|
WafAction |
getDefaultAction()
The action that you want AWS WAF to take when a request doesn't match the criteria specified in any of the
Rule objects that are associated with the WebACL. |
String |
getMetricName()
A friendly name or description for the metrics for this
WebACL. |
String |
getName()
A friendly name or description of the WebACL.
|
int |
hashCode() |
void |
setChangeToken(String changeToken)
The value returned by the most recent call to GetChangeToken.
|
void |
setDefaultAction(WafAction defaultAction)
The action that you want AWS WAF to take when a request doesn't match the criteria specified in any of the
Rule objects that are associated with the WebACL. |
void |
setMetricName(String metricName)
A friendly name or description for the metrics for this
WebACL. |
void |
setName(String name)
A friendly name or description of the WebACL.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateWebACLRequest |
withChangeToken(String changeToken)
The value returned by the most recent call to GetChangeToken.
|
CreateWebACLRequest |
withDefaultAction(WafAction defaultAction)
The action that you want AWS WAF to take when a request doesn't match the criteria specified in any of the
Rule objects that are associated with the WebACL. |
CreateWebACLRequest |
withMetricName(String metricName)
A friendly name or description for the metrics for this
WebACL. |
CreateWebACLRequest |
withName(String name)
A friendly name or description of the WebACL.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setName(String name)
A friendly name or description of the WebACL. You can't change Name after you create the
WebACL.
name - A friendly name or description of the WebACL. You can't change Name after you create
the WebACL.public String getName()
A friendly name or description of the WebACL. You can't change Name after you create the
WebACL.
Name after you create
the WebACL.public CreateWebACLRequest withName(String name)
A friendly name or description of the WebACL. You can't change Name after you create the
WebACL.
name - A friendly name or description of the WebACL. You can't change Name after you create
the WebACL.public void setMetricName(String metricName)
A friendly name or description for the metrics for this WebACL. The name can contain only
alphanumeric characters (A-Z, a-z, 0-9); the name can't contain whitespace. You can't change
MetricName after you create the WebACL.
metricName - A friendly name or description for the metrics for this WebACL. The name can contain only
alphanumeric characters (A-Z, a-z, 0-9); the name can't contain whitespace. You can't change
MetricName after you create the WebACL.public String getMetricName()
A friendly name or description for the metrics for this WebACL. The name can contain only
alphanumeric characters (A-Z, a-z, 0-9); the name can't contain whitespace. You can't change
MetricName after you create the WebACL.
WebACL. The name can contain only
alphanumeric characters (A-Z, a-z, 0-9); the name can't contain whitespace. You can't change
MetricName after you create the WebACL.public CreateWebACLRequest withMetricName(String metricName)
A friendly name or description for the metrics for this WebACL. The name can contain only
alphanumeric characters (A-Z, a-z, 0-9); the name can't contain whitespace. You can't change
MetricName after you create the WebACL.
metricName - A friendly name or description for the metrics for this WebACL. The name can contain only
alphanumeric characters (A-Z, a-z, 0-9); the name can't contain whitespace. You can't change
MetricName after you create the WebACL.public void setDefaultAction(WafAction defaultAction)
The action that you want AWS WAF to take when a request doesn't match the criteria specified in any of the
Rule objects that are associated with the WebACL.
defaultAction - The action that you want AWS WAF to take when a request doesn't match the criteria specified in any of the
Rule objects that are associated with the WebACL.public WafAction getDefaultAction()
The action that you want AWS WAF to take when a request doesn't match the criteria specified in any of the
Rule objects that are associated with the WebACL.
Rule objects that are associated with the WebACL.public CreateWebACLRequest withDefaultAction(WafAction defaultAction)
The action that you want AWS WAF to take when a request doesn't match the criteria specified in any of the
Rule objects that are associated with the WebACL.
defaultAction - The action that you want AWS WAF to take when a request doesn't match the criteria specified in any of the
Rule objects that are associated with the WebACL.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 CreateWebACLRequest 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 ObjectObject.toString()public CreateWebACLRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.