Interface UpdateCustomMetricRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateCustomMetricRequest.Builder,
,UpdateCustomMetricRequest> IotRequest.Builder
,SdkBuilder<UpdateCustomMetricRequest.Builder,
,UpdateCustomMetricRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateCustomMetricRequest
public static interface UpdateCustomMetricRequest.Builder
extends IotRequest.Builder, SdkPojo, CopyableBuilder<UpdateCustomMetricRequest.Builder,UpdateCustomMetricRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondisplayName
(String displayName) Field represents a friendly name in the console for the custom metric, it doesn't have to be unique.metricName
(String metricName) The name of the custom metric.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
metricName
The name of the custom metric. Cannot be updated.
- Parameters:
metricName
- The name of the custom metric. Cannot be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateCustomMetricRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateCustomMetricRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-