public ConditionalFormattingCustomIconOptions withIcon(Icon icon) {
        this.icon = icon.toString();
        return this;
    }
<p>
Determines the type of icon.
</p>

@param icon
       Determines the type of icon.
@return Returns a reference to this object so that method calls can be chained together.
@see Icon
aws-java-sdk-quicksight/src/main/java/com/amazonaws/services/quicksight/model/ConditionalFormattingCustomIconOptions.java