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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListModelCustomizationJobsResponse.BuildermodelCustomizationJobSummaries(Collection<ModelCustomizationJobSummary> modelCustomizationJobSummaries)Job summaries.ListModelCustomizationJobsResponse.BuildermodelCustomizationJobSummaries(Consumer<ModelCustomizationJobSummary.Builder>... modelCustomizationJobSummaries)Job summaries.ListModelCustomizationJobsResponse.BuildermodelCustomizationJobSummaries(ModelCustomizationJobSummary... modelCustomizationJobSummaries)Job summaries.ListModelCustomizationJobsResponse.BuildernextToken(String nextToken)If the total number of results is greater than themaxResultsvalue provided in the request, use this token when making another request in thenextTokenfield 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 Detail
-
nextToken
ListModelCustomizationJobsResponse.Builder nextToken(String nextToken)
If the total number of results is greater than the
maxResultsvalue provided in the request, use this token when making another request in thenextTokenfield to return the next batch of results.- Parameters:
nextToken- If the total number of results is greater than themaxResultsvalue provided in the request, use this token when making another request in thenextTokenfield 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.Builderavoiding the need to create one manually viaModelCustomizationJobSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#modelCustomizationJobSummaries(List.) - 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:
#modelCustomizationJobSummaries(java.util.Collection)
-
-