Interface ListCustomModelDeploymentsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BedrockRequest.Builder
,Buildable
,CopyableBuilder<ListCustomModelDeploymentsRequest.Builder,
,ListCustomModelDeploymentsRequest> SdkBuilder<ListCustomModelDeploymentsRequest.Builder,
,ListCustomModelDeploymentsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListCustomModelDeploymentsRequest
-
Method Summary
Modifier and TypeMethodDescriptioncreatedAfter
(Instant createdAfter) Filters deployments created after the specified date and time.createdBefore
(Instant createdBefore) Filters deployments created before the specified date and time.maxResults
(Integer maxResults) The maximum number of results to return in a single call.modelArnEquals
(String modelArnEquals) Filters deployments by the Amazon Resource Name (ARN) of the associated custom model.nameContains
(String nameContains) Filters deployments whose names contain the specified string.The token for the next set of results.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The field to sort the results by.sortBy
(SortModelsBy sortBy) The field to sort the results by.The sort order for the results.The sort order for the results.statusEquals
(String statusEquals) Filters deployments by status.statusEquals
(CustomModelDeploymentStatus statusEquals) Filters deployments by status.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 Details
-
createdBefore
Filters deployments created before the specified date and time.
- Parameters:
createdBefore
- Filters deployments created before the specified date and time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAfter
Filters deployments created after the specified date and time.
- Parameters:
createdAfter
- Filters deployments created after the specified date and time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nameContains
Filters deployments whose names contain the specified string.
- Parameters:
nameContains
- Filters deployments whose names contain the specified string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of results to return in a single call.
- Parameters:
maxResults
- The maximum number of results to return in a single call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token for the next set of results. Use this token to retrieve additional results when the response is truncated.
- Parameters:
nextToken
- The token for the next set of results. Use this token to retrieve additional results when the response is truncated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortBy
The field to sort the results by. The only supported value is
CreationTime
.- Parameters:
sortBy
- The field to sort the results by. The only supported value isCreationTime
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortBy
The field to sort the results by. The only supported value is
CreationTime
.- Parameters:
sortBy
- The field to sort the results by. The only supported value isCreationTime
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortOrder
The sort order for the results. Valid values are
Ascending
andDescending
. Default isDescending
.- Parameters:
sortOrder
- The sort order for the results. Valid values areAscending
andDescending
. Default isDescending
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortOrder
The sort order for the results. Valid values are
Ascending
andDescending
. Default isDescending
.- Parameters:
sortOrder
- The sort order for the results. Valid values areAscending
andDescending
. Default isDescending
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusEquals
Filters deployments by status. Valid values are
CREATING
,ACTIVE
, andFAILED
.- Parameters:
statusEquals
- Filters deployments by status. Valid values areCREATING
,ACTIVE
, andFAILED
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusEquals
Filters deployments by status. Valid values are
CREATING
,ACTIVE
, andFAILED
.- Parameters:
statusEquals
- Filters deployments by status. Valid values areCREATING
,ACTIVE
, andFAILED
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
modelArnEquals
Filters deployments by the Amazon Resource Name (ARN) of the associated custom model.
- Parameters:
modelArnEquals
- Filters deployments by the Amazon Resource Name (ARN) of the associated custom model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListCustomModelDeploymentsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListCustomModelDeploymentsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-