@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateFilterRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateFilterRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateFilterRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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.
|
String |
getDetectorId()
The unique ID of the detector that specifies the GuardDuty service where you want to update a filter.
|
String |
getFilterName()
The name of the filter.
|
FindingCriteria |
getFindingCriteria()
Represents the criteria to be used in the filter for querying findings.
|
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 |
setDetectorId(String detectorId)
The unique ID of the detector that specifies the GuardDuty service where you want to update a filter.
|
void |
setFilterName(String filterName)
The name of the filter.
|
void |
setFindingCriteria(FindingCriteria findingCriteria)
Represents the criteria to be used in the filter for querying findings.
|
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.
|
UpdateFilterRequest |
withAction(FilterAction action)
Specifies the action that is to be applied to the findings that match the filter.
|
UpdateFilterRequest |
withAction(String action)
Specifies the action that is to be applied to the findings that match the filter.
|
UpdateFilterRequest |
withDescription(String description)
The description of the filter.
|
UpdateFilterRequest |
withDetectorId(String detectorId)
The unique ID of the detector that specifies the GuardDuty service where you want to update a filter.
|
UpdateFilterRequest |
withFilterName(String filterName)
The name of the filter.
|
UpdateFilterRequest |
withFindingCriteria(FindingCriteria findingCriteria)
Represents the criteria to be used in the filter for querying findings.
|
UpdateFilterRequest |
withRank(Integer rank)
Specifies the position of the filter in the list of current filters.
|
addHandlerContext, 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, withSdkRequestTimeout
public void setDetectorId(String detectorId)
The unique ID of the detector that specifies the GuardDuty service where you want to update a filter.
detectorId
- The unique ID of the detector that specifies the GuardDuty service where you want to update a filter.public String getDetectorId()
The unique ID of the detector that specifies the GuardDuty service where you want to update a filter.
public UpdateFilterRequest withDetectorId(String detectorId)
The unique ID of the detector that specifies the GuardDuty service where you want to update a filter.
detectorId
- The unique ID of the detector that specifies the GuardDuty service where you want to update a filter.public void setFilterName(String filterName)
The name of the filter.
filterName
- The name of the filter.public String getFilterName()
The name of the filter.
public UpdateFilterRequest withFilterName(String filterName)
The name of the filter.
filterName
- The name of the filter.public void setDescription(String description)
The description of the filter. Valid characters include alphanumeric characters, and special characters such as
hyphen, period, colon, underscore, parentheses ({ }
, [ ]
, and ( )
),
forward slash, horizontal tab, vertical tab, newline, form feed, return, and whitespace.
description
- The description of the filter. Valid characters include alphanumeric characters, and special characters
such as hyphen, period, colon, underscore, parentheses ({ }
, [ ]
, and
( )
), forward slash, horizontal tab, vertical tab, newline, form feed, return, and
whitespace.public String getDescription()
The description of the filter. Valid characters include alphanumeric characters, and special characters such as
hyphen, period, colon, underscore, parentheses ({ }
, [ ]
, and ( )
),
forward slash, horizontal tab, vertical tab, newline, form feed, return, and whitespace.
{ }
, [ ]
, and
( )
), forward slash, horizontal tab, vertical tab, newline, form feed, return, and
whitespace.public UpdateFilterRequest withDescription(String description)
The description of the filter. Valid characters include alphanumeric characters, and special characters such as
hyphen, period, colon, underscore, parentheses ({ }
, [ ]
, and ( )
),
forward slash, horizontal tab, vertical tab, newline, form feed, return, and whitespace.
description
- The description of the filter. Valid characters include alphanumeric characters, and special characters
such as hyphen, period, colon, underscore, parentheses ({ }
, [ ]
, and
( )
), forward slash, horizontal tab, vertical tab, newline, form feed, return, and
whitespace.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 UpdateFilterRequest 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 UpdateFilterRequest 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 UpdateFilterRequest 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 UpdateFilterRequest 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 String toString()
toString
in class Object
Object.toString()
public UpdateFilterRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()