@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()
A description of the filter.
|
String |
getFilterArn()
The Amazon Resource Number (ARN) of the filter to update.
|
FilterCriteria |
getFilterCriteria()
Defines the criteria to be update in the filter.
|
String |
getName()
The name of the filter.
|
String |
getReason()
The reason the filter was updated.
|
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)
A description of the filter.
|
void |
setFilterArn(String filterArn)
The Amazon Resource Number (ARN) of the filter to update.
|
void |
setFilterCriteria(FilterCriteria filterCriteria)
Defines the criteria to be update in the filter.
|
void |
setName(String name)
The name of the filter.
|
void |
setReason(String reason)
The reason the filter was updated.
|
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)
A description of the filter.
|
UpdateFilterRequest |
withFilterArn(String filterArn)
The Amazon Resource Number (ARN) of the filter to update.
|
UpdateFilterRequest |
withFilterCriteria(FilterCriteria filterCriteria)
Defines the criteria to be update in the filter.
|
UpdateFilterRequest |
withName(String name)
The name of the filter.
|
UpdateFilterRequest |
withReason(String reason)
The reason the filter was updated.
|
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)
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 setDescription(String description)
A description of the filter.
description
- A description of the filter.public String getDescription()
A description of the filter.
public UpdateFilterRequest withDescription(String description)
A description of the filter.
description
- A description of the filter.public void setFilterArn(String filterArn)
The Amazon Resource Number (ARN) of the filter to update.
filterArn
- The Amazon Resource Number (ARN) of the filter to update.public String getFilterArn()
The Amazon Resource Number (ARN) of the filter to update.
public UpdateFilterRequest withFilterArn(String filterArn)
The Amazon Resource Number (ARN) of the filter to update.
filterArn
- The Amazon Resource Number (ARN) of the filter to update.public void setFilterCriteria(FilterCriteria filterCriteria)
Defines the criteria to be update in the filter.
filterCriteria
- Defines the criteria to be update in the filter.public FilterCriteria getFilterCriteria()
Defines the criteria to be update in the filter.
public UpdateFilterRequest withFilterCriteria(FilterCriteria filterCriteria)
Defines the criteria to be update in the filter.
filterCriteria
- Defines the criteria to be update in the 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 UpdateFilterRequest withName(String name)
The name of the filter.
name
- The name of the filter.public void setReason(String reason)
The reason the filter was updated.
reason
- The reason the filter was updated.public String getReason()
The reason the filter was updated.
public UpdateFilterRequest withReason(String reason)
The reason the filter was updated.
reason
- The reason the filter was updated.public String toString()
toString
in class Object
Object.toString()
public UpdateFilterRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()