Interface ListModelImportJobsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockResponse.Builder,Buildable,CopyableBuilder<ListModelImportJobsResponse.Builder,,ListModelImportJobsResponse> SdkBuilder<ListModelImportJobsResponse.Builder,,ListModelImportJobsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListModelImportJobsResponse
public static interface ListModelImportJobsResponse.Builder
extends BedrockResponse.Builder, SdkPojo, CopyableBuilder<ListModelImportJobsResponse.Builder,ListModelImportJobsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionmodelImportJobSummaries(Collection<ModelImportJobSummary> modelImportJobSummaries) Import job summaries.modelImportJobSummaries(Consumer<ModelImportJobSummary.Builder>... modelImportJobSummaries) Import job summaries.modelImportJobSummaries(ModelImportJobSummary... modelImportJobSummaries) Import job summaries.If the total number of results is greater than themaxResultsvalue provided in the request, enter the token returned in thenextTokenfield in the response in this field to return the next batch of results.Methods inherited from interface software.amazon.awssdk.services.bedrock.model.BedrockResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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
-
nextToken
If the total number of results is greater than the
maxResultsvalue provided in the request, enter the token returned in thenextTokenfield in the response in this field to return the next batch of results.- Parameters:
nextToken- If the total number of results is greater than themaxResultsvalue provided in the request, enter the token returned in thenextTokenfield in the response in this field to return the next batch of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelImportJobSummaries
ListModelImportJobsResponse.Builder modelImportJobSummaries(Collection<ModelImportJobSummary> modelImportJobSummaries) Import job summaries.
- Parameters:
modelImportJobSummaries- Import job summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelImportJobSummaries
ListModelImportJobsResponse.Builder modelImportJobSummaries(ModelImportJobSummary... modelImportJobSummaries) Import job summaries.
- Parameters:
modelImportJobSummaries- Import job summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelImportJobSummaries
ListModelImportJobsResponse.Builder modelImportJobSummaries(Consumer<ModelImportJobSummary.Builder>... modelImportJobSummaries) Import job summaries.
This is a convenience method that creates an instance of theModelImportJobSummary.Builderavoiding the need to create one manually viaModelImportJobSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomodelImportJobSummaries(List<ModelImportJobSummary>).- Parameters:
modelImportJobSummaries- a consumer that will call methods onModelImportJobSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-