Interface UpdateMetricMetadataRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectRequest.Builder,CopyableBuilder<UpdateMetricMetadataRequest.Builder,,UpdateMetricMetadataRequest> SdkBuilder<UpdateMetricMetadataRequest.Builder,,UpdateMetricMetadataRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateMetricMetadataRequest
@Mutable
@NotThreadSafe
public static interface UpdateMetricMetadataRequest.Builder
extends ConnectRequest.Builder, SdkPojo, CopyableBuilder<UpdateMetricMetadataRequest.Builder,UpdateMetricMetadataRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) The updated description of the metric.instanceId(String instanceId) The identifier of the Connect Customer instance.The identifier of the metric to update.The updated name of the 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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.connect.model.ConnectRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
instanceId
The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Parameters:
instanceId- The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricId
The identifier of the metric to update. Adding the
$SAVEDqualifier will update the saved version of the metric. Adding$LATESTor omitting a qualifier will update the published version.- Parameters:
metricId- The identifier of the metric to update. Adding the$SAVEDqualifier will update the saved version of the metric. Adding$LATESTor omitting a qualifier will update the published version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The updated name of the metric.
- Parameters:
name- The updated name of the metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The updated description of the metric.
- Parameters:
description- The updated description of the metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateMetricMetadataRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateMetricMetadataRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-