public PatternToken withIsDynamic(Boolean isDynamic) {
        setIsDynamic(isDynamic);
        return this;
    }
<p>
Specifies whether this is a dynamic token.
</p>

@param isDynamic
       Specifies whether this is a dynamic token.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-logs/src/main/java/com/amazonaws/services/logs/model/PatternToken.java