Interface DescribeTrainingJobResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeTrainingJobResponse.Builder,DescribeTrainingJobResponse>,SageMakerResponse.Builder,SdkBuilder<DescribeTrainingJobResponse.Builder,DescribeTrainingJobResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeTrainingJobResponse
public static interface DescribeTrainingJobResponse.Builder extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<DescribeTrainingJobResponse.Builder,DescribeTrainingJobResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DescribeTrainingJobResponse.BuilderalgorithmSpecification(Consumer<AlgorithmSpecification.Builder> algorithmSpecification)Information about the algorithm used for training, and algorithm metadata.DescribeTrainingJobResponse.BuilderalgorithmSpecification(AlgorithmSpecification algorithmSpecification)Information about the algorithm used for training, and algorithm metadata.DescribeTrainingJobResponse.BuilderautoMLJobArn(String autoMLJobArn)The Amazon Resource Name (ARN) of an AutoML job.DescribeTrainingJobResponse.BuilderbillableTimeInSeconds(Integer billableTimeInSeconds)The billable time in seconds.default DescribeTrainingJobResponse.BuildercheckpointConfig(Consumer<CheckpointConfig.Builder> checkpointConfig)Sets the value of the CheckpointConfig property for this object.DescribeTrainingJobResponse.BuildercheckpointConfig(CheckpointConfig checkpointConfig)Sets the value of the CheckpointConfig property for this object.DescribeTrainingJobResponse.BuildercreationTime(Instant creationTime)A timestamp that indicates when the training job was created.default DescribeTrainingJobResponse.BuilderdebugHookConfig(Consumer<DebugHookConfig.Builder> debugHookConfig)Sets the value of the DebugHookConfig property for this object.DescribeTrainingJobResponse.BuilderdebugHookConfig(DebugHookConfig debugHookConfig)Sets the value of the DebugHookConfig property for this object.DescribeTrainingJobResponse.BuilderdebugRuleConfigurations(Collection<DebugRuleConfiguration> debugRuleConfigurations)Configuration information for Amazon SageMaker Debugger rules for debugging output tensors.DescribeTrainingJobResponse.BuilderdebugRuleConfigurations(Consumer<DebugRuleConfiguration.Builder>... debugRuleConfigurations)Configuration information for Amazon SageMaker Debugger rules for debugging output tensors.DescribeTrainingJobResponse.BuilderdebugRuleConfigurations(DebugRuleConfiguration... debugRuleConfigurations)Configuration information for Amazon SageMaker Debugger rules for debugging output tensors.DescribeTrainingJobResponse.BuilderdebugRuleEvaluationStatuses(Collection<DebugRuleEvaluationStatus> debugRuleEvaluationStatuses)Evaluation status of Amazon SageMaker Debugger rules for debugging on a training job.DescribeTrainingJobResponse.BuilderdebugRuleEvaluationStatuses(Consumer<DebugRuleEvaluationStatus.Builder>... debugRuleEvaluationStatuses)Evaluation status of Amazon SageMaker Debugger rules for debugging on a training job.DescribeTrainingJobResponse.BuilderdebugRuleEvaluationStatuses(DebugRuleEvaluationStatus... debugRuleEvaluationStatuses)Evaluation status of Amazon SageMaker Debugger rules for debugging on a training job.DescribeTrainingJobResponse.BuilderenableInterContainerTrafficEncryption(Boolean enableInterContainerTrafficEncryption)To encrypt all communications between ML compute instances in distributed training, chooseTrue.DescribeTrainingJobResponse.BuilderenableManagedSpotTraining(Boolean enableManagedSpotTraining)A Boolean indicating whether managed spot training is enabled (True) or not (False).DescribeTrainingJobResponse.BuilderenableNetworkIsolation(Boolean enableNetworkIsolation)If you want to allow inbound or outbound network calls, except for calls between peers within a training cluster for distributed training, chooseTrue.DescribeTrainingJobResponse.Builderenvironment(Map<String,String> environment)The environment variables to set in the Docker container.default DescribeTrainingJobResponse.BuilderexperimentConfig(Consumer<ExperimentConfig.Builder> experimentConfig)Sets the value of the ExperimentConfig property for this object.DescribeTrainingJobResponse.BuilderexperimentConfig(ExperimentConfig experimentConfig)Sets the value of the ExperimentConfig property for this object.DescribeTrainingJobResponse.BuilderfailureReason(String failureReason)If the training job failed, the reason it failed.DescribeTrainingJobResponse.BuilderfinalMetricDataList(Collection<MetricData> finalMetricDataList)A collection ofMetricDataobjects that specify the names, values, and dates and times that the training algorithm emitted to Amazon CloudWatch.DescribeTrainingJobResponse.BuilderfinalMetricDataList(Consumer<MetricData.Builder>... finalMetricDataList)A collection ofMetricDataobjects that specify the names, values, and dates and times that the training algorithm emitted to Amazon CloudWatch.DescribeTrainingJobResponse.BuilderfinalMetricDataList(MetricData... finalMetricDataList)A collection ofMetricDataobjects that specify the names, values, and dates and times that the training algorithm emitted to Amazon CloudWatch.DescribeTrainingJobResponse.BuilderhyperParameters(Map<String,String> hyperParameters)Algorithm-specific parameters.default DescribeTrainingJobResponse.BuilderinfraCheckConfig(Consumer<InfraCheckConfig.Builder> infraCheckConfig)Contains information about the infrastructure health check configuration for the training job.DescribeTrainingJobResponse.BuilderinfraCheckConfig(InfraCheckConfig infraCheckConfig)Contains information about the infrastructure health check configuration for the training job.DescribeTrainingJobResponse.BuilderinputDataConfig(Collection<Channel> inputDataConfig)An array ofChannelobjects that describes each data input channel.DescribeTrainingJobResponse.BuilderinputDataConfig(Consumer<Channel.Builder>... inputDataConfig)An array ofChannelobjects that describes each data input channel.DescribeTrainingJobResponse.BuilderinputDataConfig(Channel... inputDataConfig)An array ofChannelobjects that describes each data input channel.DescribeTrainingJobResponse.BuilderlabelingJobArn(String labelingJobArn)The Amazon Resource Name (ARN) of the SageMaker Ground Truth labeling job that created the transform or training job.DescribeTrainingJobResponse.BuilderlastModifiedTime(Instant lastModifiedTime)A timestamp that indicates when the status of the training job was last modified.default DescribeTrainingJobResponse.BuildermodelArtifacts(Consumer<ModelArtifacts.Builder> modelArtifacts)Information about the Amazon S3 location that is configured for storing model artifacts.DescribeTrainingJobResponse.BuildermodelArtifacts(ModelArtifacts modelArtifacts)Information about the Amazon S3 location that is configured for storing model artifacts.default DescribeTrainingJobResponse.BuilderoutputDataConfig(Consumer<OutputDataConfig.Builder> outputDataConfig)The S3 path where model artifacts that you configured when creating the job are stored.DescribeTrainingJobResponse.BuilderoutputDataConfig(OutputDataConfig outputDataConfig)The S3 path where model artifacts that you configured when creating the job are stored.default DescribeTrainingJobResponse.BuilderprofilerConfig(Consumer<ProfilerConfig.Builder> profilerConfig)Sets the value of the ProfilerConfig property for this object.DescribeTrainingJobResponse.BuilderprofilerConfig(ProfilerConfig profilerConfig)Sets the value of the ProfilerConfig property for this object.DescribeTrainingJobResponse.BuilderprofilerRuleConfigurations(Collection<ProfilerRuleConfiguration> profilerRuleConfigurations)Configuration information for Amazon SageMaker Debugger rules for profiling system and framework metrics.DescribeTrainingJobResponse.BuilderprofilerRuleConfigurations(Consumer<ProfilerRuleConfiguration.Builder>... profilerRuleConfigurations)Configuration information for Amazon SageMaker Debugger rules for profiling system and framework metrics.DescribeTrainingJobResponse.BuilderprofilerRuleConfigurations(ProfilerRuleConfiguration... profilerRuleConfigurations)Configuration information for Amazon SageMaker Debugger rules for profiling system and framework metrics.DescribeTrainingJobResponse.BuilderprofilerRuleEvaluationStatuses(Collection<ProfilerRuleEvaluationStatus> profilerRuleEvaluationStatuses)Evaluation status of Amazon SageMaker Debugger rules for profiling on a training job.DescribeTrainingJobResponse.BuilderprofilerRuleEvaluationStatuses(Consumer<ProfilerRuleEvaluationStatus.Builder>... profilerRuleEvaluationStatuses)Evaluation status of Amazon SageMaker Debugger rules for profiling on a training job.DescribeTrainingJobResponse.BuilderprofilerRuleEvaluationStatuses(ProfilerRuleEvaluationStatus... profilerRuleEvaluationStatuses)Evaluation status of Amazon SageMaker Debugger rules for profiling on a training job.DescribeTrainingJobResponse.BuilderprofilingStatus(String profilingStatus)Profiling status of a training job.DescribeTrainingJobResponse.BuilderprofilingStatus(ProfilingStatus profilingStatus)Profiling status of a training job.default DescribeTrainingJobResponse.BuilderremoteDebugConfig(Consumer<RemoteDebugConfig.Builder> remoteDebugConfig)Configuration for remote debugging.DescribeTrainingJobResponse.BuilderremoteDebugConfig(RemoteDebugConfig remoteDebugConfig)Configuration for remote debugging.default DescribeTrainingJobResponse.BuilderresourceConfig(Consumer<ResourceConfig.Builder> resourceConfig)Resources, including ML compute instances and ML storage volumes, that are configured for model training.DescribeTrainingJobResponse.BuilderresourceConfig(ResourceConfig resourceConfig)Resources, including ML compute instances and ML storage volumes, that are configured for model training.default DescribeTrainingJobResponse.BuilderretryStrategy(Consumer<RetryStrategy.Builder> retryStrategy)The number of times to retry the job when the job fails due to anInternalServerError.DescribeTrainingJobResponse.BuilderretryStrategy(RetryStrategy retryStrategy)The number of times to retry the job when the job fails due to anInternalServerError.DescribeTrainingJobResponse.BuilderroleArn(String roleArn)The Amazon Web Services Identity and Access Management (IAM) role configured for the training job.DescribeTrainingJobResponse.BuildersecondaryStatus(String secondaryStatus)Provides detailed information about the state of the training job.DescribeTrainingJobResponse.BuildersecondaryStatus(SecondaryStatus secondaryStatus)Provides detailed information about the state of the training job.DescribeTrainingJobResponse.BuildersecondaryStatusTransitions(Collection<SecondaryStatusTransition> secondaryStatusTransitions)A history of all of the secondary statuses that the training job has transitioned through.DescribeTrainingJobResponse.BuildersecondaryStatusTransitions(Consumer<SecondaryStatusTransition.Builder>... secondaryStatusTransitions)A history of all of the secondary statuses that the training job has transitioned through.DescribeTrainingJobResponse.BuildersecondaryStatusTransitions(SecondaryStatusTransition... secondaryStatusTransitions)A history of all of the secondary statuses that the training job has transitioned through.default DescribeTrainingJobResponse.BuilderstoppingCondition(Consumer<StoppingCondition.Builder> stoppingCondition)Specifies a limit to how long a model training job can run.DescribeTrainingJobResponse.BuilderstoppingCondition(StoppingCondition stoppingCondition)Specifies a limit to how long a model training job can run.default DescribeTrainingJobResponse.BuildertensorBoardOutputConfig(Consumer<TensorBoardOutputConfig.Builder> tensorBoardOutputConfig)Sets the value of the TensorBoardOutputConfig property for this object.DescribeTrainingJobResponse.BuildertensorBoardOutputConfig(TensorBoardOutputConfig tensorBoardOutputConfig)Sets the value of the TensorBoardOutputConfig property for this object.DescribeTrainingJobResponse.BuildertrainingEndTime(Instant trainingEndTime)Indicates the time when the training job ends on training instances.DescribeTrainingJobResponse.BuildertrainingJobArn(String trainingJobArn)The Amazon Resource Name (ARN) of the training job.DescribeTrainingJobResponse.BuildertrainingJobName(String trainingJobName)Name of the model training job.DescribeTrainingJobResponse.BuildertrainingJobStatus(String trainingJobStatus)The status of the training job.DescribeTrainingJobResponse.BuildertrainingJobStatus(TrainingJobStatus trainingJobStatus)The status of the training job.DescribeTrainingJobResponse.BuildertrainingStartTime(Instant trainingStartTime)Indicates the time when the training job starts on training instances.DescribeTrainingJobResponse.BuildertrainingTimeInSeconds(Integer trainingTimeInSeconds)The training time in seconds.DescribeTrainingJobResponse.BuildertuningJobArn(String tuningJobArn)The Amazon Resource Name (ARN) of the associated hyperparameter tuning job if the training job was launched by a hyperparameter tuning job.default DescribeTrainingJobResponse.BuildervpcConfig(Consumer<VpcConfig.Builder> vpcConfig)A VpcConfig object that specifies the VPC that this training job has access to.DescribeTrainingJobResponse.BuildervpcConfig(VpcConfig vpcConfig)A VpcConfig object that specifies the VPC that this training job has access to.default DescribeTrainingJobResponse.BuilderwarmPoolStatus(Consumer<WarmPoolStatus.Builder> warmPoolStatus)The status of the warm pool associated with the training job.DescribeTrainingJobResponse.BuilderwarmPoolStatus(WarmPoolStatus warmPoolStatus)The status of the warm pool associated with the training job.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
trainingJobName
DescribeTrainingJobResponse.Builder trainingJobName(String trainingJobName)
Name of the model training job.
- Parameters:
trainingJobName- Name of the model training job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingJobArn
DescribeTrainingJobResponse.Builder trainingJobArn(String trainingJobArn)
The Amazon Resource Name (ARN) of the training job.
- Parameters:
trainingJobArn- The Amazon Resource Name (ARN) of the training job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tuningJobArn
DescribeTrainingJobResponse.Builder tuningJobArn(String tuningJobArn)
The Amazon Resource Name (ARN) of the associated hyperparameter tuning job if the training job was launched by a hyperparameter tuning job.
- Parameters:
tuningJobArn- The Amazon Resource Name (ARN) of the associated hyperparameter tuning job if the training job was launched by a hyperparameter tuning job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labelingJobArn
DescribeTrainingJobResponse.Builder labelingJobArn(String labelingJobArn)
The Amazon Resource Name (ARN) of the SageMaker Ground Truth labeling job that created the transform or training job.
- Parameters:
labelingJobArn- The Amazon Resource Name (ARN) of the SageMaker Ground Truth labeling job that created the transform or training job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoMLJobArn
DescribeTrainingJobResponse.Builder autoMLJobArn(String autoMLJobArn)
The Amazon Resource Name (ARN) of an AutoML job.
- Parameters:
autoMLJobArn- The Amazon Resource Name (ARN) of an AutoML job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelArtifacts
DescribeTrainingJobResponse.Builder modelArtifacts(ModelArtifacts modelArtifacts)
Information about the Amazon S3 location that is configured for storing model artifacts.
- Parameters:
modelArtifacts- Information about the Amazon S3 location that is configured for storing model artifacts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelArtifacts
default DescribeTrainingJobResponse.Builder modelArtifacts(Consumer<ModelArtifacts.Builder> modelArtifacts)
Information about the Amazon S3 location that is configured for storing model artifacts.
This is a convenience method that creates an instance of theModelArtifacts.Builderavoiding the need to create one manually viaModelArtifacts.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomodelArtifacts(ModelArtifacts).- Parameters:
modelArtifacts- a consumer that will call methods onModelArtifacts.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
modelArtifacts(ModelArtifacts)
-
trainingJobStatus
DescribeTrainingJobResponse.Builder trainingJobStatus(String trainingJobStatus)
The status of the training job.
SageMaker provides the following training job statuses:
-
InProgress- The training is in progress. -
Completed- The training job has completed. -
Failed- The training job has failed. To see the reason for the failure, see theFailureReasonfield in the response to aDescribeTrainingJobResponsecall. -
Stopping- The training job is stopping. -
Stopped- The training job has stopped.
For more detailed information, see
SecondaryStatus.- Parameters:
trainingJobStatus- The status of the training job.SageMaker provides the following training job statuses:
-
InProgress- The training is in progress. -
Completed- The training job has completed. -
Failed- The training job has failed. To see the reason for the failure, see theFailureReasonfield in the response to aDescribeTrainingJobResponsecall. -
Stopping- The training job is stopping. -
Stopped- The training job has stopped.
For more detailed information, see
SecondaryStatus.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TrainingJobStatus,TrainingJobStatus
-
-
trainingJobStatus
DescribeTrainingJobResponse.Builder trainingJobStatus(TrainingJobStatus trainingJobStatus)
The status of the training job.
SageMaker provides the following training job statuses:
-
InProgress- The training is in progress. -
Completed- The training job has completed. -
Failed- The training job has failed. To see the reason for the failure, see theFailureReasonfield in the response to aDescribeTrainingJobResponsecall. -
Stopping- The training job is stopping. -
Stopped- The training job has stopped.
For more detailed information, see
SecondaryStatus.- Parameters:
trainingJobStatus- The status of the training job.SageMaker provides the following training job statuses:
-
InProgress- The training is in progress. -
Completed- The training job has completed. -
Failed- The training job has failed. To see the reason for the failure, see theFailureReasonfield in the response to aDescribeTrainingJobResponsecall. -
Stopping- The training job is stopping. -
Stopped- The training job has stopped.
For more detailed information, see
SecondaryStatus.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TrainingJobStatus,TrainingJobStatus
-
-
secondaryStatus
DescribeTrainingJobResponse.Builder secondaryStatus(String secondaryStatus)
Provides detailed information about the state of the training job. For detailed information on the secondary status of the training job, see
StatusMessageunder SecondaryStatusTransition.SageMaker provides primary statuses and secondary statuses that apply to each of them:
- InProgress
-
-
Starting- Starting the training job. -
Downloading- An optional stage for algorithms that supportFiletraining input mode. It indicates that data is being downloaded to the ML storage volumes. -
Training- Training is in progress. -
Interrupted- The job stopped because the managed spot training instances were interrupted. -
Uploading- Training is complete and the model artifacts are being uploaded to the S3 location.
-
- Completed
-
-
Completed- The training job has completed.
-
- Failed
-
-
Failed- The training job has failed. The reason for the failure is returned in theFailureReasonfield ofDescribeTrainingJobResponse.
-
- Stopped
-
-
MaxRuntimeExceeded- The job stopped because it exceeded the maximum allowed runtime. -
MaxWaitTimeExceeded- The job stopped because it exceeded the maximum allowed wait time. -
Stopped- The training job has stopped.
-
- Stopping
-
-
Stopping- Stopping the training job.
-
Valid values for
SecondaryStatusare subject to change.We no longer support the following secondary statuses:
-
LaunchingMLInstances -
PreparingTraining -
DownloadingTrainingImage
- Parameters:
secondaryStatus- Provides detailed information about the state of the training job. For detailed information on the secondary status of the training job, seeStatusMessageunder SecondaryStatusTransition.SageMaker provides primary statuses and secondary statuses that apply to each of them:
- InProgress
-
-
Starting- Starting the training job. -
Downloading- An optional stage for algorithms that supportFiletraining input mode. It indicates that data is being downloaded to the ML storage volumes. -
Training- Training is in progress. -
Interrupted- The job stopped because the managed spot training instances were interrupted. -
Uploading- Training is complete and the model artifacts are being uploaded to the S3 location.
-
- Completed
-
-
Completed- The training job has completed.
-
- Failed
-
-
Failed- The training job has failed. The reason for the failure is returned in theFailureReasonfield ofDescribeTrainingJobResponse.
-
- Stopped
-
-
MaxRuntimeExceeded- The job stopped because it exceeded the maximum allowed runtime. -
MaxWaitTimeExceeded- The job stopped because it exceeded the maximum allowed wait time. -
Stopped- The training job has stopped.
-
- Stopping
-
-
Stopping- Stopping the training job.
-
Valid values for
SecondaryStatusare subject to change.We no longer support the following secondary statuses:
-
LaunchingMLInstances -
PreparingTraining -
DownloadingTrainingImage
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SecondaryStatus,SecondaryStatus
-
secondaryStatus
DescribeTrainingJobResponse.Builder secondaryStatus(SecondaryStatus secondaryStatus)
Provides detailed information about the state of the training job. For detailed information on the secondary status of the training job, see
StatusMessageunder SecondaryStatusTransition.SageMaker provides primary statuses and secondary statuses that apply to each of them:
- InProgress
-
-
Starting- Starting the training job. -
Downloading- An optional stage for algorithms that supportFiletraining input mode. It indicates that data is being downloaded to the ML storage volumes. -
Training- Training is in progress. -
Interrupted- The job stopped because the managed spot training instances were interrupted. -
Uploading- Training is complete and the model artifacts are being uploaded to the S3 location.
-
- Completed
-
-
Completed- The training job has completed.
-
- Failed
-
-
Failed- The training job has failed. The reason for the failure is returned in theFailureReasonfield ofDescribeTrainingJobResponse.
-
- Stopped
-
-
MaxRuntimeExceeded- The job stopped because it exceeded the maximum allowed runtime. -
MaxWaitTimeExceeded- The job stopped because it exceeded the maximum allowed wait time. -
Stopped- The training job has stopped.
-
- Stopping
-
-
Stopping- Stopping the training job.
-
Valid values for
SecondaryStatusare subject to change.We no longer support the following secondary statuses:
-
LaunchingMLInstances -
PreparingTraining -
DownloadingTrainingImage
- Parameters:
secondaryStatus- Provides detailed information about the state of the training job. For detailed information on the secondary status of the training job, seeStatusMessageunder SecondaryStatusTransition.SageMaker provides primary statuses and secondary statuses that apply to each of them:
- InProgress
-
-
Starting- Starting the training job. -
Downloading- An optional stage for algorithms that supportFiletraining input mode. It indicates that data is being downloaded to the ML storage volumes. -
Training- Training is in progress. -
Interrupted- The job stopped because the managed spot training instances were interrupted. -
Uploading- Training is complete and the model artifacts are being uploaded to the S3 location.
-
- Completed
-
-
Completed- The training job has completed.
-
- Failed
-
-
Failed- The training job has failed. The reason for the failure is returned in theFailureReasonfield ofDescribeTrainingJobResponse.
-
- Stopped
-
-
MaxRuntimeExceeded- The job stopped because it exceeded the maximum allowed runtime. -
MaxWaitTimeExceeded- The job stopped because it exceeded the maximum allowed wait time. -
Stopped- The training job has stopped.
-
- Stopping
-
-
Stopping- Stopping the training job.
-
Valid values for
SecondaryStatusare subject to change.We no longer support the following secondary statuses:
-
LaunchingMLInstances -
PreparingTraining -
DownloadingTrainingImage
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SecondaryStatus,SecondaryStatus
-
failureReason
DescribeTrainingJobResponse.Builder failureReason(String failureReason)
If the training job failed, the reason it failed.
- Parameters:
failureReason- If the training job failed, the reason it failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hyperParameters
DescribeTrainingJobResponse.Builder hyperParameters(Map<String,String> hyperParameters)
Algorithm-specific parameters.
- Parameters:
hyperParameters- Algorithm-specific parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
algorithmSpecification
DescribeTrainingJobResponse.Builder algorithmSpecification(AlgorithmSpecification algorithmSpecification)
Information about the algorithm used for training, and algorithm metadata.
- Parameters:
algorithmSpecification- Information about the algorithm used for training, and algorithm metadata.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
algorithmSpecification
default DescribeTrainingJobResponse.Builder algorithmSpecification(Consumer<AlgorithmSpecification.Builder> algorithmSpecification)
Information about the algorithm used for training, and algorithm metadata.
This is a convenience method that creates an instance of theAlgorithmSpecification.Builderavoiding the need to create one manually viaAlgorithmSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toalgorithmSpecification(AlgorithmSpecification).- Parameters:
algorithmSpecification- a consumer that will call methods onAlgorithmSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
algorithmSpecification(AlgorithmSpecification)
-
roleArn
DescribeTrainingJobResponse.Builder roleArn(String roleArn)
The Amazon Web Services Identity and Access Management (IAM) role configured for the training job.
- Parameters:
roleArn- The Amazon Web Services Identity and Access Management (IAM) role configured for the training job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputDataConfig
DescribeTrainingJobResponse.Builder inputDataConfig(Collection<Channel> inputDataConfig)
An array of
Channelobjects that describes each data input channel.- Parameters:
inputDataConfig- An array ofChannelobjects that describes each data input channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputDataConfig
DescribeTrainingJobResponse.Builder inputDataConfig(Channel... inputDataConfig)
An array of
Channelobjects that describes each data input channel.- Parameters:
inputDataConfig- An array ofChannelobjects that describes each data input channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputDataConfig
DescribeTrainingJobResponse.Builder inputDataConfig(Consumer<Channel.Builder>... inputDataConfig)
An array of
This is a convenience method that creates an instance of theChannelobjects that describes each data input channel.Channel.Builderavoiding the need to create one manually viaChannel.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#inputDataConfig(List.) - Parameters:
inputDataConfig- a consumer that will call methods onChannel.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#inputDataConfig(java.util.Collection)
-
outputDataConfig
DescribeTrainingJobResponse.Builder outputDataConfig(OutputDataConfig outputDataConfig)
The S3 path where model artifacts that you configured when creating the job are stored. SageMaker creates subfolders for model artifacts.
- Parameters:
outputDataConfig- The S3 path where model artifacts that you configured when creating the job are stored. SageMaker creates subfolders for model artifacts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputDataConfig
default DescribeTrainingJobResponse.Builder outputDataConfig(Consumer<OutputDataConfig.Builder> outputDataConfig)
The S3 path where model artifacts that you configured when creating the job are stored. SageMaker creates subfolders for model artifacts.
This is a convenience method that creates an instance of theOutputDataConfig.Builderavoiding the need to create one manually viaOutputDataConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooutputDataConfig(OutputDataConfig).- Parameters:
outputDataConfig- a consumer that will call methods onOutputDataConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
outputDataConfig(OutputDataConfig)
-
resourceConfig
DescribeTrainingJobResponse.Builder resourceConfig(ResourceConfig resourceConfig)
Resources, including ML compute instances and ML storage volumes, that are configured for model training.
- Parameters:
resourceConfig- Resources, including ML compute instances and ML storage volumes, that are configured for model training.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceConfig
default DescribeTrainingJobResponse.Builder resourceConfig(Consumer<ResourceConfig.Builder> resourceConfig)
Resources, including ML compute instances and ML storage volumes, that are configured for model training.
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)
-
warmPoolStatus
DescribeTrainingJobResponse.Builder warmPoolStatus(WarmPoolStatus warmPoolStatus)
The status of the warm pool associated with the training job.
- Parameters:
warmPoolStatus- The status of the warm pool associated with the training job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
warmPoolStatus
default DescribeTrainingJobResponse.Builder warmPoolStatus(Consumer<WarmPoolStatus.Builder> warmPoolStatus)
The status of the warm pool associated with the training job.
This is a convenience method that creates an instance of theWarmPoolStatus.Builderavoiding the need to create one manually viaWarmPoolStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed towarmPoolStatus(WarmPoolStatus).- Parameters:
warmPoolStatus- a consumer that will call methods onWarmPoolStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
warmPoolStatus(WarmPoolStatus)
-
vpcConfig
DescribeTrainingJobResponse.Builder vpcConfig(VpcConfig vpcConfig)
A VpcConfig object that specifies the VPC that this training job has access to. For more information, see Protect Training Jobs by Using an Amazon Virtual Private Cloud.
- Parameters:
vpcConfig- A VpcConfig object that specifies the VPC that this training job has access to. For more information, see Protect Training Jobs by Using an Amazon Virtual Private Cloud.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfig
default DescribeTrainingJobResponse.Builder vpcConfig(Consumer<VpcConfig.Builder> vpcConfig)
A VpcConfig object that specifies the VPC that this training job has access to. For more information, see Protect Training Jobs by Using an Amazon Virtual Private Cloud.
This is a convenience method that creates an instance of theVpcConfig.Builderavoiding the need to create one manually viaVpcConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovpcConfig(VpcConfig).- Parameters:
vpcConfig- a consumer that will call methods onVpcConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
vpcConfig(VpcConfig)
-
stoppingCondition
DescribeTrainingJobResponse.Builder stoppingCondition(StoppingCondition stoppingCondition)
Specifies a limit to how long a model training job can run. It also specifies how long a managed Spot training job has to complete. When the job reaches the time limit, SageMaker ends the training job. Use this API to cap model training costs.
To stop a job, SageMaker sends the algorithm the
SIGTERMsignal, which delays job termination for 120 seconds. Algorithms can use this 120-second window to save the model artifacts, so the results of training are not lost.- Parameters:
stoppingCondition- Specifies a limit to how long a model training job can run. It also specifies how long a managed Spot training job has to complete. When the job reaches the time limit, SageMaker ends the training job. Use this API to cap model training costs.To stop a job, SageMaker sends the algorithm the
SIGTERMsignal, which delays job termination for 120 seconds. Algorithms can use this 120-second window to save the model artifacts, so the results of training are not lost.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stoppingCondition
default DescribeTrainingJobResponse.Builder stoppingCondition(Consumer<StoppingCondition.Builder> stoppingCondition)
Specifies a limit to how long a model training job can run. It also specifies how long a managed Spot training job has to complete. When the job reaches the time limit, SageMaker ends the training job. Use this API to cap model training costs.
To stop a job, SageMaker sends the algorithm the
This is a convenience method that creates an instance of theSIGTERMsignal, which delays job termination for 120 seconds. Algorithms can use this 120-second window to save the model artifacts, so the results of training are not lost.StoppingCondition.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)
-
creationTime
DescribeTrainingJobResponse.Builder creationTime(Instant creationTime)
A timestamp that indicates when the training job was created.
- Parameters:
creationTime- A timestamp that indicates when the training job was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingStartTime
DescribeTrainingJobResponse.Builder trainingStartTime(Instant trainingStartTime)
Indicates the time when the training job starts on training instances. You are billed for the time interval between this time and the value of
TrainingEndTime. The start time in CloudWatch Logs might be later than this time. The difference is due to the time it takes to download the training data and to the size of the training container.- Parameters:
trainingStartTime- Indicates the time when the training job starts on training instances. You are billed for the time interval between this time and the value ofTrainingEndTime. The start time in CloudWatch Logs might be later than this time. The difference is due to the time it takes to download the training data and to the size of the training container.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingEndTime
DescribeTrainingJobResponse.Builder trainingEndTime(Instant trainingEndTime)
Indicates the time when the training job ends on training instances. You are billed for the time interval between the value of
TrainingStartTimeand this time. For successful jobs and stopped jobs, this is the time after model artifacts are uploaded. For failed jobs, this is the time when SageMaker detects a job failure.- Parameters:
trainingEndTime- Indicates the time when the training job ends on training instances. You are billed for the time interval between the value ofTrainingStartTimeand this time. For successful jobs and stopped jobs, this is the time after model artifacts are uploaded. For failed jobs, this is the time when SageMaker detects a job failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
DescribeTrainingJobResponse.Builder lastModifiedTime(Instant lastModifiedTime)
A timestamp that indicates when the status of the training job was last modified.
- Parameters:
lastModifiedTime- A timestamp that indicates when the status of the training job was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secondaryStatusTransitions
DescribeTrainingJobResponse.Builder secondaryStatusTransitions(Collection<SecondaryStatusTransition> secondaryStatusTransitions)
A history of all of the secondary statuses that the training job has transitioned through.
- Parameters:
secondaryStatusTransitions- A history of all of the secondary statuses that the training job has transitioned through.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secondaryStatusTransitions
DescribeTrainingJobResponse.Builder secondaryStatusTransitions(SecondaryStatusTransition... secondaryStatusTransitions)
A history of all of the secondary statuses that the training job has transitioned through.
- Parameters:
secondaryStatusTransitions- A history of all of the secondary statuses that the training job has transitioned through.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secondaryStatusTransitions
DescribeTrainingJobResponse.Builder secondaryStatusTransitions(Consumer<SecondaryStatusTransition.Builder>... secondaryStatusTransitions)
A history of all of the secondary statuses that the training job has transitioned through.
This is a convenience method that creates an instance of theSecondaryStatusTransition.Builderavoiding the need to create one manually viaSecondaryStatusTransition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#secondaryStatusTransitions(List.) - Parameters:
secondaryStatusTransitions- a consumer that will call methods onSecondaryStatusTransition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#secondaryStatusTransitions(java.util.Collection)
-
finalMetricDataList
DescribeTrainingJobResponse.Builder finalMetricDataList(Collection<MetricData> finalMetricDataList)
A collection of
MetricDataobjects that specify the names, values, and dates and times that the training algorithm emitted to Amazon CloudWatch.- Parameters:
finalMetricDataList- A collection ofMetricDataobjects that specify the names, values, and dates and times that the training algorithm emitted to Amazon CloudWatch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
finalMetricDataList
DescribeTrainingJobResponse.Builder finalMetricDataList(MetricData... finalMetricDataList)
A collection of
MetricDataobjects that specify the names, values, and dates and times that the training algorithm emitted to Amazon CloudWatch.- Parameters:
finalMetricDataList- A collection ofMetricDataobjects that specify the names, values, and dates and times that the training algorithm emitted to Amazon CloudWatch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
finalMetricDataList
DescribeTrainingJobResponse.Builder finalMetricDataList(Consumer<MetricData.Builder>... finalMetricDataList)
A collection of
This is a convenience method that creates an instance of theMetricDataobjects that specify the names, values, and dates and times that the training algorithm emitted to Amazon CloudWatch.MetricData.Builderavoiding the need to create one manually viaMetricData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#finalMetricDataList(List.) - Parameters:
finalMetricDataList- a consumer that will call methods onMetricData.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#finalMetricDataList(java.util.Collection)
-
enableNetworkIsolation
DescribeTrainingJobResponse.Builder enableNetworkIsolation(Boolean enableNetworkIsolation)
If you want to allow inbound or outbound network calls, except for calls between peers within a training cluster for distributed training, choose
True. If you enable network isolation for training jobs that are configured to use a VPC, SageMaker downloads and uploads customer data and model artifacts through the specified VPC, but the training container does not have network access.- Parameters:
enableNetworkIsolation- If you want to allow inbound or outbound network calls, except for calls between peers within a training cluster for distributed training, chooseTrue. If you enable network isolation for training jobs that are configured to use a VPC, SageMaker downloads and uploads customer data and model artifacts through the specified VPC, but the training container does not have network access.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enableInterContainerTrafficEncryption
DescribeTrainingJobResponse.Builder enableInterContainerTrafficEncryption(Boolean enableInterContainerTrafficEncryption)
To encrypt all communications between ML compute instances in distributed training, choose
True. Encryption provides greater security for distributed training, but training might take longer. How long it takes depends on the amount of communication between compute instances, especially if you use a deep learning algorithms in distributed training.- Parameters:
enableInterContainerTrafficEncryption- To encrypt all communications between ML compute instances in distributed training, chooseTrue. Encryption provides greater security for distributed training, but training might take longer. How long it takes depends on the amount of communication between compute instances, especially if you use a deep learning algorithms in distributed training.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enableManagedSpotTraining
DescribeTrainingJobResponse.Builder enableManagedSpotTraining(Boolean enableManagedSpotTraining)
A Boolean indicating whether managed spot training is enabled (
True) or not (False).- Parameters:
enableManagedSpotTraining- A Boolean indicating whether managed spot training is enabled (True) or not (False).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checkpointConfig
DescribeTrainingJobResponse.Builder checkpointConfig(CheckpointConfig checkpointConfig)
Sets the value of the CheckpointConfig property for this object.- Parameters:
checkpointConfig- The new value for the CheckpointConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checkpointConfig
default DescribeTrainingJobResponse.Builder checkpointConfig(Consumer<CheckpointConfig.Builder> checkpointConfig)
Sets the value of the CheckpointConfig property for this object. This is a convenience method that creates an instance of theCheckpointConfig.Builderavoiding the need to create one manually viaCheckpointConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocheckpointConfig(CheckpointConfig).- Parameters:
checkpointConfig- a consumer that will call methods onCheckpointConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
checkpointConfig(CheckpointConfig)
-
trainingTimeInSeconds
DescribeTrainingJobResponse.Builder trainingTimeInSeconds(Integer trainingTimeInSeconds)
The training time in seconds.
- Parameters:
trainingTimeInSeconds- The training time in seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billableTimeInSeconds
DescribeTrainingJobResponse.Builder billableTimeInSeconds(Integer billableTimeInSeconds)
The billable time in seconds. Billable time refers to the absolute wall-clock time.
Multiply
BillableTimeInSecondsby the number of instances (InstanceCount) in your training cluster to get the total compute time SageMaker bills you if you run distributed training. The formula is as follows:BillableTimeInSeconds * InstanceCount.You can calculate the savings from using managed spot training using the formula
(1 - BillableTimeInSeconds / TrainingTimeInSeconds) * 100. For example, ifBillableTimeInSecondsis 100 andTrainingTimeInSecondsis 500, the savings is 80%.- Parameters:
billableTimeInSeconds- The billable time in seconds. Billable time refers to the absolute wall-clock time.Multiply
BillableTimeInSecondsby the number of instances (InstanceCount) in your training cluster to get the total compute time SageMaker bills you if you run distributed training. The formula is as follows:BillableTimeInSeconds * InstanceCount.You can calculate the savings from using managed spot training using the formula
(1 - BillableTimeInSeconds / TrainingTimeInSeconds) * 100. For example, ifBillableTimeInSecondsis 100 andTrainingTimeInSecondsis 500, the savings is 80%.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
debugHookConfig
DescribeTrainingJobResponse.Builder debugHookConfig(DebugHookConfig debugHookConfig)
Sets the value of the DebugHookConfig property for this object.- Parameters:
debugHookConfig- The new value for the DebugHookConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
debugHookConfig
default DescribeTrainingJobResponse.Builder debugHookConfig(Consumer<DebugHookConfig.Builder> debugHookConfig)
Sets the value of the DebugHookConfig property for this object. This is a convenience method that creates an instance of theDebugHookConfig.Builderavoiding the need to create one manually viaDebugHookConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todebugHookConfig(DebugHookConfig).- Parameters:
debugHookConfig- a consumer that will call methods onDebugHookConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
debugHookConfig(DebugHookConfig)
-
experimentConfig
DescribeTrainingJobResponse.Builder experimentConfig(ExperimentConfig experimentConfig)
Sets the value of the ExperimentConfig property for this object.- Parameters:
experimentConfig- The new value for the ExperimentConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
experimentConfig
default DescribeTrainingJobResponse.Builder experimentConfig(Consumer<ExperimentConfig.Builder> experimentConfig)
Sets the value of the ExperimentConfig property for this object. This is a convenience method that creates an instance of theExperimentConfig.Builderavoiding the need to create one manually viaExperimentConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexperimentConfig(ExperimentConfig).- Parameters:
experimentConfig- a consumer that will call methods onExperimentConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
experimentConfig(ExperimentConfig)
-
debugRuleConfigurations
DescribeTrainingJobResponse.Builder debugRuleConfigurations(Collection<DebugRuleConfiguration> debugRuleConfigurations)
Configuration information for Amazon SageMaker Debugger rules for debugging output tensors.
- Parameters:
debugRuleConfigurations- Configuration information for Amazon SageMaker Debugger rules for debugging output tensors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
debugRuleConfigurations
DescribeTrainingJobResponse.Builder debugRuleConfigurations(DebugRuleConfiguration... debugRuleConfigurations)
Configuration information for Amazon SageMaker Debugger rules for debugging output tensors.
- Parameters:
debugRuleConfigurations- Configuration information for Amazon SageMaker Debugger rules for debugging output tensors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
debugRuleConfigurations
DescribeTrainingJobResponse.Builder debugRuleConfigurations(Consumer<DebugRuleConfiguration.Builder>... debugRuleConfigurations)
Configuration information for Amazon SageMaker Debugger rules for debugging output tensors.
This is a convenience method that creates an instance of theDebugRuleConfiguration.Builderavoiding the need to create one manually viaDebugRuleConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#debugRuleConfigurations(List.) - Parameters:
debugRuleConfigurations- a consumer that will call methods onDebugRuleConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#debugRuleConfigurations(java.util.Collection)
-
tensorBoardOutputConfig
DescribeTrainingJobResponse.Builder tensorBoardOutputConfig(TensorBoardOutputConfig tensorBoardOutputConfig)
Sets the value of the TensorBoardOutputConfig property for this object.- Parameters:
tensorBoardOutputConfig- The new value for the TensorBoardOutputConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tensorBoardOutputConfig
default DescribeTrainingJobResponse.Builder tensorBoardOutputConfig(Consumer<TensorBoardOutputConfig.Builder> tensorBoardOutputConfig)
Sets the value of the TensorBoardOutputConfig property for this object. This is a convenience method that creates an instance of theTensorBoardOutputConfig.Builderavoiding the need to create one manually viaTensorBoardOutputConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totensorBoardOutputConfig(TensorBoardOutputConfig).- Parameters:
tensorBoardOutputConfig- a consumer that will call methods onTensorBoardOutputConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
tensorBoardOutputConfig(TensorBoardOutputConfig)
-
debugRuleEvaluationStatuses
DescribeTrainingJobResponse.Builder debugRuleEvaluationStatuses(Collection<DebugRuleEvaluationStatus> debugRuleEvaluationStatuses)
Evaluation status of Amazon SageMaker Debugger rules for debugging on a training job.
- Parameters:
debugRuleEvaluationStatuses- Evaluation status of Amazon SageMaker Debugger rules for debugging on a training job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
debugRuleEvaluationStatuses
DescribeTrainingJobResponse.Builder debugRuleEvaluationStatuses(DebugRuleEvaluationStatus... debugRuleEvaluationStatuses)
Evaluation status of Amazon SageMaker Debugger rules for debugging on a training job.
- Parameters:
debugRuleEvaluationStatuses- Evaluation status of Amazon SageMaker Debugger rules for debugging on a training job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
debugRuleEvaluationStatuses
DescribeTrainingJobResponse.Builder debugRuleEvaluationStatuses(Consumer<DebugRuleEvaluationStatus.Builder>... debugRuleEvaluationStatuses)
Evaluation status of Amazon SageMaker Debugger rules for debugging on a training job.
This is a convenience method that creates an instance of theDebugRuleEvaluationStatus.Builderavoiding the need to create one manually viaDebugRuleEvaluationStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#debugRuleEvaluationStatuses(List.) - Parameters:
debugRuleEvaluationStatuses- a consumer that will call methods onDebugRuleEvaluationStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#debugRuleEvaluationStatuses(java.util.Collection)
-
profilerConfig
DescribeTrainingJobResponse.Builder profilerConfig(ProfilerConfig profilerConfig)
Sets the value of the ProfilerConfig property for this object.- Parameters:
profilerConfig- The new value for the ProfilerConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profilerConfig
default DescribeTrainingJobResponse.Builder profilerConfig(Consumer<ProfilerConfig.Builder> profilerConfig)
Sets the value of the ProfilerConfig property for this object. This is a convenience method that creates an instance of theProfilerConfig.Builderavoiding the need to create one manually viaProfilerConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprofilerConfig(ProfilerConfig).- Parameters:
profilerConfig- a consumer that will call methods onProfilerConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
profilerConfig(ProfilerConfig)
-
profilerRuleConfigurations
DescribeTrainingJobResponse.Builder profilerRuleConfigurations(Collection<ProfilerRuleConfiguration> profilerRuleConfigurations)
Configuration information for Amazon SageMaker Debugger rules for profiling system and framework metrics.
- Parameters:
profilerRuleConfigurations- Configuration information for Amazon SageMaker Debugger rules for profiling system and framework metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profilerRuleConfigurations
DescribeTrainingJobResponse.Builder profilerRuleConfigurations(ProfilerRuleConfiguration... profilerRuleConfigurations)
Configuration information for Amazon SageMaker Debugger rules for profiling system and framework metrics.
- Parameters:
profilerRuleConfigurations- Configuration information for Amazon SageMaker Debugger rules for profiling system and framework metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profilerRuleConfigurations
DescribeTrainingJobResponse.Builder profilerRuleConfigurations(Consumer<ProfilerRuleConfiguration.Builder>... profilerRuleConfigurations)
Configuration information for Amazon SageMaker Debugger rules for profiling system and framework metrics.
This is a convenience method that creates an instance of theProfilerRuleConfiguration.Builderavoiding the need to create one manually viaProfilerRuleConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#profilerRuleConfigurations(List.) - Parameters:
profilerRuleConfigurations- a consumer that will call methods onProfilerRuleConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#profilerRuleConfigurations(java.util.Collection)
-
profilerRuleEvaluationStatuses
DescribeTrainingJobResponse.Builder profilerRuleEvaluationStatuses(Collection<ProfilerRuleEvaluationStatus> profilerRuleEvaluationStatuses)
Evaluation status of Amazon SageMaker Debugger rules for profiling on a training job.
- Parameters:
profilerRuleEvaluationStatuses- Evaluation status of Amazon SageMaker Debugger rules for profiling on a training job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profilerRuleEvaluationStatuses
DescribeTrainingJobResponse.Builder profilerRuleEvaluationStatuses(ProfilerRuleEvaluationStatus... profilerRuleEvaluationStatuses)
Evaluation status of Amazon SageMaker Debugger rules for profiling on a training job.
- Parameters:
profilerRuleEvaluationStatuses- Evaluation status of Amazon SageMaker Debugger rules for profiling on a training job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profilerRuleEvaluationStatuses
DescribeTrainingJobResponse.Builder profilerRuleEvaluationStatuses(Consumer<ProfilerRuleEvaluationStatus.Builder>... profilerRuleEvaluationStatuses)
Evaluation status of Amazon SageMaker Debugger rules for profiling on a training job.
This is a convenience method that creates an instance of theProfilerRuleEvaluationStatus.Builderavoiding the need to create one manually viaProfilerRuleEvaluationStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#profilerRuleEvaluationStatuses(List.) - Parameters:
profilerRuleEvaluationStatuses- a consumer that will call methods onProfilerRuleEvaluationStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#profilerRuleEvaluationStatuses(java.util.Collection)
-
profilingStatus
DescribeTrainingJobResponse.Builder profilingStatus(String profilingStatus)
Profiling status of a training job.
- Parameters:
profilingStatus- Profiling status of a training job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ProfilingStatus,ProfilingStatus
-
profilingStatus
DescribeTrainingJobResponse.Builder profilingStatus(ProfilingStatus profilingStatus)
Profiling status of a training job.
- Parameters:
profilingStatus- Profiling status of a training job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ProfilingStatus,ProfilingStatus
-
environment
DescribeTrainingJobResponse.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.
-
retryStrategy
DescribeTrainingJobResponse.Builder retryStrategy(RetryStrategy retryStrategy)
The number of times to retry the job when the job fails due to an
InternalServerError.- Parameters:
retryStrategy- The number of times to retry the job when the job fails due to anInternalServerError.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retryStrategy
default DescribeTrainingJobResponse.Builder retryStrategy(Consumer<RetryStrategy.Builder> retryStrategy)
The number of times to retry the job when the job fails due to an
This is a convenience method that creates an instance of theInternalServerError.RetryStrategy.Builderavoiding the need to create one manually viaRetryStrategy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toretryStrategy(RetryStrategy).- Parameters:
retryStrategy- a consumer that will call methods onRetryStrategy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
retryStrategy(RetryStrategy)
-
remoteDebugConfig
DescribeTrainingJobResponse.Builder remoteDebugConfig(RemoteDebugConfig remoteDebugConfig)
Configuration for remote debugging. To learn more about the remote debugging functionality of SageMaker, see Access a training container through Amazon Web Services Systems Manager (SSM) for remote debugging.
- Parameters:
remoteDebugConfig- Configuration for remote debugging. To learn more about the remote debugging functionality of SageMaker, see Access a training container through Amazon Web Services Systems Manager (SSM) for remote debugging.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remoteDebugConfig
default DescribeTrainingJobResponse.Builder remoteDebugConfig(Consumer<RemoteDebugConfig.Builder> remoteDebugConfig)
Configuration for remote debugging. To learn more about the remote debugging functionality of SageMaker, see Access a training container through Amazon Web Services Systems Manager (SSM) for remote debugging.
This is a convenience method that creates an instance of theRemoteDebugConfig.Builderavoiding the need to create one manually viaRemoteDebugConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toremoteDebugConfig(RemoteDebugConfig).- Parameters:
remoteDebugConfig- a consumer that will call methods onRemoteDebugConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
remoteDebugConfig(RemoteDebugConfig)
-
infraCheckConfig
DescribeTrainingJobResponse.Builder infraCheckConfig(InfraCheckConfig infraCheckConfig)
Contains information about the infrastructure health check configuration for the training job.
- Parameters:
infraCheckConfig- Contains information about the infrastructure health check configuration for the training job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
infraCheckConfig
default DescribeTrainingJobResponse.Builder infraCheckConfig(Consumer<InfraCheckConfig.Builder> infraCheckConfig)
Contains information about the infrastructure health check configuration for the training job.
This is a convenience method that creates an instance of theInfraCheckConfig.Builderavoiding the need to create one manually viaInfraCheckConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinfraCheckConfig(InfraCheckConfig).- Parameters:
infraCheckConfig- a consumer that will call methods onInfraCheckConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
infraCheckConfig(InfraCheckConfig)
-
-