public void setFilterPattern(String filterPattern) {
        this.filterPattern = filterPattern;
    }
<p>
A filter pattern for subscribing to a filtered stream of log events.
</p>

@param filterPattern
       A filter pattern for subscribing to a filtered stream of log events.
aws-java-sdk-logs/src/main/java/com/amazonaws/services/logs/model/PutSubscriptionFilterRequest.java