public static interface CreateCustomMetricRequest.Builder extends IotRequest.Builder, SdkPojo, CopyableBuilder<CreateCustomMetricRequest.Builder,CreateCustomMetricRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateCustomMetricRequest.Builder |
clientRequestToken(String clientRequestToken)
Each custom metric must have a unique client request token.
|
CreateCustomMetricRequest.Builder |
displayName(String displayName)
Field represents a friendly name in the console for the custom metric; it doesn't have to be unique.
|
CreateCustomMetricRequest.Builder |
metricName(String metricName)
The name of the custom metric.
|
CreateCustomMetricRequest.Builder |
metricType(CustomMetricType metricType)
The type of the custom metric.
|
CreateCustomMetricRequest.Builder |
metricType(String metricType)
The type of the custom metric.
|
CreateCustomMetricRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateCustomMetricRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateCustomMetricRequest.Builder |
tags(Collection<Tag> tags)
Metadata that can be used to manage the custom metric.
|
CreateCustomMetricRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
Metadata that can be used to manage the custom metric.
|
CreateCustomMetricRequest.Builder |
tags(Tag... tags)
Metadata that can be used to manage the custom metric.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateCustomMetricRequest.Builder metricName(String metricName)
The name of the custom metric. This will be used in the metric report submitted from the device/thing.
Shouldn't begin with aws:. Cannot be updated once defined.
metricName - The name of the custom metric. This will be used in the metric report submitted from the device/thing.
Shouldn't begin with aws:. Cannot be updated once defined.CreateCustomMetricRequest.Builder displayName(String displayName)
Field represents a friendly name in the console for the custom metric; it doesn't have to be unique. Don't use this name as the metric identifier in the device metric report. Can be updated once defined.
displayName - Field represents a friendly name in the console for the custom metric; it doesn't have to be unique.
Don't use this name as the metric identifier in the device metric report. Can be updated once defined.CreateCustomMetricRequest.Builder metricType(String metricType)
The type of the custom metric. Types include string-list, ip-address-list,
number-list, and number.
metricType - The type of the custom metric. Types include string-list, ip-address-list,
number-list, and number.CustomMetricType,
CustomMetricTypeCreateCustomMetricRequest.Builder metricType(CustomMetricType metricType)
The type of the custom metric. Types include string-list, ip-address-list,
number-list, and number.
metricType - The type of the custom metric. Types include string-list, ip-address-list,
number-list, and number.CustomMetricType,
CustomMetricTypeCreateCustomMetricRequest.Builder tags(Collection<Tag> tags)
Metadata that can be used to manage the custom metric.
tags - Metadata that can be used to manage the custom metric.CreateCustomMetricRequest.Builder tags(Tag... tags)
Metadata that can be used to manage the custom metric.
tags - Metadata that can be used to manage the custom metric.CreateCustomMetricRequest.Builder tags(Consumer<Tag.Builder>... tags)
Metadata that can be used to manage the custom metric.
This is a convenience that creates an instance of theList.Builder avoiding the need to create
one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its result
is passed to #tags(List) .tags - a consumer that will call methods on List.Builder #tags(List) CreateCustomMetricRequest.Builder clientRequestToken(String clientRequestToken)
Each custom metric must have a unique client request token. If you try to create a new custom metric that already exists with a different token, an exception occurs. If you omit this value, AWS SDKs will automatically generate a unique client request.
clientRequestToken - Each custom metric must have a unique client request token. If you try to create a new custom metric
that already exists with a different token, an exception occurs. If you omit this value, AWS SDKs will
automatically generate a unique client request.CreateCustomMetricRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateCustomMetricRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.