public PutSubscriptionFilterRequest withDistribution(Distribution distribution) {
        this.distribution = distribution.toString();
        return this;
    }
<p>
The method used to distribute log data to the destination. By default, log data is grouped by log stream, but the
grouping can be set to random for a more even distribution. This property is only applicable when the destination
is an Amazon Kinesis data stream.
</p>

@param distribution
       The method used to distribute log data to the destination. By default, log data is grouped by log stream,
       but the grouping can be set to random for a more even distribution. This property is only applicable when
       the destination is an Amazon Kinesis data stream.
@return Returns a reference to this object so that method calls can be chained together.
@see Distribution
aws-java-sdk-logs/src/main/java/com/amazonaws/services/logs/model/PutSubscriptionFilterRequest.java