Interface Measurement.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Measurement.Builder,
,Measurement> SdkBuilder<Measurement.Builder,
,Measurement> SdkPojo
- Enclosing class:
Measurement
public static interface Measurement.Builder
extends SdkPojo, CopyableBuilder<Measurement.Builder,Measurement>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Measurement.Builder
processingConfig
(Consumer<MeasurementProcessingConfig.Builder> processingConfig) The processing configuration for the given measurement property.processingConfig
(MeasurementProcessingConfig processingConfig) The processing configuration for the given measurement property.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
processingConfig
The processing configuration for the given measurement property. You can configure measurements to be kept at the edge or forwarded to the Amazon Web Services Cloud. By default, measurements are forwarded to the cloud.
- Parameters:
processingConfig
- The processing configuration for the given measurement property. You can configure measurements to be kept at the edge or forwarded to the Amazon Web Services Cloud. By default, measurements are forwarded to the cloud.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
processingConfig
default Measurement.Builder processingConfig(Consumer<MeasurementProcessingConfig.Builder> processingConfig) The processing configuration for the given measurement property. You can configure measurements to be kept at the edge or forwarded to the Amazon Web Services Cloud. By default, measurements are forwarded to the cloud.
This is a convenience method that creates an instance of theMeasurementProcessingConfig.Builder
avoiding the need to create one manually viaMeasurementProcessingConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprocessingConfig(MeasurementProcessingConfig)
.- Parameters:
processingConfig
- a consumer that will call methods onMeasurementProcessingConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-