public String getAlgorithmName() {
        return this.algorithmName;
    }
<p>
The name of the algorithm resource to use for the training job. This must be an algorithm resource that you
created or subscribe to on Amazon Web Services Marketplace.
</p>
<note>
<p>
You must specify either the algorithm name to the <code>AlgorithmName</code> parameter or the image URI of the
algorithm container to the <code>TrainingImage</code> parameter.
</p>
<p>
Note that the <code>AlgorithmName</code> parameter is mutually exclusive with the <code>TrainingImage</code>
parameter. If you specify a value for the <code>AlgorithmName</code> parameter, you can't specify a value for
<code>TrainingImage</code>, and vice versa.
</p>
<p>
If you specify values for both parameters, the training job might break; if you don't specify any value for both
parameters, the training job might raise a <code>null</code> error.
</p>
</note>

@return The name of the algorithm resource to use for the training job. This must be an algorithm resource that
        you created or subscribe to on Amazon Web Services Marketplace.</p> <note>
        <p>
        You must specify either the algorithm name to the <code>AlgorithmName</code> parameter or the image URI
        of the algorithm container to the <code>TrainingImage</code> parameter.
        </p>
        <p>
        Note that the <code>AlgorithmName</code> parameter is mutually exclusive with the
        <code>TrainingImage</code> parameter. If you specify a value for the <code>AlgorithmName</code>
        parameter, you can't specify a value for <code>TrainingImage</code>, and vice versa.
        </p>
        <p>
        If you specify values for both parameters, the training job might break; if you don't specify any value
        for both parameters, the training job might raise a <code>null</code> error.
        </p>
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/AlgorithmSpecification.java