public ReferenceLineStyleConfiguration withPattern(ReferenceLinePatternType pattern) {
        this.pattern = pattern.toString();
        return this;
    }
<p>
The pattern type of the line style. Choose one of the following options:
</p>
<ul>
<li>
<p>
<code>SOLID</code>
</p>
</li>
<li>
<p>
<code>DASHED</code>
</p>
</li>
<li>
<p>
<code>DOTTED</code>
</p>
</li>
</ul>

@param pattern
       The pattern type of the line style. Choose one of the following options:</p>
       <ul>
       <li>
       <p>
       <code>SOLID</code>
       </p>
       </li>
       <li>
       <p>
       <code>DASHED</code>
       </p>
       </li>
       <li>
       <p>
       <code>DOTTED</code>
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
@see ReferenceLinePatternType
aws-java-sdk-quicksight/src/main/java/com/amazonaws/services/quicksight/model/ReferenceLineStyleConfiguration.java