public static interface DescribeTrainingJobResponse.Builder extends SageMakerResponse.Builder, CopyableBuilder<DescribeTrainingJobResponse.Builder,DescribeTrainingJobResponse>
Modifier and Type | Method and Description |
---|---|
DescribeTrainingJobResponse.Builder |
algorithmSpecification(AlgorithmSpecification algorithmSpecification)
Information about the algorithm used for training, and algorithm metadata.
|
default DescribeTrainingJobResponse.Builder |
algorithmSpecification(Consumer<AlgorithmSpecification.Builder> algorithmSpecification)
Information about the algorithm used for training, and algorithm metadata.
|
DescribeTrainingJobResponse.Builder |
creationTime(Instant creationTime)
A timestamp that indicates when the training job was created.
|
DescribeTrainingJobResponse.Builder |
failureReason(String failureReason)
If the training job failed, the reason it failed.
|
DescribeTrainingJobResponse.Builder |
hyperParameters(Map<String,String> hyperParameters)
Algorithm-specific parameters.
|
DescribeTrainingJobResponse.Builder |
inputDataConfig(Channel... inputDataConfig)
An array of
Channel objects that describes each data input channel. |
DescribeTrainingJobResponse.Builder |
inputDataConfig(Collection<Channel> inputDataConfig)
An array of
Channel objects that describes each data input channel. |
DescribeTrainingJobResponse.Builder |
lastModifiedTime(Instant lastModifiedTime)
A timestamp that indicates when the status of the training job was last modified.
|
default DescribeTrainingJobResponse.Builder |
modelArtifacts(Consumer<ModelArtifacts.Builder> modelArtifacts)
Information about the Amazon S3 location that is configured for storing model artifacts.
|
DescribeTrainingJobResponse.Builder |
modelArtifacts(ModelArtifacts modelArtifacts)
Information about the Amazon S3 location that is configured for storing model artifacts.
|
default DescribeTrainingJobResponse.Builder |
outputDataConfig(Consumer<OutputDataConfig.Builder> outputDataConfig)
The S3 path where model artifacts that you configured when creating the job are stored.
|
DescribeTrainingJobResponse.Builder |
outputDataConfig(OutputDataConfig outputDataConfig)
The S3 path where model artifacts that you configured when creating the job are stored.
|
default DescribeTrainingJobResponse.Builder |
resourceConfig(Consumer<ResourceConfig.Builder> resourceConfig)
Resources, including ML compute instances and ML storage volumes, that are configured for model training.
|
DescribeTrainingJobResponse.Builder |
resourceConfig(ResourceConfig resourceConfig)
Resources, including ML compute instances and ML storage volumes, that are configured for model training.
|
DescribeTrainingJobResponse.Builder |
roleArn(String roleArn)
The AWS Identity and Access Management (IAM) role configured for the training job.
|
DescribeTrainingJobResponse.Builder |
secondaryStatus(SecondaryStatus secondaryStatus)
Provides granular information about the system state.
|
DescribeTrainingJobResponse.Builder |
secondaryStatus(String secondaryStatus)
Provides granular information about the system state.
|
default DescribeTrainingJobResponse.Builder |
stoppingCondition(Consumer<StoppingCondition.Builder> stoppingCondition)
The condition under which to stop the training job.
|
DescribeTrainingJobResponse.Builder |
stoppingCondition(StoppingCondition stoppingCondition)
The condition under which to stop the training job.
|
DescribeTrainingJobResponse.Builder |
trainingEndTime(Instant trainingEndTime)
A timestamp that indicates when model training ended.
|
DescribeTrainingJobResponse.Builder |
trainingJobArn(String trainingJobArn)
The Amazon Resource Name (ARN) of the training job.
|
DescribeTrainingJobResponse.Builder |
trainingJobName(String trainingJobName)
Name of the model training job.
|
DescribeTrainingJobResponse.Builder |
trainingJobStatus(String trainingJobStatus)
The status of the training job.
|
DescribeTrainingJobResponse.Builder |
trainingJobStatus(TrainingJobStatus trainingJobStatus)
The status of the training job.
|
DescribeTrainingJobResponse.Builder |
trainingStartTime(Instant trainingStartTime)
A timestamp that indicates when training started.
|
build
copy
apply, build
DescribeTrainingJobResponse.Builder trainingJobName(String trainingJobName)
Name of the model training job.
trainingJobName
- Name of the model training job.DescribeTrainingJobResponse.Builder trainingJobArn(String trainingJobArn)
The Amazon Resource Name (ARN) of the training job.
trainingJobArn
- The Amazon Resource Name (ARN) of the training job.DescribeTrainingJobResponse.Builder modelArtifacts(ModelArtifacts modelArtifacts)
Information about the Amazon S3 location that is configured for storing model artifacts.
modelArtifacts
- Information about the Amazon S3 location that is configured for storing model artifacts.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 that creates an instance of theModelArtifacts.Builder
avoiding the need to
create one manually via ModelArtifacts.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to modelArtifacts(ModelArtifacts)
.modelArtifacts
- a consumer that will call methods on ModelArtifacts.Builder
modelArtifacts(ModelArtifacts)
DescribeTrainingJobResponse.Builder trainingJobStatus(String trainingJobStatus)
The status of the training job.
For the InProgress
status, Amazon SageMaker can return these secondary statuses:
Starting - Preparing for training.
Downloading - Optional stage for algorithms that support File training input mode. It indicates data is being downloaded to ML storage volumes.
Training - Training is in progress.
Uploading - Training is complete and model upload is in progress.
For the Stopped
training status, Amazon SageMaker can return these secondary statuses:
MaxRuntimeExceeded - Job stopped as a result of maximum allowed runtime exceeded.
trainingJobStatus
- The status of the training job.
For the InProgress
status, Amazon SageMaker can return these secondary statuses:
Starting - Preparing for training.
Downloading - Optional stage for algorithms that support File training input mode. It indicates data is being downloaded to ML storage volumes.
Training - Training is in progress.
Uploading - Training is complete and model upload is in progress.
For the Stopped
training status, Amazon SageMaker can return these secondary statuses:
MaxRuntimeExceeded - Job stopped as a result of maximum allowed runtime exceeded.
TrainingJobStatus
,
TrainingJobStatus
DescribeTrainingJobResponse.Builder trainingJobStatus(TrainingJobStatus trainingJobStatus)
The status of the training job.
For the InProgress
status, Amazon SageMaker can return these secondary statuses:
Starting - Preparing for training.
Downloading - Optional stage for algorithms that support File training input mode. It indicates data is being downloaded to ML storage volumes.
Training - Training is in progress.
Uploading - Training is complete and model upload is in progress.
For the Stopped
training status, Amazon SageMaker can return these secondary statuses:
MaxRuntimeExceeded - Job stopped as a result of maximum allowed runtime exceeded.
trainingJobStatus
- The status of the training job.
For the InProgress
status, Amazon SageMaker can return these secondary statuses:
Starting - Preparing for training.
Downloading - Optional stage for algorithms that support File training input mode. It indicates data is being downloaded to ML storage volumes.
Training - Training is in progress.
Uploading - Training is complete and model upload is in progress.
For the Stopped
training status, Amazon SageMaker can return these secondary statuses:
MaxRuntimeExceeded - Job stopped as a result of maximum allowed runtime exceeded.
TrainingJobStatus
,
TrainingJobStatus
DescribeTrainingJobResponse.Builder secondaryStatus(String secondaryStatus)
Provides granular information about the system state. For more information, see
TrainingJobStatus
.
secondaryStatus
- Provides granular information about the system state. For more information, see
TrainingJobStatus
.SecondaryStatus
,
SecondaryStatus
DescribeTrainingJobResponse.Builder secondaryStatus(SecondaryStatus secondaryStatus)
Provides granular information about the system state. For more information, see
TrainingJobStatus
.
secondaryStatus
- Provides granular information about the system state. For more information, see
TrainingJobStatus
.SecondaryStatus
,
SecondaryStatus
DescribeTrainingJobResponse.Builder failureReason(String failureReason)
If the training job failed, the reason it failed.
failureReason
- If the training job failed, the reason it failed.DescribeTrainingJobResponse.Builder hyperParameters(Map<String,String> hyperParameters)
Algorithm-specific parameters.
hyperParameters
- Algorithm-specific parameters.DescribeTrainingJobResponse.Builder algorithmSpecification(AlgorithmSpecification algorithmSpecification)
Information about the algorithm used for training, and algorithm metadata.
algorithmSpecification
- Information about the algorithm used for training, and algorithm metadata.default DescribeTrainingJobResponse.Builder algorithmSpecification(Consumer<AlgorithmSpecification.Builder> algorithmSpecification)
Information about the algorithm used for training, and algorithm metadata.
This is a convenience that creates an instance of theAlgorithmSpecification.Builder
avoiding the
need to create one manually via AlgorithmSpecification.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to algorithmSpecification(AlgorithmSpecification)
.algorithmSpecification
- a consumer that will call methods on AlgorithmSpecification.Builder
algorithmSpecification(AlgorithmSpecification)
DescribeTrainingJobResponse.Builder roleArn(String roleArn)
The AWS Identity and Access Management (IAM) role configured for the training job.
roleArn
- The AWS Identity and Access Management (IAM) role configured for the training job.DescribeTrainingJobResponse.Builder inputDataConfig(Collection<Channel> inputDataConfig)
An array of Channel
objects that describes each data input channel.
inputDataConfig
- An array of Channel
objects that describes each data input channel.DescribeTrainingJobResponse.Builder inputDataConfig(Channel... inputDataConfig)
An array of Channel
objects that describes each data input channel.
inputDataConfig
- An array of Channel
objects that describes each data input channel.DescribeTrainingJobResponse.Builder outputDataConfig(OutputDataConfig outputDataConfig)
The S3 path where model artifacts that you configured when creating the job are stored. Amazon SageMaker creates subfolders for model artifacts.
outputDataConfig
- The S3 path where model artifacts that you configured when creating the job are stored. Amazon
SageMaker creates subfolders for model artifacts.default DescribeTrainingJobResponse.Builder outputDataConfig(Consumer<OutputDataConfig.Builder> outputDataConfig)
The S3 path where model artifacts that you configured when creating the job are stored. Amazon SageMaker creates subfolders for model artifacts.
This is a convenience that creates an instance of theOutputDataConfig.Builder
avoiding the need to
create one manually via OutputDataConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to outputDataConfig(OutputDataConfig)
.outputDataConfig
- a consumer that will call methods on OutputDataConfig.Builder
outputDataConfig(OutputDataConfig)
DescribeTrainingJobResponse.Builder resourceConfig(ResourceConfig resourceConfig)
Resources, including ML compute instances and ML storage volumes, that are configured for model training.
resourceConfig
- Resources, including ML compute instances and ML storage volumes, that are configured for model
training.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 that creates an instance of theResourceConfig.Builder
avoiding the need to
create one manually via ResourceConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to resourceConfig(ResourceConfig)
.resourceConfig
- a consumer that will call methods on ResourceConfig.Builder
resourceConfig(ResourceConfig)
DescribeTrainingJobResponse.Builder stoppingCondition(StoppingCondition stoppingCondition)
The condition under which to stop the training job.
stoppingCondition
- The condition under which to stop the training job.default DescribeTrainingJobResponse.Builder stoppingCondition(Consumer<StoppingCondition.Builder> stoppingCondition)
The condition under which to stop the training job.
This is a convenience that creates an instance of theStoppingCondition.Builder
avoiding the need to
create one manually via StoppingCondition.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to stoppingCondition(StoppingCondition)
.stoppingCondition
- a consumer that will call methods on StoppingCondition.Builder
stoppingCondition(StoppingCondition)
DescribeTrainingJobResponse.Builder creationTime(Instant creationTime)
A timestamp that indicates when the training job was created.
creationTime
- A timestamp that indicates when the training job was created.DescribeTrainingJobResponse.Builder trainingStartTime(Instant trainingStartTime)
A timestamp that indicates when training started.
trainingStartTime
- A timestamp that indicates when training started.DescribeTrainingJobResponse.Builder trainingEndTime(Instant trainingEndTime)
A timestamp that indicates when model training ended.
trainingEndTime
- A timestamp that indicates when model training ended.DescribeTrainingJobResponse.Builder lastModifiedTime(Instant lastModifiedTime)
A timestamp that indicates when the status of the training job was last modified.
lastModifiedTime
- A timestamp that indicates when the status of the training job was last modified.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.