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
- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
- 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
-
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
-
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
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTrafficMirrorFilter>- Returns:
- a newly built instance of
CfnTrafficMirrorFilter.
-