Interface ListOptimizationJobsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListOptimizationJobsResponse.Builder,,ListOptimizationJobsResponse> SageMakerResponse.Builder,SdkBuilder<ListOptimizationJobsResponse.Builder,,ListOptimizationJobsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListOptimizationJobsResponse
public static interface ListOptimizationJobsResponse.Builder
extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<ListOptimizationJobsResponse.Builder,ListOptimizationJobsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to use in a subsequent request to get the next set of results following a truncated response.optimizationJobSummaries(Collection<OptimizationJobSummary> optimizationJobSummaries) A list of optimization jobs and their properties that matches any of the filters you specified in the request.optimizationJobSummaries(Consumer<OptimizationJobSummary.Builder>... optimizationJobSummaries) A list of optimization jobs and their properties that matches any of the filters you specified in the request.optimizationJobSummaries(OptimizationJobSummary... optimizationJobSummaries) A list of optimization jobs and their properties that matches any of the filters you specified in the request.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
optimizationJobSummaries
ListOptimizationJobsResponse.Builder optimizationJobSummaries(Collection<OptimizationJobSummary> optimizationJobSummaries) A list of optimization jobs and their properties that matches any of the filters you specified in the request.
- Parameters:
optimizationJobSummaries- A list of optimization jobs and their properties that matches any of the filters you specified in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optimizationJobSummaries
ListOptimizationJobsResponse.Builder optimizationJobSummaries(OptimizationJobSummary... optimizationJobSummaries) A list of optimization jobs and their properties that matches any of the filters you specified in the request.
- Parameters:
optimizationJobSummaries- A list of optimization jobs and their properties that matches any of the filters you specified in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optimizationJobSummaries
ListOptimizationJobsResponse.Builder optimizationJobSummaries(Consumer<OptimizationJobSummary.Builder>... optimizationJobSummaries) A list of optimization jobs and their properties that matches any of the filters you specified in the request.
This is a convenience method that creates an instance of theOptimizationJobSummary.Builderavoiding the need to create one manually viaOptimizationJobSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooptimizationJobSummaries(List<OptimizationJobSummary>).- Parameters:
optimizationJobSummaries- a consumer that will call methods onOptimizationJobSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use in a subsequent request to get the next set of results following a truncated response.
- Parameters:
nextToken- The token to use in a subsequent request to get the next set of results following a truncated response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-