@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 |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateFilterRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
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 of the GuardDuty account for which you want to create a 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 to be added to a new filter resource.
|
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 of the GuardDuty account for which you want to create a 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 to be added to a new filter resource.
|
String |
toString()
Returns a string representation of this object.
|
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 of the GuardDuty account for which you want to create a filter.
|
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.
|
CreateFilterRequest |
withTags(Map<String,String> tags)
The tags to be added to a new filter resource.
|
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 setDetectorId(String detectorId)
The unique ID of the detector of the GuardDuty account for which you want to create a filter.
detectorId - The unique ID of the detector of the GuardDuty account for which you want to create a filter.public String getDetectorId()
The unique ID of the detector of the GuardDuty account for which you want to create a filter.
public CreateFilterRequest withDetectorId(String detectorId)
The unique ID of the detector of the GuardDuty account for which you want to create a filter.
detectorId - The unique ID of the detector of the GuardDuty account for which you want to create a filter.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 CreateFilterRequest 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 CreateFilterRequest 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.FilterActionpublic String getAction()
Specifies the action that is to be applied to the findings that match the filter.
FilterActionpublic CreateFilterRequest 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.FilterActionpublic CreateFilterRequest 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.FilterActionpublic 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 CreateFilterRequest 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 CreateFilterRequest 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 void setClientToken(String clientToken)
The idempotency token for the create request.
clientToken - The idempotency token for the create request.public String getClientToken()
The idempotency token for the create request.
public CreateFilterRequest withClientToken(String clientToken)
The idempotency token for the create request.
clientToken - The idempotency token for the create request.public Map<String,String> getTags()
The tags to be added to a new filter resource.
public void setTags(Map<String,String> tags)
The tags to be added to a new filter resource.
tags - The tags to be added to a new filter resource.public CreateFilterRequest withTags(Map<String,String> tags)
The tags to be added to a new filter resource.
tags - The tags to be added to a new filter resource.public CreateFilterRequest addTagsEntry(String key, String value)
public CreateFilterRequest clearTagsEntries()
public String toString()
toString in class ObjectObject.toString()public CreateFilterRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2020. All rights reserved.