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 thisListTrainingJobsForHyperParameterTuningJobrequest was truncated, the response includes aNextToken.trainingJobSummaries(Collection<HyperParameterTrainingJobSummary> trainingJobSummaries) A list of TrainingJobSummary objects that describe the training jobs that theListTrainingJobsForHyperParameterTuningJobrequest returned.trainingJobSummaries(Consumer<HyperParameterTrainingJobSummary.Builder>... trainingJobSummaries) A list of TrainingJobSummary objects that describe the training jobs that theListTrainingJobsForHyperParameterTuningJobrequest returned.trainingJobSummaries(HyperParameterTrainingJobSummary... trainingJobSummaries) A list of TrainingJobSummary objects that describe the training jobs that theListTrainingJobsForHyperParameterTuningJobrequest returned.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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
ListTrainingJobsForHyperParameterTuningJobrequest returned.- Parameters:
trainingJobSummaries- A list of TrainingJobSummary objects that describe the training jobs that theListTrainingJobsForHyperParameterTuningJobrequest 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
ListTrainingJobsForHyperParameterTuningJobrequest returned.- Parameters:
trainingJobSummaries- A list of TrainingJobSummary objects that describe the training jobs that theListTrainingJobsForHyperParameterTuningJobrequest 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 theListTrainingJobsForHyperParameterTuningJobrequest returned.HyperParameterTrainingJobSummary.Builderavoiding the need to create one manually viaHyperParameterTrainingJobSummary.builder().When the
Consumercompletes,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
ListTrainingJobsForHyperParameterTuningJobrequest 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 thisListTrainingJobsForHyperParameterTuningJobrequest 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.
-