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 request.
|
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.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public 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 Object
Object.toString()
public CreateWebACLRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.