Interface UpdateMetricSetRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateMetricSetRequest.Builder,UpdateMetricSetRequest>,LookoutMetricsRequest.Builder,SdkBuilder<UpdateMetricSetRequest.Builder,UpdateMetricSetRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateMetricSetRequest
public static interface UpdateMetricSetRequest.Builder extends LookoutMetricsRequest.Builder, SdkPojo, CopyableBuilder<UpdateMetricSetRequest.Builder,UpdateMetricSetRequest>
-
-
Method Summary
-
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.lookoutmetrics.model.LookoutMetricsRequest.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 Detail
-
metricSetArn
UpdateMetricSetRequest.Builder metricSetArn(String metricSetArn)
The ARN of the dataset to update.
- Parameters:
metricSetArn- The ARN of the dataset to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricSetDescription
UpdateMetricSetRequest.Builder metricSetDescription(String metricSetDescription)
The dataset's description.
- Parameters:
metricSetDescription- The dataset's description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricList
UpdateMetricSetRequest.Builder metricList(Collection<Metric> metricList)
The metric list.
- Parameters:
metricList- The metric list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricList
UpdateMetricSetRequest.Builder metricList(Metric... metricList)
The metric list.
- Parameters:
metricList- The metric list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricList
UpdateMetricSetRequest.Builder metricList(Consumer<Metric.Builder>... metricList)
The metric list.
This is a convenience method that creates an instance of theMetric.Builderavoiding the need to create one manually viaMetric.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#metricList(List.) - Parameters:
metricList- a consumer that will call methods onMetric.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#metricList(java.util.Collection)
-
offset
UpdateMetricSetRequest.Builder offset(Integer offset)
After an interval ends, the amount of seconds that the detector waits before importing data. Offset is only supported for S3, Redshift, Athena and datasources.
- Parameters:
offset- After an interval ends, the amount of seconds that the detector waits before importing data. Offset is only supported for S3, Redshift, Athena and datasources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timestampColumn
UpdateMetricSetRequest.Builder timestampColumn(TimestampColumn timestampColumn)
The timestamp column.
- Parameters:
timestampColumn- The timestamp column.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timestampColumn
default UpdateMetricSetRequest.Builder timestampColumn(Consumer<TimestampColumn.Builder> timestampColumn)
The timestamp column.
This is a convenience method that creates an instance of theTimestampColumn.Builderavoiding the need to create one manually viaTimestampColumn.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totimestampColumn(TimestampColumn).- Parameters:
timestampColumn- a consumer that will call methods onTimestampColumn.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
timestampColumn(TimestampColumn)
-
dimensionList
UpdateMetricSetRequest.Builder dimensionList(Collection<String> dimensionList)
The dimension list.
- Parameters:
dimensionList- The dimension list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimensionList
UpdateMetricSetRequest.Builder dimensionList(String... dimensionList)
The dimension list.
- Parameters:
dimensionList- The dimension list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricSetFrequency
UpdateMetricSetRequest.Builder metricSetFrequency(String metricSetFrequency)
The dataset's interval.
-
metricSetFrequency
UpdateMetricSetRequest.Builder metricSetFrequency(Frequency metricSetFrequency)
The dataset's interval.
-
metricSource
UpdateMetricSetRequest.Builder metricSource(MetricSource metricSource)
Sets the value of the MetricSource property for this object.- Parameters:
metricSource- The new value for the MetricSource property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricSource
default UpdateMetricSetRequest.Builder metricSource(Consumer<MetricSource.Builder> metricSource)
Sets the value of the MetricSource property for this object. This is a convenience method that creates an instance of theMetricSource.Builderavoiding the need to create one manually viaMetricSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometricSource(MetricSource).- Parameters:
metricSource- a consumer that will call methods onMetricSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
metricSource(MetricSource)
-
dimensionFilterList
UpdateMetricSetRequest.Builder dimensionFilterList(Collection<MetricSetDimensionFilter> dimensionFilterList)
Describes a list of filters for choosing specific dimensions and specific values. Each filter consists of the dimension and one of its values that you want to include. When multiple dimensions or values are specified, the dimensions are joined with an AND operation and the values are joined with an OR operation.
- Parameters:
dimensionFilterList- Describes a list of filters for choosing specific dimensions and specific values. Each filter consists of the dimension and one of its values that you want to include. When multiple dimensions or values are specified, the dimensions are joined with an AND operation and the values are joined with an OR operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimensionFilterList
UpdateMetricSetRequest.Builder dimensionFilterList(MetricSetDimensionFilter... dimensionFilterList)
Describes a list of filters for choosing specific dimensions and specific values. Each filter consists of the dimension and one of its values that you want to include. When multiple dimensions or values are specified, the dimensions are joined with an AND operation and the values are joined with an OR operation.
- Parameters:
dimensionFilterList- Describes a list of filters for choosing specific dimensions and specific values. Each filter consists of the dimension and one of its values that you want to include. When multiple dimensions or values are specified, the dimensions are joined with an AND operation and the values are joined with an OR operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimensionFilterList
UpdateMetricSetRequest.Builder dimensionFilterList(Consumer<MetricSetDimensionFilter.Builder>... dimensionFilterList)
Describes a list of filters for choosing specific dimensions and specific values. Each filter consists of the dimension and one of its values that you want to include. When multiple dimensions or values are specified, the dimensions are joined with an AND operation and the values are joined with an OR operation.
This is a convenience method that creates an instance of theMetricSetDimensionFilter.Builderavoiding the need to create one manually viaMetricSetDimensionFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#dimensionFilterList(List.) - Parameters:
dimensionFilterList- a consumer that will call methods onMetricSetDimensionFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#dimensionFilterList(java.util.Collection)
-
overrideConfiguration
UpdateMetricSetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateMetricSetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-