public String getTrafficType() {
        return this.trafficType;
    }
<p>
The type of traffic to monitor (accepted traffic, rejected traffic, or all traffic). This parameter is not
supported for transit gateway resource types. It is required for the other resource types.
</p>

@return The type of traffic to monitor (accepted traffic, rejected traffic, or all traffic). This parameter is
        not supported for transit gateway resource types. It is required for the other resource types.
@see TrafficType
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/CreateFlowLogsRequest.java