Interface ListTrainingJobsForHyperParameterTuningJobResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListTrainingJobsForHyperParameterTuningJobResponse.Builder,
,ListTrainingJobsForHyperParameterTuningJobResponse> SageMakerResponse.Builder
,SdkBuilder<ListTrainingJobsForHyperParameterTuningJobResponse.Builder,
,ListTrainingJobsForHyperParameterTuningJobResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListTrainingJobsForHyperParameterTuningJobResponse
-
Method Summary
Modifier and TypeMethodDescriptionIf the result of thisListTrainingJobsForHyperParameterTuningJob
request was truncated, the response includes aNextToken
.trainingJobSummaries
(Collection<HyperParameterTrainingJobSummary> trainingJobSummaries) A list of TrainingJobSummary objects that describe the training jobs that theListTrainingJobsForHyperParameterTuningJob
request returned.trainingJobSummaries
(Consumer<HyperParameterTrainingJobSummary.Builder>... trainingJobSummaries) A list of TrainingJobSummary objects that describe the training jobs that theListTrainingJobsForHyperParameterTuningJob
request returned.trainingJobSummaries
(HyperParameterTrainingJobSummary... trainingJobSummaries) A list of TrainingJobSummary objects that describe the training jobs that theListTrainingJobsForHyperParameterTuningJob
request returned.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
trainingJobSummaries
ListTrainingJobsForHyperParameterTuningJobResponse.Builder trainingJobSummaries(Collection<HyperParameterTrainingJobSummary> trainingJobSummaries) A list of TrainingJobSummary objects that describe the training jobs that the
ListTrainingJobsForHyperParameterTuningJob
request returned.- Parameters:
trainingJobSummaries
- A list of TrainingJobSummary objects that describe the training jobs that theListTrainingJobsForHyperParameterTuningJob
request returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingJobSummaries
ListTrainingJobsForHyperParameterTuningJobResponse.Builder trainingJobSummaries(HyperParameterTrainingJobSummary... trainingJobSummaries) A list of TrainingJobSummary objects that describe the training jobs that the
ListTrainingJobsForHyperParameterTuningJob
request returned.- Parameters:
trainingJobSummaries
- A list of TrainingJobSummary objects that describe the training jobs that theListTrainingJobsForHyperParameterTuningJob
request returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingJobSummaries
ListTrainingJobsForHyperParameterTuningJobResponse.Builder trainingJobSummaries(Consumer<HyperParameterTrainingJobSummary.Builder>... trainingJobSummaries) A list of TrainingJobSummary objects that describe the training jobs that the
This is a convenience method that creates an instance of theListTrainingJobsForHyperParameterTuningJob
request returned.HyperParameterTrainingJobSummary.Builder
avoiding the need to create one manually viaHyperParameterTrainingJobSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totrainingJobSummaries(List<HyperParameterTrainingJobSummary>)
.- Parameters:
trainingJobSummaries
- a consumer that will call methods onHyperParameterTrainingJobSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If the result of this
ListTrainingJobsForHyperParameterTuningJob
request was truncated, the response includes aNextToken
. To retrieve the next set of training jobs, use the token in the next request.- Parameters:
nextToken
- If the result of thisListTrainingJobsForHyperParameterTuningJob
request was truncated, the response includes aNextToken
. To retrieve the next set of training jobs, use the token in the next request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-