@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateFindingsFilterRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateFindingsFilterRequest() |
Modifier and Type | Method and Description |
---|---|
CreateFindingsFilterRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateFindingsFilterRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateFindingsFilterRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAction()
The action to perform on findings that match the filter criteria (findingCriteria).
|
String |
getClientToken()
A unique, case-sensitive token that you provide to ensure the idempotency of the request.
|
String |
getDescription()
A custom description of the filter.
|
FindingCriteria |
getFindingCriteria()
The criteria to use to filter findings.
|
String |
getName()
A custom name for the filter.
|
Integer |
getPosition()
The position of the filter in the list of saved filters on the Amazon Macie console.
|
Map<String,String> |
getTags()
A map of key-value pairs that specifies the tags to associate with the filter.
|
int |
hashCode() |
void |
setAction(String action)
The action to perform on findings that match the filter criteria (findingCriteria).
|
void |
setClientToken(String clientToken)
A unique, case-sensitive token that you provide to ensure the idempotency of the request.
|
void |
setDescription(String description)
A custom description of the filter.
|
void |
setFindingCriteria(FindingCriteria findingCriteria)
The criteria to use to filter findings.
|
void |
setName(String name)
A custom name for the filter.
|
void |
setPosition(Integer position)
The position of the filter in the list of saved filters on the Amazon Macie console.
|
void |
setTags(Map<String,String> tags)
A map of key-value pairs that specifies the tags to associate with the filter.
|
String |
toString()
Returns a string representation of this object.
|
CreateFindingsFilterRequest |
withAction(FindingsFilterAction action)
The action to perform on findings that match the filter criteria (findingCriteria).
|
CreateFindingsFilterRequest |
withAction(String action)
The action to perform on findings that match the filter criteria (findingCriteria).
|
CreateFindingsFilterRequest |
withClientToken(String clientToken)
A unique, case-sensitive token that you provide to ensure the idempotency of the request.
|
CreateFindingsFilterRequest |
withDescription(String description)
A custom description of the filter.
|
CreateFindingsFilterRequest |
withFindingCriteria(FindingCriteria findingCriteria)
The criteria to use to filter findings.
|
CreateFindingsFilterRequest |
withName(String name)
A custom name for the filter.
|
CreateFindingsFilterRequest |
withPosition(Integer position)
The position of the filter in the list of saved filters on the Amazon Macie console.
|
CreateFindingsFilterRequest |
withTags(Map<String,String> tags)
A map of key-value pairs that specifies the tags to associate with the filter.
|
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 setAction(String action)
The action to perform on findings that match the filter criteria (findingCriteria). Valid values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.
action
- The action to perform on findings that match the filter criteria (findingCriteria). Valid values are:
ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the
findings.FindingsFilterAction
public String getAction()
The action to perform on findings that match the filter criteria (findingCriteria). Valid values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.
FindingsFilterAction
public CreateFindingsFilterRequest withAction(String action)
The action to perform on findings that match the filter criteria (findingCriteria). Valid values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.
action
- The action to perform on findings that match the filter criteria (findingCriteria). Valid values are:
ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the
findings.FindingsFilterAction
public CreateFindingsFilterRequest withAction(FindingsFilterAction action)
The action to perform on findings that match the filter criteria (findingCriteria). Valid values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.
action
- The action to perform on findings that match the filter criteria (findingCriteria). Valid values are:
ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the
findings.FindingsFilterAction
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 CreateFindingsFilterRequest 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 setDescription(String description)
A custom description of the filter. The description can contain as many as 512 characters.
We strongly recommend that you avoid including any sensitive data in the description of a filter. Other users of your account might be able to see this description, depending on the actions that they're allowed to perform in Amazon Macie.
description
- A custom description of the filter. The description can contain as many as 512 characters.
We strongly recommend that you avoid including any sensitive data in the description of a filter. Other users of your account might be able to see this description, depending on the actions that they're allowed to perform in Amazon Macie.
public String getDescription()
A custom description of the filter. The description can contain as many as 512 characters.
We strongly recommend that you avoid including any sensitive data in the description of a filter. Other users of your account might be able to see this description, depending on the actions that they're allowed to perform in Amazon Macie.
We strongly recommend that you avoid including any sensitive data in the description of a filter. Other users of your account might be able to see this description, depending on the actions that they're allowed to perform in Amazon Macie.
public CreateFindingsFilterRequest withDescription(String description)
A custom description of the filter. The description can contain as many as 512 characters.
We strongly recommend that you avoid including any sensitive data in the description of a filter. Other users of your account might be able to see this description, depending on the actions that they're allowed to perform in Amazon Macie.
description
- A custom description of the filter. The description can contain as many as 512 characters.
We strongly recommend that you avoid including any sensitive data in the description of a filter. Other users of your account might be able to see this description, depending on the actions that they're allowed to perform in Amazon Macie.
public void setFindingCriteria(FindingCriteria findingCriteria)
The criteria to use to filter findings.
findingCriteria
- The criteria to use to filter findings.public FindingCriteria getFindingCriteria()
The criteria to use to filter findings.
public CreateFindingsFilterRequest withFindingCriteria(FindingCriteria findingCriteria)
The criteria to use to filter findings.
findingCriteria
- The criteria to use to filter findings.public void setName(String name)
A custom name for the filter. The name must contain at least 3 characters and can contain as many as 64 characters.
We strongly recommend that you avoid including any sensitive data in the name of a filter. Other users of your account might be able to see this name, depending on the actions that they're allowed to perform in Amazon Macie.
name
- A custom name for the filter. The name must contain at least 3 characters and can contain as many as 64
characters.
We strongly recommend that you avoid including any sensitive data in the name of a filter. Other users of your account might be able to see this name, depending on the actions that they're allowed to perform in Amazon Macie.
public String getName()
A custom name for the filter. The name must contain at least 3 characters and can contain as many as 64 characters.
We strongly recommend that you avoid including any sensitive data in the name of a filter. Other users of your account might be able to see this name, depending on the actions that they're allowed to perform in Amazon Macie.
We strongly recommend that you avoid including any sensitive data in the name of a filter. Other users of your account might be able to see this name, depending on the actions that they're allowed to perform in Amazon Macie.
public CreateFindingsFilterRequest withName(String name)
A custom name for the filter. The name must contain at least 3 characters and can contain as many as 64 characters.
We strongly recommend that you avoid including any sensitive data in the name of a filter. Other users of your account might be able to see this name, depending on the actions that they're allowed to perform in Amazon Macie.
name
- A custom name for the filter. The name must contain at least 3 characters and can contain as many as 64
characters.
We strongly recommend that you avoid including any sensitive data in the name of a filter. Other users of your account might be able to see this name, depending on the actions that they're allowed to perform in Amazon Macie.
public void setPosition(Integer position)
The position of the filter in the list of saved filters on the Amazon Macie console. This value also determines the order in which the filter is applied to findings, relative to other filters that are also applied to the findings.
position
- The position of the filter in the list of saved filters on the Amazon Macie console. This value also
determines the order in which the filter is applied to findings, relative to other filters that are also
applied to the findings.public Integer getPosition()
The position of the filter in the list of saved filters on the Amazon Macie console. This value also determines the order in which the filter is applied to findings, relative to other filters that are also applied to the findings.
public CreateFindingsFilterRequest withPosition(Integer position)
The position of the filter in the list of saved filters on the Amazon Macie console. This value also determines the order in which the filter is applied to findings, relative to other filters that are also applied to the findings.
position
- The position of the filter in the list of saved filters on the Amazon Macie console. This value also
determines the order in which the filter is applied to findings, relative to other filters that are also
applied to the findings.public Map<String,String> getTags()
A map of key-value pairs that specifies the tags to associate with the filter.
A findings filter 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.
A findings filter 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 filter.
A findings filter 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 filter.
A findings filter 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 CreateFindingsFilterRequest withTags(Map<String,String> tags)
A map of key-value pairs that specifies the tags to associate with the filter.
A findings filter 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 filter.
A findings filter 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 CreateFindingsFilterRequest addTagsEntry(String key, String value)
public CreateFindingsFilterRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateFindingsFilterRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()