Interface TrainedModelsConfigurationPolicy.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TrainedModelsConfigurationPolicy.Builder,
,TrainedModelsConfigurationPolicy> SdkBuilder<TrainedModelsConfigurationPolicy.Builder,
,TrainedModelsConfigurationPolicy> SdkPojo
- Enclosing class:
TrainedModelsConfigurationPolicy
-
Method Summary
Modifier and TypeMethodDescriptioncontainerLogs
(Collection<LogsConfigurationPolicy> containerLogs) The container for the logs of the trained model.containerLogs
(Consumer<LogsConfigurationPolicy.Builder>... containerLogs) The container for the logs of the trained model.containerLogs
(LogsConfigurationPolicy... containerLogs) The container for the logs of the trained model.containerMetrics
(Consumer<MetricsConfigurationPolicy.Builder> containerMetrics) The container for the metrics of the trained model.containerMetrics
(MetricsConfigurationPolicy containerMetrics) The container for the metrics of the trained model.maxArtifactSize
(Consumer<TrainedModelArtifactMaxSize.Builder> maxArtifactSize) The maximum size limit for trained model artifacts as defined in the configuration policy.maxArtifactSize
(TrainedModelArtifactMaxSize maxArtifactSize) The maximum size limit for trained model artifacts as defined in the configuration policy.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
-
containerLogs
TrainedModelsConfigurationPolicy.Builder containerLogs(Collection<LogsConfigurationPolicy> containerLogs) The container for the logs of the trained model.
- Parameters:
containerLogs
- The container for the logs of the trained model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerLogs
The container for the logs of the trained model.
- Parameters:
containerLogs
- The container for the logs of the trained model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerLogs
TrainedModelsConfigurationPolicy.Builder containerLogs(Consumer<LogsConfigurationPolicy.Builder>... containerLogs) The container for the logs of the trained model.
This is a convenience method that creates an instance of theLogsConfigurationPolicy.Builder
avoiding the need to create one manually viaLogsConfigurationPolicy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontainerLogs(List<LogsConfigurationPolicy>)
.- Parameters:
containerLogs
- a consumer that will call methods onLogsConfigurationPolicy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
containerMetrics
TrainedModelsConfigurationPolicy.Builder containerMetrics(MetricsConfigurationPolicy containerMetrics) The container for the metrics of the trained model.
- Parameters:
containerMetrics
- The container for the metrics of the trained model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerMetrics
default TrainedModelsConfigurationPolicy.Builder containerMetrics(Consumer<MetricsConfigurationPolicy.Builder> containerMetrics) The container for the metrics of the trained model.
This is a convenience method that creates an instance of theMetricsConfigurationPolicy.Builder
avoiding the need to create one manually viaMetricsConfigurationPolicy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontainerMetrics(MetricsConfigurationPolicy)
.- Parameters:
containerMetrics
- a consumer that will call methods onMetricsConfigurationPolicy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxArtifactSize
TrainedModelsConfigurationPolicy.Builder maxArtifactSize(TrainedModelArtifactMaxSize maxArtifactSize) The maximum size limit for trained model artifacts as defined in the configuration policy. This setting helps enforce consistent size limits across trained models in the collaboration.
- Parameters:
maxArtifactSize
- The maximum size limit for trained model artifacts as defined in the configuration policy. This setting helps enforce consistent size limits across trained models in the collaboration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxArtifactSize
default TrainedModelsConfigurationPolicy.Builder maxArtifactSize(Consumer<TrainedModelArtifactMaxSize.Builder> maxArtifactSize) The maximum size limit for trained model artifacts as defined in the configuration policy. This setting helps enforce consistent size limits across trained models in the collaboration.
This is a convenience method that creates an instance of theTrainedModelArtifactMaxSize.Builder
avoiding the need to create one manually viaTrainedModelArtifactMaxSize.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomaxArtifactSize(TrainedModelArtifactMaxSize)
.- Parameters:
maxArtifactSize
- a consumer that will call methods onTrainedModelArtifactMaxSize.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-