@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateCustomMetricResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
CreateCustomMetricResult() |
| Modifier and Type | Method and Description |
|---|---|
CreateCustomMetricResult |
clone() |
boolean |
equals(Object obj) |
String |
getMetricArn()
The Amazon Resource Number (ARN) of the custom metric.
|
String |
getMetricName()
The name of the custom metric to be used in the metric report.
|
int |
hashCode() |
void |
setMetricArn(String metricArn)
The Amazon Resource Number (ARN) of the custom metric.
|
void |
setMetricName(String metricName)
The name of the custom metric to be used in the metric report.
|
String |
toString()
Returns a string representation of this object.
|
CreateCustomMetricResult |
withMetricArn(String metricArn)
The Amazon Resource Number (ARN) of the custom metric.
|
CreateCustomMetricResult |
withMetricName(String metricName)
The name of the custom metric to be used in the metric report.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setMetricName(String metricName)
The name of the custom metric to be used in the metric report.
metricName - The name of the custom metric to be used in the metric report.public String getMetricName()
The name of the custom metric to be used in the metric report.
public CreateCustomMetricResult withMetricName(String metricName)
The name of the custom metric to be used in the metric report.
metricName - The name of the custom metric to be used in the metric report.public void setMetricArn(String metricArn)
The Amazon Resource Number (ARN) of the custom metric. For example,
arn:aws-partition:iot:region:accountId:custommetric/metricName
metricArn - The Amazon Resource Number (ARN) of the custom metric. For example,
arn:aws-partition:iot:region:accountId:custommetric/metricName public String getMetricArn()
The Amazon Resource Number (ARN) of the custom metric. For example,
arn:aws-partition:iot:region:accountId:custommetric/metricName
arn:aws-partition:iot:region:accountId:custommetric/metricName public CreateCustomMetricResult withMetricArn(String metricArn)
The Amazon Resource Number (ARN) of the custom metric. For example,
arn:aws-partition:iot:region:accountId:custommetric/metricName
metricArn - The Amazon Resource Number (ARN) of the custom metric. For example,
arn:aws-partition:iot:region:accountId:custommetric/metricName public String toString()
toString in class ObjectObject.toString()public CreateCustomMetricResult clone()