Interface ListModelCustomizationJobsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BedrockResponse.Builder
,Buildable
,CopyableBuilder<ListModelCustomizationJobsResponse.Builder,
,ListModelCustomizationJobsResponse> SdkBuilder<ListModelCustomizationJobsResponse.Builder,
,ListModelCustomizationJobsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListModelCustomizationJobsResponse
@Mutable
@NotThreadSafe
public static interface ListModelCustomizationJobsResponse.Builder
extends BedrockResponse.Builder, SdkPojo, CopyableBuilder<ListModelCustomizationJobsResponse.Builder,ListModelCustomizationJobsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionmodelCustomizationJobSummaries
(Collection<ModelCustomizationJobSummary> modelCustomizationJobSummaries) Job summaries.modelCustomizationJobSummaries
(Consumer<ModelCustomizationJobSummary.Builder>... modelCustomizationJobSummaries) Job summaries.modelCustomizationJobSummaries
(ModelCustomizationJobSummary... modelCustomizationJobSummaries) Job summaries.If the total number of results is greater than themaxResults
value provided in the request, use this token when making another request in thenextToken
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, use this token when making another request in thenextToken
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, use this token when making another request in thenextToken
field to return the next batch of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelCustomizationJobSummaries
ListModelCustomizationJobsResponse.Builder modelCustomizationJobSummaries(Collection<ModelCustomizationJobSummary> modelCustomizationJobSummaries) Job summaries.
- Parameters:
modelCustomizationJobSummaries
- Job summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelCustomizationJobSummaries
ListModelCustomizationJobsResponse.Builder modelCustomizationJobSummaries(ModelCustomizationJobSummary... modelCustomizationJobSummaries) Job summaries.
- Parameters:
modelCustomizationJobSummaries
- Job summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelCustomizationJobSummaries
ListModelCustomizationJobsResponse.Builder modelCustomizationJobSummaries(Consumer<ModelCustomizationJobSummary.Builder>... modelCustomizationJobSummaries) Job summaries.
This is a convenience method that creates an instance of theModelCustomizationJobSummary.Builder
avoiding the need to create one manually viaModelCustomizationJobSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomodelCustomizationJobSummaries(List<ModelCustomizationJobSummary>)
.- Parameters:
modelCustomizationJobSummaries
- a consumer that will call methods onModelCustomizationJobSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-