public class CreateCustomMetricResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
CreateCustomMetricResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getMetricArn()
The Amazon Resource Number (ARN) of the custom metric, e.g.
|
java.lang.String |
getMetricName()
The name of the custom metric to be used in the metric report.
|
int |
hashCode() |
void |
setMetricArn(java.lang.String metricArn)
The Amazon Resource Number (ARN) of the custom metric, e.g.
|
void |
setMetricName(java.lang.String metricName)
The name of the custom metric to be used in the metric report.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateCustomMetricResult |
withMetricArn(java.lang.String metricArn)
The Amazon Resource Number (ARN) of the custom metric, e.g.
|
CreateCustomMetricResult |
withMetricName(java.lang.String metricName)
The name of the custom metric to be used in the metric report.
|
public java.lang.String getMetricName()
The name of the custom metric to be used in the metric report.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
The name of the custom metric to be used in the metric report.
public void setMetricName(java.lang.String metricName)
The name of the custom metric to be used in the metric report.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
metricName
- The name of the custom metric to be used in the metric report.
public CreateCustomMetricResult withMetricName(java.lang.String metricName)
The name of the custom metric to be used in the metric report.
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 to be used in the metric report.
public java.lang.String getMetricArn()
The Amazon Resource Number (ARN) of the custom metric, e.g.
arn:aws-partition:iot:region:accountId:custommetric/metricName
The Amazon Resource Number (ARN) of the custom metric, e.g.
arn:aws-partition:iot:region:accountId:custommetric/metricName
public void setMetricArn(java.lang.String metricArn)
The Amazon Resource Number (ARN) of the custom metric, e.g.
arn:aws-partition:iot:region:accountId:custommetric/metricName
metricArn
-
The Amazon Resource Number (ARN) of the custom metric, e.g.
arn:aws-partition:iot:region:accountId:custommetric/metricName
public CreateCustomMetricResult withMetricArn(java.lang.String metricArn)
The Amazon Resource Number (ARN) of the custom metric, e.g.
arn:aws-partition:iot:region:accountId:custommetric/metricName
Returns a reference to this object so that method calls can be chained together.
metricArn
-
The Amazon Resource Number (ARN) of the custom metric, e.g.
arn:aws-partition:iot:region:accountId:custommetric/metricName
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.