@Stability(value=Experimental) public static final class SagemakerTrainTaskProps.Builder extends Object
SagemakerTrainTaskProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public SagemakerTrainTaskProps.Builder algorithmSpecification(AlgorithmSpecification algorithmSpecification)
SagemakerTrainTaskProps.getAlgorithmSpecification()algorithmSpecification - Identifies the training algorithm to use. This parameter is required.this@Stability(value=Experimental) public SagemakerTrainTaskProps.Builder inputDataConfig(List<Channel> inputDataConfig)
SagemakerTrainTaskProps.getInputDataConfig()inputDataConfig - Describes the various datasets (e.g. train, validation, test) and the Amazon S3 location where stored. This parameter is required.this@Stability(value=Experimental) public SagemakerTrainTaskProps.Builder outputDataConfig(OutputDataConfig outputDataConfig)
SagemakerTrainTaskProps.getOutputDataConfig()outputDataConfig - Identifies the Amazon S3 location where you want Amazon SageMaker to save the results of model training. This parameter is required.this@Stability(value=Experimental) public SagemakerTrainTaskProps.Builder trainingJobName(String trainingJobName)
SagemakerTrainTaskProps.getTrainingJobName()trainingJobName - Training Job Name. This parameter is required.this@Stability(value=Experimental) public SagemakerTrainTaskProps.Builder hyperparameters(Map<String,Object> hyperparameters)
SagemakerTrainTaskProps.getHyperparameters()hyperparameters - Hyperparameters to be used for the train job.this@Stability(value=Experimental) public SagemakerTrainTaskProps.Builder integrationPattern(ServiceIntegrationPattern integrationPattern)
SagemakerTrainTaskProps.getIntegrationPattern()integrationPattern - The service integration pattern indicates different ways to call SageMaker APIs.
The valid value is either FIRE_AND_FORGET or SYNC.this@Stability(value=Experimental) public SagemakerTrainTaskProps.Builder resourceConfig(ResourceConfig resourceConfig)
SagemakerTrainTaskProps.getResourceConfig()resourceConfig - Identifies the resources, ML compute instances, and ML storage volumes to deploy for model training.this@Stability(value=Experimental) public SagemakerTrainTaskProps.Builder role(IRole role)
SagemakerTrainTaskProps.getRole()role - Role for the Training Job.
The role must be granted all necessary permissions for the SageMaker training job to
be able to operate.
See https://docs.aws.amazon.com/fr_fr/sagemaker/latest/dg/sagemaker-roles.html#sagemaker-roles-createtrainingjob-perms
this@Stability(value=Experimental) public SagemakerTrainTaskProps.Builder stoppingCondition(StoppingCondition stoppingCondition)
SagemakerTrainTaskProps.getStoppingCondition()stoppingCondition - Sets a time limit for training.this@Stability(value=Experimental) public SagemakerTrainTaskProps.Builder tags(Map<String,String> tags)
SagemakerTrainTaskProps.getTags()tags - Tags to be applied to the train job.this@Stability(value=Experimental) public SagemakerTrainTaskProps.Builder vpcConfig(VpcConfig vpcConfig)
SagemakerTrainTaskProps.getVpcConfig()vpcConfig - Specifies the VPC that you want your training job to connect to.this@Stability(value=Experimental) public SagemakerTrainTaskProps build()
SagemakerTrainTaskPropsNullPointerException - if any required attribute was not providedCopyright © 2020. All rights reserved.