@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAllowListRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateAllowListRequest() |
Modifier and Type | Method and Description |
---|---|
CreateAllowListRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateAllowListRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateAllowListRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
A unique, case-sensitive token that you provide to ensure the idempotency of the request.
|
AllowListCriteria |
getCriteria()
The criteria that specify the text or text pattern to ignore.
|
String |
getDescription()
A custom description of the allow list.
|
String |
getName()
A custom name for the allow list.
|
Map<String,String> |
getTags()
A map of key-value pairs that specifies the tags to associate with the allow list.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
A unique, case-sensitive token that you provide to ensure the idempotency of the request.
|
void |
setCriteria(AllowListCriteria criteria)
The criteria that specify the text or text pattern to ignore.
|
void |
setDescription(String description)
A custom description of the allow list.
|
void |
setName(String name)
A custom name for the allow list.
|
void |
setTags(Map<String,String> tags)
A map of key-value pairs that specifies the tags to associate with the allow list.
|
String |
toString()
Returns a string representation of this object.
|
CreateAllowListRequest |
withClientToken(String clientToken)
A unique, case-sensitive token that you provide to ensure the idempotency of the request.
|
CreateAllowListRequest |
withCriteria(AllowListCriteria criteria)
The criteria that specify the text or text pattern to ignore.
|
CreateAllowListRequest |
withDescription(String description)
A custom description of the allow list.
|
CreateAllowListRequest |
withName(String name)
A custom name for the allow list.
|
CreateAllowListRequest |
withTags(Map<String,String> tags)
A map of key-value pairs that specifies the tags to associate with the allow list.
|
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 setClientToken(String clientToken)
A unique, case-sensitive token that you provide to ensure the idempotency of the request.
clientToken
- A unique, case-sensitive token that you provide to ensure the idempotency of the request.public String getClientToken()
A unique, case-sensitive token that you provide to ensure the idempotency of the request.
public CreateAllowListRequest withClientToken(String clientToken)
A unique, case-sensitive token that you provide to ensure the idempotency of the request.
clientToken
- A unique, case-sensitive token that you provide to ensure the idempotency of the request.public void setCriteria(AllowListCriteria criteria)
The criteria that specify the text or text pattern to ignore. The criteria can be the location and name of an S3 object that lists specific text to ignore (s3WordsList), or a regular expression (regex) that defines a text pattern to ignore.
criteria
- The criteria that specify the text or text pattern to ignore. The criteria can be the location and name of
an S3 object that lists specific text to ignore (s3WordsList), or a regular expression (regex) that
defines a text pattern to ignore.public AllowListCriteria getCriteria()
The criteria that specify the text or text pattern to ignore. The criteria can be the location and name of an S3 object that lists specific text to ignore (s3WordsList), or a regular expression (regex) that defines a text pattern to ignore.
public CreateAllowListRequest withCriteria(AllowListCriteria criteria)
The criteria that specify the text or text pattern to ignore. The criteria can be the location and name of an S3 object that lists specific text to ignore (s3WordsList), or a regular expression (regex) that defines a text pattern to ignore.
criteria
- The criteria that specify the text or text pattern to ignore. The criteria can be the location and name of
an S3 object that lists specific text to ignore (s3WordsList), or a regular expression (regex) that
defines a text pattern to ignore.public void setDescription(String description)
A custom description of the allow list. The description can contain as many as 512 characters.
description
- A custom description of the allow list. The description can contain as many as 512 characters.public String getDescription()
A custom description of the allow list. The description can contain as many as 512 characters.
public CreateAllowListRequest withDescription(String description)
A custom description of the allow list. The description can contain as many as 512 characters.
description
- A custom description of the allow list. The description can contain as many as 512 characters.public void setName(String name)
A custom name for the allow list. The name can contain as many as 128 characters.
name
- A custom name for the allow list. The name can contain as many as 128 characters.public String getName()
A custom name for the allow list. The name can contain as many as 128 characters.
public CreateAllowListRequest withName(String name)
A custom name for the allow list. The name can contain as many as 128 characters.
name
- A custom name for the allow list. The name can contain as many as 128 characters.public Map<String,String> getTags()
A map of key-value pairs that specifies the tags to associate with the allow list.
An allow list can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
An allow list can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
public void setTags(Map<String,String> tags)
A map of key-value pairs that specifies the tags to associate with the allow list.
An allow list can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
tags
- A map of key-value pairs that specifies the tags to associate with the allow list.
An allow list can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
public CreateAllowListRequest withTags(Map<String,String> tags)
A map of key-value pairs that specifies the tags to associate with the allow list.
An allow list can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
tags
- A map of key-value pairs that specifies the tags to associate with the allow list.
An allow list can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
public CreateAllowListRequest addTagsEntry(String key, String value)
public CreateAllowListRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateAllowListRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()