public class DescribeCustomMetricRequest extends AmazonWebServiceRequest implements java.io.Serializable
Gets information about a Device Defender detect custom metric.
Constructor and Description |
---|
DescribeCustomMetricRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getMetricName()
The name of the custom metric.
|
int |
hashCode() |
void |
setMetricName(java.lang.String metricName)
The name of the custom metric.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeCustomMetricRequest |
withMetricName(java.lang.String metricName)
The name of the custom metric.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getMetricName()
The name of the custom metric.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
The name of the custom metric.
public void setMetricName(java.lang.String metricName)
The name of the custom metric.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
metricName
- The name of the custom metric.
public DescribeCustomMetricRequest withMetricName(java.lang.String metricName)
The name of the custom metric.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
metricName
- The name of the custom metric.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.