Interface MetricGoalConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MetricGoalConfig.Builder,,MetricGoalConfig> SdkBuilder<MetricGoalConfig.Builder,,MetricGoalConfig> SdkPojo
- Enclosing class:
MetricGoalConfig
-
Method Summary
Modifier and TypeMethodDescriptiondesiredChange(String desiredChange) INCREASEmeans that a variation with a higher number for this metric is performing better.desiredChange(ChangeDirectionEnum desiredChange) INCREASEmeans that a variation with a higher number for this metric is performing better.default MetricGoalConfig.BuildermetricDefinition(Consumer<MetricDefinitionConfig.Builder> metricDefinition) A structure that contains details about the metric.metricDefinition(MetricDefinitionConfig metricDefinition) A structure that contains details about the metric.Methods 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
-
desiredChange
INCREASEmeans that a variation with a higher number for this metric is performing better.DECREASEmeans that a variation with a lower number for this metric is performing better.- Parameters:
desiredChange-INCREASEmeans that a variation with a higher number for this metric is performing better.DECREASEmeans that a variation with a lower number for this metric is performing better.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
desiredChange
INCREASEmeans that a variation with a higher number for this metric is performing better.DECREASEmeans that a variation with a lower number for this metric is performing better.- Parameters:
desiredChange-INCREASEmeans that a variation with a higher number for this metric is performing better.DECREASEmeans that a variation with a lower number for this metric is performing better.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
metricDefinition
A structure that contains details about the metric.
- Parameters:
metricDefinition- A structure that contains details about the metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricDefinition
default MetricGoalConfig.Builder metricDefinition(Consumer<MetricDefinitionConfig.Builder> metricDefinition) A structure that contains details about the metric.
This is a convenience method that creates an instance of theMetricDefinitionConfig.Builderavoiding the need to create one manually viaMetricDefinitionConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometricDefinition(MetricDefinitionConfig).- Parameters:
metricDefinition- a consumer that will call methods onMetricDefinitionConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-