@Generated(value="software.amazon.awssdk:codegen") public final class CreateCustomMetricResponse extends IotResponse implements ToCopyableBuilder<CreateCustomMetricResponse.Builder,CreateCustomMetricResponse>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateCustomMetricResponse.Builder |
Modifier and Type | Method and Description |
---|---|
static CreateCustomMetricResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
metricArn()
The Amazon Resource Number (ARN) of the custom metric, e.g.
|
String |
metricName()
The name of the custom metric to be used in the metric report.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateCustomMetricResponse.Builder> |
serializableBuilderClass() |
CreateCustomMetricResponse.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 to be used in the metric report.
public final String metricArn()
The Amazon Resource Number (ARN) of the custom metric, e.g.
arn:aws-partition:iot:region:accountId:custommetric/metricName
arn:aws-partition:iot:region:accountId:custommetric/metricName
public CreateCustomMetricResponse.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<CreateCustomMetricResponse.Builder,CreateCustomMetricResponse>
toBuilder
in class AwsResponse
public static CreateCustomMetricResponse.Builder builder()
public static Class<? extends CreateCustomMetricResponse.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 © 2021. All rights reserved.