Interface ListModelImportJobsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BedrockResponse.Builder
,Buildable
,CopyableBuilder<ListModelImportJobsResponse.Builder,
,ListModelImportJobsResponse> SdkBuilder<ListModelImportJobsResponse.Builder,
,ListModelImportJobsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListModelImportJobsResponse
@Mutable
@NotThreadSafe
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 themaxResults
value provided in the request, enter the token returned in thenextToken
field 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, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
If the total number of results is greater than the
maxResults
value provided in the request, enter the token returned in thenextToken
field in the response in this field to return the next batch of results.- Parameters:
nextToken
- If the total number of results is greater than themaxResults
value provided in the request, enter the token returned in thenextToken
field 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.Builder
avoiding the need to create one manually viaModelImportJobSummary.builder()
.When the
Consumer
completes,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:
-