Interface ListModelCopyJobsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BedrockResponse.Builder,Buildable,CopyableBuilder<ListModelCopyJobsResponse.Builder,ListModelCopyJobsResponse>,SdkBuilder<ListModelCopyJobsResponse.Builder,ListModelCopyJobsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListModelCopyJobsResponse
@Mutable @NotThreadSafe public static interface ListModelCopyJobsResponse.Builder extends BedrockResponse.Builder, SdkPojo, CopyableBuilder<ListModelCopyJobsResponse.Builder,ListModelCopyJobsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListModelCopyJobsResponse.BuildermodelCopyJobSummaries(Collection<ModelCopyJobSummary> modelCopyJobSummaries)A list of information about each model copy job.ListModelCopyJobsResponse.BuildermodelCopyJobSummaries(Consumer<ModelCopyJobSummary.Builder>... modelCopyJobSummaries)A list of information about each model copy job.ListModelCopyJobsResponse.BuildermodelCopyJobSummaries(ModelCopyJobSummary... modelCopyJobSummaries)A list of information about each model copy job.ListModelCopyJobsResponse.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
ListModelCopyJobsResponse.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.
-
modelCopyJobSummaries
ListModelCopyJobsResponse.Builder modelCopyJobSummaries(Collection<ModelCopyJobSummary> modelCopyJobSummaries)
A list of information about each model copy job.
- Parameters:
modelCopyJobSummaries- A list of information about each model copy job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelCopyJobSummaries
ListModelCopyJobsResponse.Builder modelCopyJobSummaries(ModelCopyJobSummary... modelCopyJobSummaries)
A list of information about each model copy job.
- Parameters:
modelCopyJobSummaries- A list of information about each model copy job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelCopyJobSummaries
ListModelCopyJobsResponse.Builder modelCopyJobSummaries(Consumer<ModelCopyJobSummary.Builder>... modelCopyJobSummaries)
A list of information about each model copy job.
This is a convenience method that creates an instance of theModelCopyJobSummary.Builderavoiding the need to create one manually viaModelCopyJobSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#modelCopyJobSummaries(List.) - Parameters:
modelCopyJobSummaries- a consumer that will call methods onModelCopyJobSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#modelCopyJobSummaries(java.util.Collection)
-
-