Interface UpdateMetricContentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectRequest.Builder,CopyableBuilder<UpdateMetricContentRequest.Builder,,UpdateMetricContentRequest> SdkBuilder<UpdateMetricContentRequest.Builder,,UpdateMetricContentRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateMetricContentRequest
-
Method Summary
Modifier and TypeMethodDescriptioninstanceId(String instanceId) The identifier of the Connect Customer instance.metricCalculation(Consumer<MetricCalculation.Builder> metricCalculation) The updated calculation definition for the metric.metricCalculation(MetricCalculation metricCalculation) The updated calculation definition for the metric.The identifier of the metric to update.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.positiveTrendIndicator(String positiveTrendIndicator) How an increase in the metric value should be interpreted.positiveTrendIndicator(TrendIndicator positiveTrendIndicator) How an increase in the metric value should be interpreted.The updated display unit for the metric.unit(MetricUnit unit) The updated display unit for the metric.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.
-
metricCalculation
The updated calculation definition for the metric.
- Parameters:
metricCalculation- The updated calculation definition for the metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricCalculation
default UpdateMetricContentRequest.Builder metricCalculation(Consumer<MetricCalculation.Builder> metricCalculation) The updated calculation definition for the metric.
This is a convenience method that creates an instance of theMetricCalculation.Builderavoiding the need to create one manually viaMetricCalculation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometricCalculation(MetricCalculation).- Parameters:
metricCalculation- a consumer that will call methods onMetricCalculation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
unit
The updated display unit for the metric.
- Parameters:
unit- The updated display unit for the metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
unit
The updated display unit for the metric.
- Parameters:
unit- The updated display unit for the metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
positiveTrendIndicator
How an increase in the metric value should be interpreted. Valid values:
POSITIVE,NEUTRAL,NEGATIVE.- Parameters:
positiveTrendIndicator- How an increase in the metric value should be interpreted. Valid values:POSITIVE,NEUTRAL,NEGATIVE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
positiveTrendIndicator
How an increase in the metric value should be interpreted. Valid values:
POSITIVE,NEUTRAL,NEGATIVE.- Parameters:
positiveTrendIndicator- How an increase in the metric value should be interpreted. Valid values:POSITIVE,NEUTRAL,NEGATIVE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateMetricContentRequest.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
UpdateMetricContentRequest.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.
-