@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetFindingsFilterResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetFindingsFilterResult() |
Modifier and Type | Method and Description |
---|---|
GetFindingsFilterResult |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
GetFindingsFilterResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
GetFindingsFilterResult |
clone() |
boolean |
equals(Object obj) |
String |
getAction()
The action that's performed on findings that match the filter criteria (findingCriteria).
|
String |
getArn()
The Amazon Resource Name (ARN) of the filter.
|
String |
getDescription()
The custom description of the filter.
|
FindingCriteria |
getFindingCriteria()
The criteria that's used to filter findings.
|
String |
getId()
The unique identifier for the filter.
|
String |
getName()
The custom name of 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 which tags (keys and values) are associated with the filter.
|
int |
hashCode() |
void |
setAction(String action)
The action that's performed on findings that match the filter criteria (findingCriteria).
|
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the filter.
|
void |
setDescription(String description)
The custom description of the filter.
|
void |
setFindingCriteria(FindingCriteria findingCriteria)
The criteria that's used to filter findings.
|
void |
setId(String id)
The unique identifier for the filter.
|
void |
setName(String name)
The custom name of 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 which tags (keys and values) are associated with the filter.
|
String |
toString()
Returns a string representation of this object.
|
GetFindingsFilterResult |
withAction(FindingsFilterAction action)
The action that's performed on findings that match the filter criteria (findingCriteria).
|
GetFindingsFilterResult |
withAction(String action)
The action that's performed on findings that match the filter criteria (findingCriteria).
|
GetFindingsFilterResult |
withArn(String arn)
The Amazon Resource Name (ARN) of the filter.
|
GetFindingsFilterResult |
withDescription(String description)
The custom description of the filter.
|
GetFindingsFilterResult |
withFindingCriteria(FindingCriteria findingCriteria)
The criteria that's used to filter findings.
|
GetFindingsFilterResult |
withId(String id)
The unique identifier for the filter.
|
GetFindingsFilterResult |
withName(String name)
The custom name of the filter.
|
GetFindingsFilterResult |
withPosition(Integer position)
The position of the filter in the list of saved filters on the Amazon Macie console.
|
GetFindingsFilterResult |
withTags(Map<String,String> tags)
A map of key-value pairs that specifies which tags (keys and values) are associated with the filter.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setAction(String action)
The action that's performed on findings that match the filter criteria (findingCriteria). Possible values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.
action
- The action that's performed on findings that match the filter criteria (findingCriteria). Possible values
are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the
findings.FindingsFilterAction
public String getAction()
The action that's performed on findings that match the filter criteria (findingCriteria). Possible values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.
FindingsFilterAction
public GetFindingsFilterResult withAction(String action)
The action that's performed on findings that match the filter criteria (findingCriteria). Possible values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.
action
- The action that's performed on findings that match the filter criteria (findingCriteria). Possible values
are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the
findings.FindingsFilterAction
public GetFindingsFilterResult withAction(FindingsFilterAction action)
The action that's performed on findings that match the filter criteria (findingCriteria). Possible values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.
action
- The action that's performed on findings that match the filter criteria (findingCriteria). Possible values
are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the
findings.FindingsFilterAction
public void setArn(String arn)
The Amazon Resource Name (ARN) of the filter.
arn
- The Amazon Resource Name (ARN) of the filter.public String getArn()
The Amazon Resource Name (ARN) of the filter.
public GetFindingsFilterResult withArn(String arn)
The Amazon Resource Name (ARN) of the filter.
arn
- The Amazon Resource Name (ARN) of the filter.public void setDescription(String description)
The custom description of the filter.
description
- The custom description of the filter.public String getDescription()
The custom description of the filter.
public GetFindingsFilterResult withDescription(String description)
The custom description of the filter.
description
- The custom description of the filter.public void setFindingCriteria(FindingCriteria findingCriteria)
The criteria that's used to filter findings.
findingCriteria
- The criteria that's used to filter findings.public FindingCriteria getFindingCriteria()
The criteria that's used to filter findings.
public GetFindingsFilterResult withFindingCriteria(FindingCriteria findingCriteria)
The criteria that's used to filter findings.
findingCriteria
- The criteria that's used to filter findings.public void setId(String id)
The unique identifier for the filter.
id
- The unique identifier for the filter.public String getId()
The unique identifier for the filter.
public GetFindingsFilterResult withId(String id)
The unique identifier for the filter.
id
- The unique identifier for the filter.public void setName(String name)
The custom name of the filter.
name
- The custom name of the filter.public String getName()
The custom name of the filter.
public GetFindingsFilterResult withName(String name)
The custom name of the filter.
name
- The custom name of the filter.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 GetFindingsFilterResult 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 which tags (keys and values) are associated with the filter.
public void setTags(Map<String,String> tags)
A map of key-value pairs that specifies which tags (keys and values) are associated with the filter.
tags
- A map of key-value pairs that specifies which tags (keys and values) are associated with the filter.public GetFindingsFilterResult withTags(Map<String,String> tags)
A map of key-value pairs that specifies which tags (keys and values) are associated with the filter.
tags
- A map of key-value pairs that specifies which tags (keys and values) are associated with the filter.public GetFindingsFilterResult addTagsEntry(String key, String value)
public GetFindingsFilterResult clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public GetFindingsFilterResult clone()