@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetFilterResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetFilterResult() |
Modifier and Type | Method and Description |
---|---|
GetFilterResult |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
GetFilterResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
GetFilterResult |
clone() |
boolean |
equals(Object obj) |
String |
getAction()
Specifies the action that is to be applied to the findings that match the filter.
|
String |
getDescription()
The description of the filter.
|
FindingCriteria |
getFindingCriteria()
Represents the criteria to be used in the filter for querying findings.
|
String |
getName()
The name of the filter.
|
Integer |
getRank()
Specifies the position of the filter in the list of current filters.
|
Map<String,String> |
getTags()
The tags of the filter resource.
|
int |
hashCode() |
void |
setAction(String action)
Specifies the action that is to be applied to the findings that match the filter.
|
void |
setDescription(String description)
The description of the filter.
|
void |
setFindingCriteria(FindingCriteria findingCriteria)
Represents the criteria to be used in the filter for querying findings.
|
void |
setName(String name)
The name of the filter.
|
void |
setRank(Integer rank)
Specifies the position of the filter in the list of current filters.
|
void |
setTags(Map<String,String> tags)
The tags of the filter resource.
|
String |
toString()
Returns a string representation of this object.
|
GetFilterResult |
withAction(FilterAction action)
Specifies the action that is to be applied to the findings that match the filter.
|
GetFilterResult |
withAction(String action)
Specifies the action that is to be applied to the findings that match the filter.
|
GetFilterResult |
withDescription(String description)
The description of the filter.
|
GetFilterResult |
withFindingCriteria(FindingCriteria findingCriteria)
Represents the criteria to be used in the filter for querying findings.
|
GetFilterResult |
withName(String name)
The name of the filter.
|
GetFilterResult |
withRank(Integer rank)
Specifies the position of the filter in the list of current filters.
|
GetFilterResult |
withTags(Map<String,String> tags)
The tags of the filter resource.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setName(String name)
The name of the filter.
name
- The name of the filter.public String getName()
The name of the filter.
public GetFilterResult withName(String name)
The name of the filter.
name
- The name of the filter.public void setDescription(String description)
The description of the filter.
description
- The description of the filter.public String getDescription()
The description of the filter.
public GetFilterResult withDescription(String description)
The description of the filter.
description
- The description of the filter.public void setAction(String action)
Specifies the action that is to be applied to the findings that match the filter.
action
- Specifies the action that is to be applied to the findings that match the filter.FilterAction
public String getAction()
Specifies the action that is to be applied to the findings that match the filter.
FilterAction
public GetFilterResult withAction(String action)
Specifies the action that is to be applied to the findings that match the filter.
action
- Specifies the action that is to be applied to the findings that match the filter.FilterAction
public GetFilterResult withAction(FilterAction action)
Specifies the action that is to be applied to the findings that match the filter.
action
- Specifies the action that is to be applied to the findings that match the filter.FilterAction
public void setRank(Integer rank)
Specifies the position of the filter in the list of current filters. Also specifies the order in which this filter is applied to the findings.
rank
- Specifies the position of the filter in the list of current filters. Also specifies the order in which
this filter is applied to the findings.public Integer getRank()
Specifies the position of the filter in the list of current filters. Also specifies the order in which this filter is applied to the findings.
public GetFilterResult withRank(Integer rank)
Specifies the position of the filter in the list of current filters. Also specifies the order in which this filter is applied to the findings.
rank
- Specifies the position of the filter in the list of current filters. Also specifies the order in which
this filter is applied to the findings.public void setFindingCriteria(FindingCriteria findingCriteria)
Represents the criteria to be used in the filter for querying findings.
findingCriteria
- Represents the criteria to be used in the filter for querying findings.public FindingCriteria getFindingCriteria()
Represents the criteria to be used in the filter for querying findings.
public GetFilterResult withFindingCriteria(FindingCriteria findingCriteria)
Represents the criteria to be used in the filter for querying findings.
findingCriteria
- Represents the criteria to be used in the filter for querying findings.public Map<String,String> getTags()
The tags of the filter resource.
public void setTags(Map<String,String> tags)
The tags of the filter resource.
tags
- The tags of the filter resource.public GetFilterResult withTags(Map<String,String> tags)
The tags of the filter resource.
tags
- The tags of the filter resource.public GetFilterResult addTagsEntry(String key, String value)
public GetFilterResult clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public GetFilterResult clone()