Interface BatchPutMetricsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<BatchPutMetricsRequest.Builder,
,BatchPutMetricsRequest> SageMakerMetricsRequest.Builder
,SdkBuilder<BatchPutMetricsRequest.Builder,
,BatchPutMetricsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
BatchPutMetricsRequest
public static interface BatchPutMetricsRequest.Builder
extends SageMakerMetricsRequest.Builder, SdkPojo, CopyableBuilder<BatchPutMetricsRequest.Builder,BatchPutMetricsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionmetricData
(Collection<RawMetricData> metricData) A list of raw metric values to put.metricData
(Consumer<RawMetricData.Builder>... metricData) A list of raw metric values to put.metricData
(RawMetricData... metricData) A list of raw metric values to put.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.trialComponentName
(String trialComponentName) The name of the Trial Component to associate with the metrics.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.sagemakermetrics.model.SageMakerMetricsRequest.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 Details
-
trialComponentName
The name of the Trial Component to associate with the metrics.
- Parameters:
trialComponentName
- The name of the Trial Component to associate with the metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricData
A list of raw metric values to put.
- Parameters:
metricData
- A list of raw metric values to put.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricData
A list of raw metric values to put.
- Parameters:
metricData
- A list of raw metric values to put.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricData
A list of raw metric values to put.
This is a convenience method that creates an instance of theRawMetricData.Builder
avoiding the need to create one manually viaRawMetricData.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometricData(List<RawMetricData>)
.- Parameters:
metricData
- a consumer that will call methods onRawMetricData.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
BatchPutMetricsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
BatchPutMetricsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-