@Generated(value="software.amazon.awssdk:codegen") public final class DescribeCustomMetricResponse extends IotResponse implements ToCopyableBuilder<DescribeCustomMetricResponse.Builder,DescribeCustomMetricResponse>
Modifier and Type | Class and Description |
---|---|
static interface |
DescribeCustomMetricResponse.Builder |
Modifier and Type | Method and Description |
---|---|
static DescribeCustomMetricResponse.Builder |
builder() |
Instant |
creationDate()
The creation date of the custom metric in milliseconds since epoch.
|
String |
displayName()
Field represents a friendly name in the console for the custom metric; doesn't have to be unique.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastModifiedDate()
The time the custom metric was last modified in milliseconds since epoch.
|
String |
metricArn()
The Amazon Resource Number (ARN) of the custom metric.
|
String |
metricName()
The name of the custom metric.
|
CustomMetricType |
metricType()
The type of the custom metric.
|
String |
metricTypeAsString()
The type of the custom metric.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeCustomMetricResponse.Builder> |
serializableBuilderClass() |
DescribeCustomMetricResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadata
sdkHttpResponse
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String metricName()
The name of the custom metric.
public final String metricArn()
The Amazon Resource Number (ARN) of the custom metric.
public final 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.
If the service returns an enum value that is not available in the current SDK version, metricType
will
return CustomMetricType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
metricTypeAsString()
.
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
public final String metricTypeAsString()
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.
If the service returns an enum value that is not available in the current SDK version, metricType
will
return CustomMetricType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
metricTypeAsString()
.
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
public final 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.
public final Instant creationDate()
The creation date of the custom metric in milliseconds since epoch.
public final Instant lastModifiedDate()
The time the custom metric was last modified in milliseconds since epoch.
public DescribeCustomMetricResponse.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<DescribeCustomMetricResponse.Builder,DescribeCustomMetricResponse>
toBuilder
in class AwsResponse
public static DescribeCustomMetricResponse.Builder builder()
public static Class<? extends DescribeCustomMetricResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsResponse
public final boolean equals(Object obj)
equals
in class AwsResponse
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkResponse
Copyright © 2022. All rights reserved.