public class DeleteMetricFilterRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DeleteMetricFilter operation.
Deletes a metric filter associated with the specified log group.
NOOP| Constructor and Description |
|---|
DeleteMetricFilterRequest()
Default constructor for a new DeleteMetricFilterRequest object.
|
DeleteMetricFilterRequest(String logGroupName,
String filterName)
Constructs a new DeleteMetricFilterRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
DeleteMetricFilterRequest |
clone() |
boolean |
equals(Object obj) |
String |
getFilterName()
The name of the metric filter to delete.
|
String |
getLogGroupName()
The name of the log group that is associated with the metric filter to
delete.
|
int |
hashCode() |
void |
setFilterName(String filterName)
The name of the metric filter to delete.
|
void |
setLogGroupName(String logGroupName)
The name of the log group that is associated with the metric filter to
delete.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteMetricFilterRequest |
withFilterName(String filterName)
The name of the metric filter to delete.
|
DeleteMetricFilterRequest |
withLogGroupName(String logGroupName)
The name of the log group that is associated with the metric filter to
delete.
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic DeleteMetricFilterRequest()
public DeleteMetricFilterRequest(String logGroupName, String filterName)
logGroupName - The name of the log group that is associated with
the metric filter to delete.filterName - The name of the metric filter to delete.public String getLogGroupName()
Constraints:
Length: 1 - 512
Pattern: [\.\-_/#A-Za-z0-9]+
public void setLogGroupName(String logGroupName)
Constraints:
Length: 1 - 512
Pattern: [\.\-_/#A-Za-z0-9]+
logGroupName - The name of the log group that is associated with the metric filter to
delete.public DeleteMetricFilterRequest withLogGroupName(String logGroupName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 512
Pattern: [\.\-_/#A-Za-z0-9]+
logGroupName - The name of the log group that is associated with the metric filter to
delete.public String getFilterName()
Constraints:
Length: 1 - 512
Pattern: [^:*]*
public void setFilterName(String filterName)
Constraints:
Length: 1 - 512
Pattern: [^:*]*
filterName - The name of the metric filter to delete.public DeleteMetricFilterRequest withFilterName(String filterName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 512
Pattern: [^:*]*
filterName - The name of the metric filter to delete.public String toString()
toString in class ObjectObject.toString()public DeleteMetricFilterRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.