Interface GetTrainedModelResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CleanRoomsMlResponse.Builder
,CopyableBuilder<GetTrainedModelResponse.Builder,
,GetTrainedModelResponse> SdkBuilder<GetTrainedModelResponse.Builder,
,GetTrainedModelResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetTrainedModelResponse
-
Method Summary
Modifier and TypeMethodDescriptioncollaborationIdentifier
(String collaborationIdentifier) The collaboration ID of the collaboration that contains the trained model.configuredModelAlgorithmAssociationArn
(String configuredModelAlgorithmAssociationArn) The Amazon Resource Name (ARN) of the configured model algorithm association that was used to create the trained model.createTime
(Instant createTime) The time at which the trained model was created.dataChannels
(Collection<ModelTrainingDataChannel> dataChannels) The data channels that were used for the trained model.dataChannels
(Consumer<ModelTrainingDataChannel.Builder>... dataChannels) The data channels that were used for the trained model.dataChannels
(ModelTrainingDataChannel... dataChannels) The data channels that were used for the trained model.description
(String description) The description of the trained model.environment
(Map<String, String> environment) The EC2 environment that was used to create the trained model.hyperparameters
(Map<String, String> hyperparameters) The hyperparameters that were used to create the trained model.incrementalTrainingDataChannels
(Collection<IncrementalTrainingDataChannelOutput> incrementalTrainingDataChannels) Information about the incremental training data channels used to create this version of the trained model.incrementalTrainingDataChannels
(Consumer<IncrementalTrainingDataChannelOutput.Builder>... incrementalTrainingDataChannels) Information about the incremental training data channels used to create this version of the trained model.incrementalTrainingDataChannels
(IncrementalTrainingDataChannelOutput... incrementalTrainingDataChannels) Information about the incremental training data channels used to create this version of the trained model.The Amazon Resource Name (ARN) of the KMS key.logsStatus
(String logsStatus) The logs status for the trained model.logsStatus
(LogsStatus logsStatus) The logs status for the trained model.logsStatusDetails
(String logsStatusDetails) Details about the logs status for the trained model.membershipIdentifier
(String membershipIdentifier) The membership ID of the member that created the trained model.metricsStatus
(String metricsStatus) The status of the model metrics.metricsStatus
(MetricsStatus metricsStatus) The status of the model metrics.metricsStatusDetails
(String metricsStatusDetails) Details about the metrics status for the trained model.The name of the trained model.default GetTrainedModelResponse.Builder
resourceConfig
(Consumer<ResourceConfig.Builder> resourceConfig) The EC2 resource configuration that was used to create the trained model.resourceConfig
(ResourceConfig resourceConfig) The EC2 resource configuration that was used to create the trained model.The status of the trained model.status
(TrainedModelStatus status) The status of the trained model.default GetTrainedModelResponse.Builder
statusDetails
(Consumer<StatusDetails.Builder> statusDetails) Sets the value of the StatusDetails property for this object.statusDetails
(StatusDetails statusDetails) Sets the value of the StatusDetails property for this object.default GetTrainedModelResponse.Builder
stoppingCondition
(Consumer<StoppingCondition.Builder> stoppingCondition) The stopping condition that was used to terminate model training.stoppingCondition
(StoppingCondition stoppingCondition) The stopping condition that was used to terminate model training.The optional metadata that you applied to the resource to help you categorize and organize them.trainedModelArn
(String trainedModelArn) The Amazon Resource Name (ARN) of the trained model.trainingContainerImageDigest
(String trainingContainerImageDigest) Information about the training image container.trainingInputMode
(String trainingInputMode) The input mode that was used for accessing the training data when this trained model was created.trainingInputMode
(TrainingInputMode trainingInputMode) The input mode that was used for accessing the training data when this trained model was created.updateTime
(Instant updateTime) The most recent time at which the trained model was updated.versionIdentifier
(String versionIdentifier) The version identifier of the trained model.Methods inherited from interface software.amazon.awssdk.services.cleanroomsml.model.CleanRoomsMlResponse.Builder
build, responseMetadata, responseMetadata
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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
membershipIdentifier
The membership ID of the member that created the trained model.
- Parameters:
membershipIdentifier
- The membership ID of the member that created the trained model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
collaborationIdentifier
The collaboration ID of the collaboration that contains the trained model.
- Parameters:
collaborationIdentifier
- The collaboration ID of 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.
- Parameters:
trainedModelArn
- The Amazon Resource Name (ARN) of the trained model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionIdentifier
The version identifier of the trained model. This unique identifier distinguishes this version from other versions of the same trained model.
- Parameters:
versionIdentifier
- The version identifier of the trained model. This unique identifier distinguishes this version from other versions of the same trained model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
incrementalTrainingDataChannels
GetTrainedModelResponse.Builder incrementalTrainingDataChannels(Collection<IncrementalTrainingDataChannelOutput> incrementalTrainingDataChannels) Information about the incremental training data channels used to create this version of the trained model. This includes details about the base model that was used for incremental training and the channel configuration.
- Parameters:
incrementalTrainingDataChannels
- Information about the incremental training data channels used to create this version of the trained model. This includes details about the base model that was used for incremental training and the channel configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
incrementalTrainingDataChannels
GetTrainedModelResponse.Builder incrementalTrainingDataChannels(IncrementalTrainingDataChannelOutput... incrementalTrainingDataChannels) Information about the incremental training data channels used to create this version of the trained model. This includes details about the base model that was used for incremental training and the channel configuration.
- Parameters:
incrementalTrainingDataChannels
- Information about the incremental training data channels used to create this version of the trained model. This includes details about the base model that was used for incremental training and the channel configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
incrementalTrainingDataChannels
GetTrainedModelResponse.Builder incrementalTrainingDataChannels(Consumer<IncrementalTrainingDataChannelOutput.Builder>... incrementalTrainingDataChannels) Information about the incremental training data channels used to create this version of the trained model. This includes details about the base model that was used for incremental training and the channel configuration.
This is a convenience method that creates an instance of theIncrementalTrainingDataChannelOutput.Builder
avoiding the need to create one manually viaIncrementalTrainingDataChannelOutput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toincrementalTrainingDataChannels(List<IncrementalTrainingDataChannelOutput>)
.- Parameters:
incrementalTrainingDataChannels
- a consumer that will call methods onIncrementalTrainingDataChannelOutput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
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.
-
status
The status of the trained model.
- Parameters:
status
- The status of the trained model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the trained model.
- Parameters:
status
- The status of the trained model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusDetails
Sets the value of the StatusDetails property for this object.- Parameters:
statusDetails
- The new value for the StatusDetails property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusDetails
default GetTrainedModelResponse.Builder statusDetails(Consumer<StatusDetails.Builder> statusDetails) Sets the value of the StatusDetails property for this object. This is a convenience method that creates an instance of theStatusDetails.Builder
avoiding the need to create one manually viaStatusDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatusDetails(StatusDetails)
.- Parameters:
statusDetails
- a consumer that will call methods onStatusDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
configuredModelAlgorithmAssociationArn
GetTrainedModelResponse.Builder configuredModelAlgorithmAssociationArn(String configuredModelAlgorithmAssociationArn) The Amazon Resource Name (ARN) of the configured model algorithm association that was used to create the trained model.
- Parameters:
configuredModelAlgorithmAssociationArn
- The Amazon Resource Name (ARN) of the configured model algorithm association that was used to create the trained model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceConfig
The EC2 resource configuration that was used to create the trained model.
- Parameters:
resourceConfig
- The EC2 resource configuration that was used to create the trained model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceConfig
default GetTrainedModelResponse.Builder resourceConfig(Consumer<ResourceConfig.Builder> resourceConfig) The EC2 resource configuration that was used to create the trained 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:
-
trainingInputMode
The input mode that was used for accessing the training data when this trained model was created. This indicates how the training data was made available to the training algorithm.
- Parameters:
trainingInputMode
- The input mode that was used for accessing the training data when this trained model was created. This indicates how the training data was made available to the training algorithm.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
trainingInputMode
The input mode that was used for accessing the training data when this trained model was created. This indicates how the training data was made available to the training algorithm.
- Parameters:
trainingInputMode
- The input mode that was used for accessing the training data when this trained model was created. This indicates how the training data was made available to the training algorithm.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stoppingCondition
The stopping condition that was used to terminate model training.
- Parameters:
stoppingCondition
- The stopping condition that was used to terminate model training.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stoppingCondition
default GetTrainedModelResponse.Builder stoppingCondition(Consumer<StoppingCondition.Builder> stoppingCondition) The stopping condition that was used to terminate 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:
-
metricsStatus
The status of the model metrics.
- Parameters:
metricsStatus
- The status of the model metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
metricsStatus
The status of the model metrics.
- Parameters:
metricsStatus
- The status of the model metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
metricsStatusDetails
Details about the metrics status for the trained model.
- Parameters:
metricsStatusDetails
- Details about the metrics status for the trained model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logsStatus
The logs status for the trained model.
- Parameters:
logsStatus
- The logs status for the trained model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logsStatus
The logs status for the trained model.
- Parameters:
logsStatus
- The logs status for the trained model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logsStatusDetails
Details about the logs status for the trained model.
- Parameters:
logsStatusDetails
- Details about the logs status for the trained model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingContainerImageDigest
Information about the training image container.
- Parameters:
trainingContainerImageDigest
- Information about the training image container.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createTime
The time at which the trained model was created.
- Parameters:
createTime
- The time at which the trained model was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateTime
The most recent time at which the trained model was updated.
- Parameters:
updateTime
- The most recent time at which the trained model was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hyperparameters
The hyperparameters that were used to create the trained model.
- Parameters:
hyperparameters
- The hyperparameters that were used to create the trained model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environment
The EC2 environment that was used to create the trained model.
- Parameters:
environment
- The EC2 environment that was used to create 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 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 associated data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The optional metadata that you applied 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 applied 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.
-
-
dataChannels
The data channels that were used for the trained model.
- Parameters:
dataChannels
- The data channels that were used for the trained model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataChannels
The data channels that were used for the trained model.
- Parameters:
dataChannels
- The data channels that were used for the trained model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataChannels
GetTrainedModelResponse.Builder dataChannels(Consumer<ModelTrainingDataChannel.Builder>... dataChannels) The data channels that were used for the trained model.
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:
-