@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 description of the set that helps with identification.
|
String |
getName()
The name of the set.
|
List<Regex> |
getRegularExpressionList()
Array of regular expression strings.
|
String |
getScope()
Specifies whether this is for an Amazon 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 description of the set that helps with identification.
|
void |
setName(String name)
The name of the set.
|
void |
setRegularExpressionList(Collection<Regex> regularExpressionList)
Array of regular expression strings.
|
void |
setScope(String scope)
Specifies whether this is for an Amazon 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 description of the set that helps with identification.
|
CreateRegexPatternSetRequest |
withName(String name)
The 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 Amazon CloudFront distribution or for a regional application.
|
CreateRegexPatternSetRequest |
withScope(String scope)
Specifies whether this is for an Amazon 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)
The name of the set. You cannot change the name after you create the set.
name
- The name of the set. You cannot change the name after you create the set.public String getName()
The name of the set. You cannot change the name after you create the set.
public CreateRegexPatternSetRequest withName(String name)
The name of the set. You cannot change the name after you create the set.
name
- The 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 Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance.
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 Amazon CloudFront distribution or for a regional application. A regional
application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL
API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access
instance.
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 Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance.
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 Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance.
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 Amazon CloudFront distribution or for a regional application. A regional
application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL
API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access
instance.
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 Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance.
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 Amazon CloudFront distribution or for a regional application. A regional
application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL
API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access
instance.
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 description of the set that helps with identification.
description
- A description of the set that helps with identification.public String getDescription()
A description of the set that helps with identification.
public CreateRegexPatternSetRequest withDescription(String description)
A description of the set that helps with identification.
description
- A description of the set that helps with identification.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()