public class UpdateCustomMetricRequest extends AmazonWebServiceRequest implements java.io.Serializable
Updates a Device Defender detect custom metric.
Constructor and Description |
---|
UpdateCustomMetricRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDisplayName()
Field represents a friendly name in the console for the custom metric, it
doesn't have to be unique.
|
java.lang.String |
getMetricName()
The name of the custom metric.
|
int |
hashCode() |
void |
setDisplayName(java.lang.String displayName)
Field represents a friendly name in the console for the custom metric, it
doesn't have to be unique.
|
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.
|
UpdateCustomMetricRequest |
withDisplayName(java.lang.String displayName)
Field represents a friendly name in the console for the custom metric, it
doesn't have to be unique.
|
UpdateCustomMetricRequest |
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. Cannot be updated.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
The name of the custom metric. Cannot be updated.
public void setMetricName(java.lang.String metricName)
The name of the custom metric. Cannot be updated.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
metricName
- The name of the custom metric. Cannot be updated.
public UpdateCustomMetricRequest withMetricName(java.lang.String metricName)
The name of the custom metric. Cannot be updated.
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. Cannot be updated.
public java.lang.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.
Constraints:
Length: - 128
Pattern: [\p{Graph}\x20]*
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 void setDisplayName(java.lang.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.
Constraints:
Length: - 128
Pattern: [\p{Graph}\x20]*
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 UpdateCustomMetricRequest withDisplayName(java.lang.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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 128
Pattern: [\p{Graph}\x20]*
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 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.