public void setVariantName(String variantName) {
        this.variantName = variantName;
    }
<p>
The name of the variant.
</p>

@param variantName
       The name of the variant.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/ModelVariantConfigSummary.java