@Override
    public CreateTrafficMirrorFilterResult createTrafficMirrorFilter(CreateTrafficMirrorFilterRequest request) {
        request = beforeClientExecution(request);
        return executeCreateTrafficMirrorFilter(request);
    }
<p>
Creates a Traffic Mirror filter.
</p>
<p>
A Traffic Mirror filter is a set of rules that defines the traffic to mirror.
</p>
<p>
By default, no traffic is mirrored. To mirror traffic, use <a
href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTrafficMirrorFilterRule.htm"
>CreateTrafficMirrorFilterRule</a> to add Traffic Mirror rules to the filter. The rules you add define what
traffic gets mirrored. You can also use <a
href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyTrafficMirrorFilterNetworkServices.html"
>ModifyTrafficMirrorFilterNetworkServices</a> to mirror supported network services.
</p>

@param createTrafficMirrorFilterRequest
@return Result of the CreateTrafficMirrorFilter operation returned by the service.
@sample AmazonEC2.CreateTrafficMirrorFilter
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTrafficMirrorFilter" target="_top">AWS
     API Documentation</a>
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2Client.java