Interface TrainedModelsConfigurationPolicy.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TrainedModelsConfigurationPolicy.Builder,
,TrainedModelsConfigurationPolicy> SdkBuilder<TrainedModelsConfigurationPolicy.Builder,
,TrainedModelsConfigurationPolicy> SdkPojo
- Enclosing class:
TrainedModelsConfigurationPolicy
public static interface TrainedModelsConfigurationPolicy.Builder
extends SdkPojo, CopyableBuilder<TrainedModelsConfigurationPolicy.Builder,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.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:
-