@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 |
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.
|
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
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.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setAction(String action)
action - Specifies the action that is to be applied to the findings that match the filter.FilterActionpublic String getAction()
FilterActionpublic GetFilterResult withAction(String action)
action - Specifies the action that is to be applied to the findings that match the filter.FilterActionpublic GetFilterResult withAction(FilterAction action)
action - Specifies the action that is to be applied to the findings that match the filter.FilterActionpublic void setDescription(String description)
description - The description of the filter.public String getDescription()
public GetFilterResult withDescription(String description)
description - The description of the filter.public void setFindingCriteria(FindingCriteria findingCriteria)
findingCriteria - Represents the criteria to be used in the filter for querying findings.public FindingCriteria getFindingCriteria()
public GetFilterResult withFindingCriteria(FindingCriteria findingCriteria)
findingCriteria - Represents the criteria to be used in the filter for querying findings.public void setName(String name)
name - The name of the filter.public String getName()
public GetFilterResult withName(String name)
name - The name of the filter.public void setRank(Integer rank)
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()
public GetFilterResult withRank(Integer rank)
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 String toString()
toString in class ObjectObject.toString()public GetFilterResult clone()
Copyright © 2018. All rights reserved.