Class CfnTrafficMirrorFilter.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnTrafficMirrorFilter.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTrafficMirrorFilter>
- Enclosing class:
CfnTrafficMirrorFilter
@Stability(Stable)
public static final class CfnTrafficMirrorFilter.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTrafficMirrorFilter>
A fluent builder for
CfnTrafficMirrorFilter.-
Method Summary
Modifier and TypeMethodDescriptionbuild()description(String description) The description of the Traffic Mirror filter.networkServices(List<String> networkServices) The network service traffic that is associated with the Traffic Mirror filter.The tags to assign to a Traffic Mirror filter.
-
Method Details
-
create
@Stability(Stable) public static CfnTrafficMirrorFilter.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnTrafficMirrorFilter.Builder.
-
description
The description of the Traffic Mirror filter.- Parameters:
description- The description of the Traffic Mirror filter. This parameter is required.- Returns:
this- See Also:
-
networkServices
@Stability(Stable) public CfnTrafficMirrorFilter.Builder networkServices(List<String> networkServices) The network service traffic that is associated with the Traffic Mirror filter.Valid values are
amazon-dns.- Parameters:
networkServices- The network service traffic that is associated with the Traffic Mirror filter. This parameter is required.- Returns:
this- See Also:
-
tags
The tags to assign to a Traffic Mirror filter.- Parameters:
tags- The tags to assign to a Traffic Mirror filter. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTrafficMirrorFilter>- Returns:
- a newly built instance of
CfnTrafficMirrorFilter.
-