@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateAllowListRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateAllowListRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateAllowListRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
AllowListCriteria |
getCriteria()
The criteria that specify the text or text pattern to ignore.
|
String |
getDescription()
A custom description of the allow list.
|
String |
getId()
The unique identifier for the Amazon Macie resource that the request applies to.
|
String |
getName()
A custom name for the allow list.
|
int |
hashCode() |
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 |
setId(String id)
The unique identifier for the Amazon Macie resource that the request applies to.
|
void |
setName(String name)
A custom name for the allow list.
|
String |
toString()
Returns a string representation of this object.
|
UpdateAllowListRequest |
withCriteria(AllowListCriteria criteria)
The criteria that specify the text or text pattern to ignore.
|
UpdateAllowListRequest |
withDescription(String description)
A custom description of the allow list.
|
UpdateAllowListRequest |
withId(String id)
The unique identifier for the Amazon Macie resource that the request applies to.
|
UpdateAllowListRequest |
withName(String name)
A custom name for 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 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 that defines a text pattern to ignore (regex).
You can change a list's underlying criteria, such as the name of the S3 object or the regular expression to use. However, you can't change the type from s3WordsList to regex or the other way around.
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 that defines a text
pattern to ignore (regex).
You can change a list's underlying criteria, such as the name of the S3 object or the regular expression to use. However, you can't change the type from s3WordsList to regex or the other way around.
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 that defines a text pattern to ignore (regex).
You can change a list's underlying criteria, such as the name of the S3 object or the regular expression to use. However, you can't change the type from s3WordsList to regex or the other way around.
You can change a list's underlying criteria, such as the name of the S3 object or the regular expression to use. However, you can't change the type from s3WordsList to regex or the other way around.
public UpdateAllowListRequest 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 that defines a text pattern to ignore (regex).
You can change a list's underlying criteria, such as the name of the S3 object or the regular expression to use. However, you can't change the type from s3WordsList to regex or the other way around.
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 that defines a text
pattern to ignore (regex).
You can change a list's underlying criteria, such as the name of the S3 object or the regular expression to use. However, you can't change the type from s3WordsList to regex or the other way around.
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 UpdateAllowListRequest 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 setId(String id)
The unique identifier for the Amazon Macie resource that the request applies to.
id
- The unique identifier for the Amazon Macie resource that the request applies to.public String getId()
The unique identifier for the Amazon Macie resource that the request applies to.
public UpdateAllowListRequest withId(String id)
The unique identifier for the Amazon Macie resource that the request applies to.
id
- The unique identifier for the Amazon Macie resource that the request applies to.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 UpdateAllowListRequest 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 String toString()
toString
in class Object
Object.toString()
public UpdateAllowListRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()