@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateCustomMetricRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateCustomMetricRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateCustomMetricRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDisplayName()
Field represents a friendly name in the console for the custom metric, it doesn't have to be unique.
|
String |
getMetricName()
The name of the custom metric.
|
int |
hashCode() |
void |
setDisplayName(String displayName)
Field represents a friendly name in the console for the custom metric, it doesn't have to be unique.
|
void |
setMetricName(String metricName)
The name of the custom metric.
|
String |
toString()
Returns a string representation of this object.
|
UpdateCustomMetricRequest |
withDisplayName(String displayName)
Field represents a friendly name in the console for the custom metric, it doesn't have to be unique.
|
UpdateCustomMetricRequest |
withMetricName(String metricName)
The name of the custom metric.
|
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 setMetricName(String metricName)
The name of the custom metric. Cannot be updated.
metricName
- The name of the custom metric. Cannot be updated.public String getMetricName()
The name of the custom metric. Cannot be updated.
public UpdateCustomMetricRequest withMetricName(String metricName)
The name of the custom metric. Cannot be updated.
metricName
- The name of the custom metric. Cannot be updated.public void setDisplayName(String displayName)
Field represents a friendly name in the console for the custom metric, it doesn't have to be unique. Don't use this name as the metric identifier in the device metric report. Can be updated.
displayName
- Field represents a friendly name in the console for the custom metric, it doesn't have to be unique. Don't
use this name as the metric identifier in the device metric report. Can be updated.public String getDisplayName()
Field represents a friendly name in the console for the custom metric, it doesn't have to be unique. Don't use this name as the metric identifier in the device metric report. Can be updated.
public UpdateCustomMetricRequest withDisplayName(String displayName)
Field represents a friendly name in the console for the custom metric, it doesn't have to be unique. Don't use this name as the metric identifier in the device metric report. Can be updated.
displayName
- Field represents a friendly name in the console for the custom metric, it doesn't have to be unique. Don't
use this name as the metric identifier in the device metric report. Can be updated.public String toString()
toString
in class Object
Object.toString()
public UpdateCustomMetricRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()