public void setAlgorithmSpecification(HyperParameterAlgorithmSpecification algorithmSpecification) {
        this.algorithmSpecification = algorithmSpecification;
    }
<p>
The <a
href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_HyperParameterAlgorithmSpecification.html"
>HyperParameterAlgorithmSpecification</a> object that specifies the resource algorithm to use for the training
jobs that the tuning job launches.
</p>

@param algorithmSpecification
       The <a href=
       "https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_HyperParameterAlgorithmSpecification.html"
       >HyperParameterAlgorithmSpecification</a> object that specifies the resource algorithm to use for the
       training jobs that the tuning job launches.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/HyperParameterTrainingJobDefinition.java