public DominantColor withHexCode(String hexCode) {
        setHexCode(hexCode);
        return this;
    }
<p>
The Hex code equivalent of the RGB values for a dominant color.
</p>

@param hexCode
       The Hex code equivalent of the RGB values for a dominant color.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/DominantColor.java