Interface ListImportedModelsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,BedrockRequest.Builder,Buildable,CopyableBuilder<ListImportedModelsRequest.Builder,ListImportedModelsRequest>,SdkBuilder<ListImportedModelsRequest.Builder,ListImportedModelsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListImportedModelsRequest
@Mutable @NotThreadSafe public static interface ListImportedModelsRequest.Builder extends BedrockRequest.Builder, SdkPojo, CopyableBuilder<ListImportedModelsRequest.Builder,ListImportedModelsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListImportedModelsRequest.BuildercreationTimeAfter(Instant creationTimeAfter)Return imported models that were created after the specified time.ListImportedModelsRequest.BuildercreationTimeBefore(Instant creationTimeBefore)Return imported models that created before the specified time.ListImportedModelsRequest.BuildermaxResults(Integer maxResults)The maximum number of results to return in the response.ListImportedModelsRequest.BuildernameContains(String nameContains)Return imported models only if the model name contains these characters.ListImportedModelsRequest.BuildernextToken(String 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.ListImportedModelsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListImportedModelsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListImportedModelsRequest.BuildersortBy(String sortBy)The field to sort by in the returned list of imported models.ListImportedModelsRequest.BuildersortBy(SortModelsBy sortBy)The field to sort by in the returned list of imported models.ListImportedModelsRequest.BuildersortOrder(String sortOrder)Specifies whetehr to sort the results in ascending or descending order.ListImportedModelsRequest.BuildersortOrder(SortOrder sortOrder)Specifies whetehr to sort the results in ascending or descending order.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.bedrock.model.BedrockRequest.Builder
build
-
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
-
-
-
-
Method Detail
-
creationTimeBefore
ListImportedModelsRequest.Builder creationTimeBefore(Instant creationTimeBefore)
Return imported models that created before the specified time.
- Parameters:
creationTimeBefore- Return imported models that created before the specified time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTimeAfter
ListImportedModelsRequest.Builder creationTimeAfter(Instant creationTimeAfter)
Return imported models that were created after the specified time.
- Parameters:
creationTimeAfter- Return imported models that were created after the specified time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nameContains
ListImportedModelsRequest.Builder nameContains(String nameContains)
Return imported models only if the model name contains these characters.
- Parameters:
nameContains- Return imported models only if the model name contains these characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
ListImportedModelsRequest.Builder maxResults(Integer maxResults)
The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the
nextTokenfield when making another request to return the next batch of results.- Parameters:
maxResults- The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in thenextTokenfield when making another request to return the next batch of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
ListImportedModelsRequest.Builder nextToken(String 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.
-
sortBy
ListImportedModelsRequest.Builder sortBy(String sortBy)
The field to sort by in the returned list of imported models.
- Parameters:
sortBy- The field to sort by in the returned list of imported models.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SortModelsBy,SortModelsBy
-
sortBy
ListImportedModelsRequest.Builder sortBy(SortModelsBy sortBy)
The field to sort by in the returned list of imported models.
- Parameters:
sortBy- The field to sort by in the returned list of imported models.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SortModelsBy,SortModelsBy
-
sortOrder
ListImportedModelsRequest.Builder sortOrder(String sortOrder)
Specifies whetehr to sort the results in ascending or descending order.
-
sortOrder
ListImportedModelsRequest.Builder sortOrder(SortOrder sortOrder)
Specifies whetehr to sort the results in ascending or descending order.
-
overrideConfiguration
ListImportedModelsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListImportedModelsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-