Interface CreateTrainedModelRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CleanRoomsMlRequest.Builder,CopyableBuilder<CreateTrainedModelRequest.Builder,CreateTrainedModelRequest>,SdkBuilder<CreateTrainedModelRequest.Builder,CreateTrainedModelRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateTrainedModelRequest
public static interface CreateTrainedModelRequest.Builder extends CleanRoomsMlRequest.Builder, SdkPojo, CopyableBuilder<CreateTrainedModelRequest.Builder,CreateTrainedModelRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateTrainedModelRequest.BuilderconfiguredModelAlgorithmAssociationArn(String configuredModelAlgorithmAssociationArn)The associated configured model algorithm used to train this model.CreateTrainedModelRequest.BuilderdataChannels(Collection<ModelTrainingDataChannel> dataChannels)Defines the data channels that are used as input for the trained model request.CreateTrainedModelRequest.BuilderdataChannels(Consumer<ModelTrainingDataChannel.Builder>... dataChannels)Defines the data channels that are used as input for the trained model request.CreateTrainedModelRequest.BuilderdataChannels(ModelTrainingDataChannel... dataChannels)Defines the data channels that are used as input for the trained model request.CreateTrainedModelRequest.Builderdescription(String description)The description of the trained model.CreateTrainedModelRequest.Builderenvironment(Map<String,String> environment)The environment variables to set in the Docker container.CreateTrainedModelRequest.Builderhyperparameters(Map<String,String> hyperparameters)Algorithm-specific parameters that influence the quality of the model.CreateTrainedModelRequest.BuilderkmsKeyArn(String kmsKeyArn)The Amazon Resource Name (ARN) of the KMS key.CreateTrainedModelRequest.BuildermembershipIdentifier(String membershipIdentifier)The membership ID of the member that is creating the trained model.CreateTrainedModelRequest.Buildername(String name)The name of the trained model.CreateTrainedModelRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateTrainedModelRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default CreateTrainedModelRequest.BuilderresourceConfig(Consumer<ResourceConfig.Builder> resourceConfig)Information about the EC2 resources that are used to train this model.CreateTrainedModelRequest.BuilderresourceConfig(ResourceConfig resourceConfig)Information about the EC2 resources that are used to train this model.default CreateTrainedModelRequest.BuilderstoppingCondition(Consumer<StoppingCondition.Builder> stoppingCondition)The criteria that is used to stop model training.CreateTrainedModelRequest.BuilderstoppingCondition(StoppingCondition stoppingCondition)The criteria that is used to stop model training.CreateTrainedModelRequest.Buildertags(Map<String,String> tags)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 Detail
-
membershipIdentifier
CreateTrainedModelRequest.Builder membershipIdentifier(String 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
CreateTrainedModelRequest.Builder name(String 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
CreateTrainedModelRequest.Builder hyperparameters(Map<String,String> 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
CreateTrainedModelRequest.Builder environment(Map<String,String> 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
CreateTrainedModelRequest.Builder resourceConfig(ResourceConfig 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.Builderavoiding the need to create one manually viaResourceConfig.builder().When the
Consumercompletes,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:
resourceConfig(ResourceConfig)
-
stoppingCondition
CreateTrainedModelRequest.Builder stoppingCondition(StoppingCondition 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.Builderavoiding the need to create one manually viaStoppingCondition.builder().When the
Consumercompletes,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:
stoppingCondition(StoppingCondition)
-
dataChannels
CreateTrainedModelRequest.Builder dataChannels(Collection<ModelTrainingDataChannel> 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(ModelTrainingDataChannel... 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.Builderavoiding the need to create one manually viaModelTrainingDataChannel.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#dataChannels(List.) - 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:
#dataChannels(java.util.Collection)
-
description
CreateTrainedModelRequest.Builder description(String 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
CreateTrainedModelRequest.Builder kmsKeyArn(String 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
CreateTrainedModelRequest.Builder tags(Map<String,String> 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateTrainedModelRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-