Interface UpdateMetricSetRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateMetricSetRequest.Builder,,UpdateMetricSetRequest> LookoutMetricsRequest.Builder,SdkBuilder<UpdateMetricSetRequest.Builder,,UpdateMetricSetRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateMetricSetRequest
-
Method Summary
Modifier and TypeMethodDescriptiondimensionFilterList(Collection<MetricSetDimensionFilter> dimensionFilterList) Describes a list of filters for choosing specific dimensions and specific values.dimensionFilterList(Consumer<MetricSetDimensionFilter.Builder>... dimensionFilterList) Describes a list of filters for choosing specific dimensions and specific values.dimensionFilterList(MetricSetDimensionFilter... dimensionFilterList) Describes a list of filters for choosing specific dimensions and specific values.dimensionList(String... dimensionList) The dimension list.dimensionList(Collection<String> dimensionList) The dimension list.metricList(Collection<Metric> metricList) The metric list.metricList(Consumer<Metric.Builder>... metricList) The metric list.metricList(Metric... metricList) The metric list.metricSetArn(String metricSetArn) The ARN of the dataset to update.metricSetDescription(String metricSetDescription) The dataset's description.metricSetFrequency(String metricSetFrequency) The dataset's interval.metricSetFrequency(Frequency metricSetFrequency) The dataset's interval.default UpdateMetricSetRequest.BuildermetricSource(Consumer<MetricSource.Builder> metricSource) Sets the value of the MetricSource property for this object.metricSource(MetricSource metricSource) Sets the value of the MetricSource property for this object.After an interval ends, the amount of seconds that the detector waits before importing data.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default UpdateMetricSetRequest.BuildertimestampColumn(Consumer<TimestampColumn.Builder> timestampColumn) The timestamp column.timestampColumn(TimestampColumn timestampColumn) The timestamp column.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lookoutmetrics.model.LookoutMetricsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
The metric list.
- Parameters:
metricList- The metric list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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 tometricList(List<Metric>).- 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:
-
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
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:
-
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
The dimension list.
- Parameters:
dimensionList- The dimension list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricSetFrequency
The dataset's interval.
- Parameters:
metricSetFrequency- The dataset's interval.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
metricSetFrequency
The dataset's interval.
- Parameters:
metricSetFrequency- The dataset's interval.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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:
-
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
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 todimensionFilterList(List<MetricSetDimensionFilter>).- 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:
-
overrideConfiguration
UpdateMetricSetRequest.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
UpdateMetricSetRequest.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.
-