Interface BatchGetMetricsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchGetMetricsResponse.Builder,,BatchGetMetricsResponse> SageMakerMetricsResponse.Builder,SdkBuilder<BatchGetMetricsResponse.Builder,,BatchGetMetricsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchGetMetricsResponse
public static interface BatchGetMetricsResponse.Builder
extends SageMakerMetricsResponse.Builder, SdkPojo, CopyableBuilder<BatchGetMetricsResponse.Builder,BatchGetMetricsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionmetricQueryResults(Collection<MetricQueryResult> metricQueryResults) The results of a query to retrieve training metrics from SageMaker.metricQueryResults(Consumer<MetricQueryResult.Builder>... metricQueryResults) The results of a query to retrieve training metrics from SageMaker.metricQueryResults(MetricQueryResult... metricQueryResults) The results of a query to retrieve training metrics from SageMaker.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemakermetrics.model.SageMakerMetricsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
metricQueryResults
BatchGetMetricsResponse.Builder metricQueryResults(Collection<MetricQueryResult> metricQueryResults) The results of a query to retrieve training metrics from SageMaker.
- Parameters:
metricQueryResults- The results of a query to retrieve training metrics from SageMaker.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricQueryResults
The results of a query to retrieve training metrics from SageMaker.
- Parameters:
metricQueryResults- The results of a query to retrieve training metrics from SageMaker.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricQueryResults
BatchGetMetricsResponse.Builder metricQueryResults(Consumer<MetricQueryResult.Builder>... metricQueryResults) The results of a query to retrieve training metrics from SageMaker.
This is a convenience method that creates an instance of theMetricQueryResult.Builderavoiding the need to create one manually viaMetricQueryResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometricQueryResults(List<MetricQueryResult>).- Parameters:
metricQueryResults- a consumer that will call methods onMetricQueryResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-