@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FindingsFilterListItem extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about a findings filter.
Constructor and Description |
---|
FindingsFilterListItem() |
Modifier and Type | Method and Description |
---|---|
FindingsFilterListItem |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
FindingsFilterListItem |
clearTagsEntries()
Removes all the entries added into Tags.
|
FindingsFilterListItem |
clone() |
boolean |
equals(Object obj) |
String |
getAction()
The action that's performed on findings that match the filter criteria.
|
String |
getArn()
The Amazon Resource Name (ARN) of the filter.
|
String |
getId()
The unique identifier for the filter.
|
String |
getName()
The custom name of the filter.
|
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAction(String action)
The action that's performed on findings that match the filter criteria.
|
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the filter.
|
void |
setId(String id)
The unique identifier for the filter.
|
void |
setName(String name)
The custom name of the filter.
|
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.
|
FindingsFilterListItem |
withAction(FindingsFilterAction action)
The action that's performed on findings that match the filter criteria.
|
FindingsFilterListItem |
withAction(String action)
The action that's performed on findings that match the filter criteria.
|
FindingsFilterListItem |
withArn(String arn)
The Amazon Resource Name (ARN) of the filter.
|
FindingsFilterListItem |
withId(String id)
The unique identifier for the filter.
|
FindingsFilterListItem |
withName(String name)
The custom name of the filter.
|
FindingsFilterListItem |
withTags(Map<String,String> tags)
A map of key-value pairs that specifies which tags (keys and values) are associated with the filter.
|
public void setAction(String action)
The action that's performed on findings that match the filter criteria. 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. 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. Possible values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.
FindingsFilterAction
public FindingsFilterListItem withAction(String action)
The action that's performed on findings that match the filter criteria. 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. Possible values are: ARCHIVE,
suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.FindingsFilterAction
public FindingsFilterListItem withAction(FindingsFilterAction action)
The action that's performed on findings that match the filter criteria. 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. 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 FindingsFilterListItem withArn(String arn)
The Amazon Resource Name (ARN) of the filter.
arn
- The Amazon Resource Name (ARN) of the filter.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 FindingsFilterListItem 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 FindingsFilterListItem withName(String name)
The custom name of the filter.
name
- The custom name of the filter.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 FindingsFilterListItem 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 FindingsFilterListItem addTagsEntry(String key, String value)
public FindingsFilterListItem clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public FindingsFilterListItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.