@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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAction()
Defines the action that is to be applied to the findings that match the filter.
|
String |
getDescription()
A description of the filter.
|
FilterCriteria |
getFilterCriteria()
Defines the criteria to be used in the filter for querying findings.
|
String |
getName()
The name of the filter.
|
String |
getReason()
The reason for creating the filter.
|
Map<String,String> |
getTags()
A list of tags for the filter.
|
int |
hashCode() |
void |
setAction(String action)
Defines the action that is to be applied to the findings that match the filter.
|
void |
setDescription(String description)
A description of the filter.
|
void |
setFilterCriteria(FilterCriteria filterCriteria)
Defines the criteria to be used in the filter for querying findings.
|
void |
setName(String name)
The name of the filter.
|
void |
setReason(String reason)
The reason for creating the filter.
|
void |
setTags(Map<String,String> tags)
A list of tags for the filter.
|
String |
toString()
Returns a string representation of this object.
|
CreateFilterRequest |
withAction(FilterAction action)
Defines the action that is to be applied to the findings that match the filter.
|
CreateFilterRequest |
withAction(String action)
Defines the action that is to be applied to the findings that match the filter.
|
CreateFilterRequest |
withDescription(String description)
A description of the filter.
|
CreateFilterRequest |
withFilterCriteria(FilterCriteria filterCriteria)
Defines the criteria to be used in the filter for querying findings.
|
CreateFilterRequest |
withName(String name)
The name of the filter.
|
CreateFilterRequest |
withReason(String reason)
The reason for creating the filter.
|
CreateFilterRequest |
withTags(Map<String,String> tags)
A list of tags for the filter.
|
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 setAction(String action)
Defines the action that is to be applied to the findings that match the filter.
action
- Defines the action that is to be applied to the findings that match the filter.FilterAction
public String getAction()
Defines the action that is to be applied to the findings that match the filter.
FilterAction
public CreateFilterRequest withAction(String action)
Defines the action that is to be applied to the findings that match the filter.
action
- Defines the action that is to be applied to the findings that match the filter.FilterAction
public CreateFilterRequest withAction(FilterAction action)
Defines the action that is to be applied to the findings that match the filter.
action
- Defines the action that is to be applied to the findings that match the filter.FilterAction
public void setDescription(String description)
A description of the filter.
description
- A description of the filter.public String getDescription()
A description of the filter.
public CreateFilterRequest withDescription(String description)
A description of the filter.
description
- A description of the filter.public void setFilterCriteria(FilterCriteria filterCriteria)
Defines the criteria to be used in the filter for querying findings.
filterCriteria
- Defines the criteria to be used in the filter for querying findings.public FilterCriteria getFilterCriteria()
Defines the criteria to be used in the filter for querying findings.
public CreateFilterRequest withFilterCriteria(FilterCriteria filterCriteria)
Defines the criteria to be used in the filter for querying findings.
filterCriteria
- Defines the criteria to be used in the filter for querying findings.public void setName(String name)
The name of the filter. Minimum length of 3. Maximum length of 64. Valid characters include alphanumeric characters, dot (.), underscore (_), and dash (-). Spaces are not allowed.
name
- The name of the filter. Minimum length of 3. Maximum length of 64. Valid characters include alphanumeric
characters, dot (.), underscore (_), and dash (-). Spaces are not allowed.public String getName()
The name of the filter. Minimum length of 3. Maximum length of 64. Valid characters include alphanumeric characters, dot (.), underscore (_), and dash (-). Spaces are not allowed.
public CreateFilterRequest withName(String name)
The name of the filter. Minimum length of 3. Maximum length of 64. Valid characters include alphanumeric characters, dot (.), underscore (_), and dash (-). Spaces are not allowed.
name
- The name of the filter. Minimum length of 3. Maximum length of 64. Valid characters include alphanumeric
characters, dot (.), underscore (_), and dash (-). Spaces are not allowed.public void setReason(String reason)
The reason for creating the filter.
reason
- The reason for creating the filter.public String getReason()
The reason for creating the filter.
public CreateFilterRequest withReason(String reason)
The reason for creating the filter.
reason
- The reason for creating the filter.public Map<String,String> getTags()
A list of tags for the filter.
public void setTags(Map<String,String> tags)
A list of tags for the filter.
tags
- A list of tags for the filter.public CreateFilterRequest withTags(Map<String,String> tags)
A list of tags for the filter.
tags
- A list of tags for the filter.public CreateFilterRequest addTagsEntry(String key, String value)
public CreateFilterRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateFilterRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()