Interface DescribeCustomMetricResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeCustomMetricResponse.Builder,
,DescribeCustomMetricResponse> IotResponse.Builder
,SdkBuilder<DescribeCustomMetricResponse.Builder,
,DescribeCustomMetricResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeCustomMetricResponse
-
Method Summary
Modifier and TypeMethodDescriptioncreationDate
(Instant creationDate) The creation date of the custom metric in milliseconds since epoch.displayName
(String displayName) Field represents a friendly name in the console for the custom metric; doesn't have to be unique.lastModifiedDate
(Instant lastModifiedDate) The time the custom metric was last modified in milliseconds since epoch.The Amazon Resource Number (ARN) of the custom metric.metricName
(String metricName) The name of the custom metric.metricType
(String metricType) The type of the custom metric.metricType
(CustomMetricType metricType) The type of the custom metric.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
metricName
The name of the custom metric.
- Parameters:
metricName
- The name of the custom metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricArn
The Amazon Resource Number (ARN) of the custom metric.
- Parameters:
metricArn
- The Amazon Resource Number (ARN) of the custom metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationDate
The creation date of the custom metric in milliseconds since epoch.
- Parameters:
creationDate
- The creation date of the custom metric in milliseconds since epoch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedDate
The time the custom metric was last modified in milliseconds since epoch.
- Parameters:
lastModifiedDate
- The time the custom metric was last modified in milliseconds since epoch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-