Interface RequestBasedServiceLevelIndicatorConfig.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<RequestBasedServiceLevelIndicatorConfig.Builder,,- RequestBasedServiceLevelIndicatorConfig> - SdkBuilder<RequestBasedServiceLevelIndicatorConfig.Builder,,- RequestBasedServiceLevelIndicatorConfig> - SdkPojo
- Enclosing class:
- RequestBasedServiceLevelIndicatorConfig
- 
Method SummaryModifier and TypeMethodDescriptioncomparisonOperator(String comparisonOperator) The arithmetic operation to use when comparing the specified metric to the threshold.comparisonOperator(ServiceLevelIndicatorComparisonOperator comparisonOperator) The arithmetic operation to use when comparing the specified metric to the threshold.metricThreshold(Double metricThreshold) The value that the SLI metric is compared to.requestBasedSliMetricConfig(Consumer<RequestBasedServiceLevelIndicatorMetricConfig.Builder> requestBasedSliMetricConfig) Use this structure to specify the metric to be used for the SLO.requestBasedSliMetricConfig(RequestBasedServiceLevelIndicatorMetricConfig requestBasedSliMetricConfig) Use this structure to specify the metric to be used for the SLO.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
requestBasedSliMetricConfigRequestBasedServiceLevelIndicatorConfig.Builder requestBasedSliMetricConfig(RequestBasedServiceLevelIndicatorMetricConfig requestBasedSliMetricConfig) Use this structure to specify the metric to be used for the SLO. - Parameters:
- requestBasedSliMetricConfig- Use this structure to specify the metric to be used for the SLO.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
requestBasedSliMetricConfigdefault RequestBasedServiceLevelIndicatorConfig.Builder requestBasedSliMetricConfig(Consumer<RequestBasedServiceLevelIndicatorMetricConfig.Builder> requestBasedSliMetricConfig) Use this structure to specify the metric to be used for the SLO. This is a convenience method that creates an instance of theRequestBasedServiceLevelIndicatorMetricConfig.Builderavoiding the need to create one manually viaRequestBasedServiceLevelIndicatorMetricConfig.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torequestBasedSliMetricConfig(RequestBasedServiceLevelIndicatorMetricConfig).- Parameters:
- requestBasedSliMetricConfig- a consumer that will call methods on- RequestBasedServiceLevelIndicatorMetricConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
metricThresholdThe value that the SLI metric is compared to. This parameter is required if this SLO is tracking the Latencymetric.- Parameters:
- metricThreshold- The value that the SLI metric is compared to. This parameter is required if this SLO is tracking the- Latencymetric.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
comparisonOperatorThe arithmetic operation to use when comparing the specified metric to the threshold. This parameter is required if this SLO is tracking the Latencymetric.- Parameters:
- comparisonOperator- The arithmetic operation to use when comparing the specified metric to the threshold. This parameter is required if this SLO is tracking the- Latencymetric.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
comparisonOperatorRequestBasedServiceLevelIndicatorConfig.Builder comparisonOperator(ServiceLevelIndicatorComparisonOperator comparisonOperator) The arithmetic operation to use when comparing the specified metric to the threshold. This parameter is required if this SLO is tracking the Latencymetric.- Parameters:
- comparisonOperator- The arithmetic operation to use when comparing the specified metric to the threshold. This parameter is required if this SLO is tracking the- Latencymetric.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-