@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateFilterRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateFilterRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateFilterRequest |
clone() |
boolean |
equals(Object obj) |
String |
getAction()
Specifies the action that is to be applied to the findings that match the filter.
|
String |
getClientToken()
The idempotency token for the create request.
|
String |
getDescription()
The description of the filter.
|
String |
getDetectorId()
The unique ID of the detector that you want to update.
|
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 |
setClientToken(String clientToken)
The idempotency token for the create request.
|
void |
setDescription(String description)
The description of the filter.
|
void |
setDetectorId(String detectorId)
The unique ID of the detector that you want to update.
|
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.
|
CreateFilterRequest |
withAction(FilterAction action)
Specifies the action that is to be applied to the findings that match the filter.
|
CreateFilterRequest |
withAction(String action)
Specifies the action that is to be applied to the findings that match the filter.
|
CreateFilterRequest |
withClientToken(String clientToken)
The idempotency token for the create request.
|
CreateFilterRequest |
withDescription(String description)
The description of the filter.
|
CreateFilterRequest |
withDetectorId(String detectorId)
The unique ID of the detector that you want to update.
|
CreateFilterRequest |
withFindingCriteria(FindingCriteria findingCriteria)
Represents the criteria to be used in the filter for querying findings.
|
CreateFilterRequest |
withName(String name)
The name of the filter.
|
CreateFilterRequest |
withRank(Integer rank)
Specifies the position of the filter in the list of current filters.
|
addHandlerContext, copyBaseTo, 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, withSdkRequestTimeoutpublic void setAction(String action)
action - Specifies the action that is to be applied to the findings that match the filter.FilterActionpublic String getAction()
FilterActionpublic CreateFilterRequest withAction(String action)
action - Specifies the action that is to be applied to the findings that match the filter.FilterActionpublic CreateFilterRequest withAction(FilterAction action)
action - Specifies the action that is to be applied to the findings that match the filter.FilterActionpublic void setClientToken(String clientToken)
clientToken - The idempotency token for the create request.public String getClientToken()
public CreateFilterRequest withClientToken(String clientToken)
clientToken - The idempotency token for the create request.public void setDescription(String description)
description - The description of the filter.public String getDescription()
public CreateFilterRequest withDescription(String description)
description - The description of the filter.public void setDetectorId(String detectorId)
detectorId - The unique ID of the detector that you want to update.public String getDetectorId()
public CreateFilterRequest withDetectorId(String detectorId)
detectorId - The unique ID of the detector that you want to update.public void setFindingCriteria(FindingCriteria findingCriteria)
findingCriteria - Represents the criteria to be used in the filter for querying findings.public FindingCriteria getFindingCriteria()
public CreateFilterRequest 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 CreateFilterRequest 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 CreateFilterRequest 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 CreateFilterRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2018. All rights reserved.