Interface ListTrainedModelVersionsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CleanRoomsMlRequest.Builder,CopyableBuilder<ListTrainedModelVersionsRequest.Builder,,ListTrainedModelVersionsRequest> SdkBuilder<ListTrainedModelVersionsRequest.Builder,,ListTrainedModelVersionsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListTrainedModelVersionsRequest
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults(Integer maxResults) The maximum number of trained model versions to return in a single page.membershipIdentifier(String membershipIdentifier) The membership identifier for the collaboration that contains the trained model.The pagination token from a previousListTrainedModelVersionsrequest.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Filter the results to only include trained model versions with the specified status.status(TrainedModelStatus status) Filter the results to only include trained model versions with the specified status.trainedModelArn(String trainedModelArn) The Amazon Resource Name (ARN) of the trained model for which to list versions.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cleanroomsml.model.CleanRoomsMlRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
nextToken
The pagination token from a previous
ListTrainedModelVersionsrequest. Use this token to retrieve the next page of results.- Parameters:
nextToken- The pagination token from a previousListTrainedModelVersionsrequest. Use this token to retrieve the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of trained model versions to return in a single page. The default value is 10, and the maximum value is 100.
- Parameters:
maxResults- The maximum number of trained model versions to return in a single page. The default value is 10, and the maximum value is 100.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
membershipIdentifier
The membership identifier for the collaboration that contains the trained model.
- Parameters:
membershipIdentifier- The membership identifier for the collaboration that contains the trained model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainedModelArn
The Amazon Resource Name (ARN) of the trained model for which to list versions.
- Parameters:
trainedModelArn- The Amazon Resource Name (ARN) of the trained model for which to list versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Filter the results to only include trained model versions with the specified status. Valid values include
CREATE_PENDING,CREATE_IN_PROGRESS,ACTIVE,CREATE_FAILED, and others.- Parameters:
status- Filter the results to only include trained model versions with the specified status. Valid values includeCREATE_PENDING,CREATE_IN_PROGRESS,ACTIVE,CREATE_FAILED, and others.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Filter the results to only include trained model versions with the specified status. Valid values include
CREATE_PENDING,CREATE_IN_PROGRESS,ACTIVE,CREATE_FAILED, and others.- Parameters:
status- Filter the results to only include trained model versions with the specified status. Valid values includeCREATE_PENDING,CREATE_IN_PROGRESS,ACTIVE,CREATE_FAILED, and others.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ListTrainedModelVersionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListTrainedModelVersionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-