public static interface DescribeCustomMetricResponse.Builder extends IotResponse.Builder, SdkPojo, CopyableBuilder<DescribeCustomMetricResponse.Builder,DescribeCustomMetricResponse>
Modifier and Type | Method and Description |
---|---|
DescribeCustomMetricResponse.Builder |
creationDate(Instant creationDate)
The creation date of the custom metric in milliseconds since epoch.
|
DescribeCustomMetricResponse.Builder |
displayName(String displayName)
Field represents a friendly name in the console for the custom metric; doesn't have to be unique.
|
DescribeCustomMetricResponse.Builder |
lastModifiedDate(Instant lastModifiedDate)
The time the custom metric was last modified in milliseconds since epoch.
|
DescribeCustomMetricResponse.Builder |
metricArn(String metricArn)
The Amazon Resource Number (ARN) of the custom metric.
|
DescribeCustomMetricResponse.Builder |
metricName(String metricName)
The name of the custom metric.
|
DescribeCustomMetricResponse.Builder |
metricType(CustomMetricType metricType)
The type of the custom metric.
|
DescribeCustomMetricResponse.Builder |
metricType(String metricType)
The type of the custom metric.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
DescribeCustomMetricResponse.Builder metricName(String metricName)
The name of the custom metric.
metricName
- The name of the custom metric.DescribeCustomMetricResponse.Builder metricArn(String metricArn)
The Amazon Resource Number (ARN) of the custom metric.
metricArn
- The Amazon Resource Number (ARN) of the custom metric.DescribeCustomMetricResponse.Builder metricType(String metricType)
The type of the custom metric.
The type number
only takes a single metric value as an input, but while submitting the metrics
value in the DeviceMetrics report, it must be passed as an array with a single value.
metricType
- The type of the custom metric.
The type number
only takes a single metric value as an input, but while submitting the
metrics value in the DeviceMetrics report, it must be passed as an array with a single value.
CustomMetricType
,
CustomMetricType
DescribeCustomMetricResponse.Builder metricType(CustomMetricType metricType)
The type of the custom metric.
The type number
only takes a single metric value as an input, but while submitting the metrics
value in the DeviceMetrics report, it must be passed as an array with a single value.
metricType
- The type of the custom metric.
The type number
only takes a single metric value as an input, but while submitting the
metrics value in the DeviceMetrics report, it must be passed as an array with a single value.
CustomMetricType
,
CustomMetricType
DescribeCustomMetricResponse.Builder displayName(String displayName)
Field represents a friendly name in the console for the custom metric; 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; doesn't have to be unique.
Don't use this name as the metric identifier in the device metric report. Can be updated.DescribeCustomMetricResponse.Builder creationDate(Instant creationDate)
The creation date of the custom metric in milliseconds since epoch.
creationDate
- The creation date of the custom metric in milliseconds since epoch.DescribeCustomMetricResponse.Builder lastModifiedDate(Instant lastModifiedDate)
The time the custom metric was last modified in milliseconds since epoch.
lastModifiedDate
- The time the custom metric was last modified in milliseconds since epoch.Copyright © 2022. All rights reserved.