@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateRegexPatternSetRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateRegexPatternSetRequest() |
Modifier and Type | Method and Description |
---|---|
CreateRegexPatternSetRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
A friendly description of the set.
|
String |
getName()
A friendly name of the set.
|
List<Regex> |
getRegularExpressionList()
Array of regular expression strings.
|
String |
getScope()
Specifies whether this is for an AWS CloudFront distribution or for a regional application.
|
List<Tag> |
getTags()
An array of key:value pairs to associate with the resource.
|
int |
hashCode() |
void |
setDescription(String description)
A friendly description of the set.
|
void |
setName(String name)
A friendly name of the set.
|
void |
setRegularExpressionList(Collection<Regex> regularExpressionList)
Array of regular expression strings.
|
void |
setScope(String scope)
Specifies whether this is for an AWS CloudFront distribution or for a regional application.
|
void |
setTags(Collection<Tag> tags)
An array of key:value pairs to associate with the resource.
|
String |
toString()
Returns a string representation of this object.
|
CreateRegexPatternSetRequest |
withDescription(String description)
A friendly description of the set.
|
CreateRegexPatternSetRequest |
withName(String name)
A friendly name of the set.
|
CreateRegexPatternSetRequest |
withRegularExpressionList(Collection<Regex> regularExpressionList)
Array of regular expression strings.
|
CreateRegexPatternSetRequest |
withRegularExpressionList(Regex... regularExpressionList)
Array of regular expression strings.
|
CreateRegexPatternSetRequest |
withScope(Scope scope)
Specifies whether this is for an AWS CloudFront distribution or for a regional application.
|
CreateRegexPatternSetRequest |
withScope(String scope)
Specifies whether this is for an AWS CloudFront distribution or for a regional application.
|
CreateRegexPatternSetRequest |
withTags(Collection<Tag> tags)
An array of key:value pairs to associate with the resource.
|
CreateRegexPatternSetRequest |
withTags(Tag... tags)
An array of key:value pairs to associate with the resource.
|
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 of the set. You cannot change the name after you create the set.
name
- A friendly name of the set. You cannot change the name after you create the set.public String getName()
A friendly name of the set. You cannot change the name after you create the set.
public CreateRegexPatternSetRequest withName(String name)
A friendly name of the set. You cannot change the name after you create the set.
name
- A friendly name of the set. You cannot change the name after you create the set.public void setScope(String scope)
Specifies whether this is for an AWS CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB) or an API Gateway stage.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
CLI - Specify the region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1
.
API and SDKs - For all calls, use the Region endpoint us-east-1.
scope
- Specifies whether this is for an AWS CloudFront distribution or for a regional application. A regional
application can be an Application Load Balancer (ALB) or an API Gateway stage.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
CLI - Specify the region when you use the CloudFront scope:
--scope=CLOUDFRONT --region=us-east-1
.
API and SDKs - For all calls, use the Region endpoint us-east-1.
Scope
public String getScope()
Specifies whether this is for an AWS CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB) or an API Gateway stage.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
CLI - Specify the region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1
.
API and SDKs - For all calls, use the Region endpoint us-east-1.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
CLI - Specify the region when you use the CloudFront scope:
--scope=CLOUDFRONT --region=us-east-1
.
API and SDKs - For all calls, use the Region endpoint us-east-1.
Scope
public CreateRegexPatternSetRequest withScope(String scope)
Specifies whether this is for an AWS CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB) or an API Gateway stage.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
CLI - Specify the region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1
.
API and SDKs - For all calls, use the Region endpoint us-east-1.
scope
- Specifies whether this is for an AWS CloudFront distribution or for a regional application. A regional
application can be an Application Load Balancer (ALB) or an API Gateway stage.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
CLI - Specify the region when you use the CloudFront scope:
--scope=CLOUDFRONT --region=us-east-1
.
API and SDKs - For all calls, use the Region endpoint us-east-1.
Scope
public CreateRegexPatternSetRequest withScope(Scope scope)
Specifies whether this is for an AWS CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB) or an API Gateway stage.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
CLI - Specify the region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1
.
API and SDKs - For all calls, use the Region endpoint us-east-1.
scope
- Specifies whether this is for an AWS CloudFront distribution or for a regional application. A regional
application can be an Application Load Balancer (ALB) or an API Gateway stage.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
CLI - Specify the region when you use the CloudFront scope:
--scope=CLOUDFRONT --region=us-east-1
.
API and SDKs - For all calls, use the Region endpoint us-east-1.
Scope
public void setDescription(String description)
A friendly description of the set. You cannot change the description of a set after you create it.
description
- A friendly description of the set. You cannot change the description of a set after you create it.public String getDescription()
A friendly description of the set. You cannot change the description of a set after you create it.
public CreateRegexPatternSetRequest withDescription(String description)
A friendly description of the set. You cannot change the description of a set after you create it.
description
- A friendly description of the set. You cannot change the description of a set after you create it.public List<Regex> getRegularExpressionList()
Array of regular expression strings.
public void setRegularExpressionList(Collection<Regex> regularExpressionList)
Array of regular expression strings.
regularExpressionList
- Array of regular expression strings.public CreateRegexPatternSetRequest withRegularExpressionList(Regex... regularExpressionList)
Array of regular expression strings.
NOTE: This method appends the values to the existing list (if any). Use
setRegularExpressionList(java.util.Collection)
or
withRegularExpressionList(java.util.Collection)
if you want to override the existing values.
regularExpressionList
- Array of regular expression strings.public CreateRegexPatternSetRequest withRegularExpressionList(Collection<Regex> regularExpressionList)
Array of regular expression strings.
regularExpressionList
- Array of regular expression strings.public List<Tag> getTags()
An array of key:value pairs to associate with the resource.
public void setTags(Collection<Tag> tags)
An array of key:value pairs to associate with the resource.
tags
- An array of key:value pairs to associate with the resource.public CreateRegexPatternSetRequest withTags(Tag... tags)
An array of key:value pairs to associate with the resource.
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
- An array of key:value pairs to associate with the resource.public CreateRegexPatternSetRequest withTags(Collection<Tag> tags)
An array of key:value pairs to associate with the resource.
tags
- An array of key:value pairs to associate with the resource.public String toString()
toString
in class Object
Object.toString()
public CreateRegexPatternSetRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.