Interface CreateTrainedModelRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CleanRoomsMlRequest.Builder
,CopyableBuilder<CreateTrainedModelRequest.Builder,
,CreateTrainedModelRequest> SdkBuilder<CreateTrainedModelRequest.Builder,
,CreateTrainedModelRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateTrainedModelRequest
-
Method Summary
Modifier and TypeMethodDescriptionconfiguredModelAlgorithmAssociationArn
(String configuredModelAlgorithmAssociationArn) The associated configured model algorithm used to train this model.dataChannels
(Collection<ModelTrainingDataChannel> dataChannels) Defines the data channels that are used as input for the trained model request.dataChannels
(Consumer<ModelTrainingDataChannel.Builder>... dataChannels) Defines the data channels that are used as input for the trained model request.dataChannels
(ModelTrainingDataChannel... dataChannels) Defines the data channels that are used as input for the trained model request.description
(String description) The description of the trained model.environment
(Map<String, String> environment) The environment variables to set in the Docker container.hyperparameters
(Map<String, String> hyperparameters) Algorithm-specific parameters that influence the quality of the model.The Amazon Resource Name (ARN) of the KMS key.membershipIdentifier
(String membershipIdentifier) The membership ID of the member that is creating the trained model.The name of the trained model.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resourceConfig
(Consumer<ResourceConfig.Builder> resourceConfig) Information about the EC2 resources that are used to train this model.resourceConfig
(ResourceConfig resourceConfig) Information about the EC2 resources that are used to train this model.stoppingCondition
(Consumer<StoppingCondition.Builder> stoppingCondition) The criteria that is used to stop model training.stoppingCondition
(StoppingCondition stoppingCondition) The criteria that is used to stop model training.The optional metadata that you apply to the resource to help you categorize and organize them.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.cleanroomsml.model.CleanRoomsMlRequest.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
-
membershipIdentifier
The membership ID of the member that is creating the trained model.
- Parameters:
membershipIdentifier
- The membership ID of the member that is creating the trained model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the trained model.
- Parameters:
name
- The name of the trained model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuredModelAlgorithmAssociationArn
CreateTrainedModelRequest.Builder configuredModelAlgorithmAssociationArn(String configuredModelAlgorithmAssociationArn) The associated configured model algorithm used to train this model.
- Parameters:
configuredModelAlgorithmAssociationArn
- The associated configured model algorithm used to train this model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hyperparameters
Algorithm-specific parameters that influence the quality of the model. You set hyperparameters before you start the learning process.
- Parameters:
hyperparameters
- Algorithm-specific parameters that influence the quality of the model. You set hyperparameters before you start the learning process.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environment
The environment variables to set in the Docker container.
- Parameters:
environment
- The environment variables to set in the Docker container.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceConfig
Information about the EC2 resources that are used to train this model.
- Parameters:
resourceConfig
- Information about the EC2 resources that are used to train this model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceConfig
default CreateTrainedModelRequest.Builder resourceConfig(Consumer<ResourceConfig.Builder> resourceConfig) Information about the EC2 resources that are used to train this model.
This is a convenience method that creates an instance of theResourceConfig.Builder
avoiding the need to create one manually viaResourceConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresourceConfig(ResourceConfig)
.- Parameters:
resourceConfig
- a consumer that will call methods onResourceConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stoppingCondition
The criteria that is used to stop model training.
- Parameters:
stoppingCondition
- The criteria that is used to stop model training.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stoppingCondition
default CreateTrainedModelRequest.Builder stoppingCondition(Consumer<StoppingCondition.Builder> stoppingCondition) The criteria that is used to stop model training.
This is a convenience method that creates an instance of theStoppingCondition.Builder
avoiding the need to create one manually viaStoppingCondition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostoppingCondition(StoppingCondition)
.- Parameters:
stoppingCondition
- a consumer that will call methods onStoppingCondition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataChannels
Defines the data channels that are used as input for the trained model request.
- Parameters:
dataChannels
- Defines the data channels that are used as input for the trained model request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataChannels
Defines the data channels that are used as input for the trained model request.
- Parameters:
dataChannels
- Defines the data channels that are used as input for the trained model request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataChannels
CreateTrainedModelRequest.Builder dataChannels(Consumer<ModelTrainingDataChannel.Builder>... dataChannels) Defines the data channels that are used as input for the trained model request.
This is a convenience method that creates an instance of theModelTrainingDataChannel.Builder
avoiding the need to create one manually viaModelTrainingDataChannel.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataChannels(List<ModelTrainingDataChannel>)
.- Parameters:
dataChannels
- a consumer that will call methods onModelTrainingDataChannel.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
The description of the trained model.
- Parameters:
description
- The description of the trained model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyArn
The Amazon Resource Name (ARN) of the KMS key. This key is used to encrypt and decrypt customer-owned data in the trained ML model and the associated data.
- Parameters:
kmsKeyArn
- The Amazon Resource Name (ARN) of the KMS key. This key is used to encrypt and decrypt customer-owned data in the trained ML model and the associated data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The optional metadata that you apply to the resource to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.
The following basic restrictions apply to tags:
-
Maximum number of tags per resource - 50.
-
For each resource, each tag key must be unique, and each tag key can have only one value.
-
Maximum key length - 128 Unicode characters in UTF-8.
-
Maximum value length - 256 Unicode characters in UTF-8.
-
If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
-
Tag keys and values are case sensitive.
-
Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for keys as it is reserved for AWS use. You cannot edit or delete tag keys with this prefix. Values can have this prefix. If a tag value has aws as its prefix but the key does not, then Clean Rooms ML considers it to be a user tag and will count against the limit of 50 tags. Tags with only the key prefix of aws do not count against your tags per resource limit.
- Parameters:
tags
- The optional metadata that you apply to the resource to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.The following basic restrictions apply to tags:
-
Maximum number of tags per resource - 50.
-
For each resource, each tag key must be unique, and each tag key can have only one value.
-
Maximum key length - 128 Unicode characters in UTF-8.
-
Maximum value length - 256 Unicode characters in UTF-8.
-
If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
-
Tag keys and values are case sensitive.
-
Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for keys as it is reserved for AWS use. You cannot edit or delete tag keys with this prefix. Values can have this prefix. If a tag value has aws as its prefix but the key does not, then Clean Rooms ML considers it to be a user tag and will count against the limit of 50 tags. Tags with only the key prefix of aws do not count against your tags per resource limit.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
overrideConfiguration
CreateTrainedModelRequest.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
CreateTrainedModelRequest.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.
-