Class CfnTrafficMirrorTarget.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnTrafficMirrorTarget.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTrafficMirrorTarget>
- Enclosing class:
CfnTrafficMirrorTarget
@Stability(Stable)
public static final class CfnTrafficMirrorTarget.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTrafficMirrorTarget>
A fluent builder for
CfnTrafficMirrorTarget
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
description
(String description) The description of the Traffic Mirror target.gatewayLoadBalancerEndpointId
(String gatewayLoadBalancerEndpointId) The ID of the Gateway Load Balancer endpoint.networkInterfaceId
(String networkInterfaceId) The network interface ID that is associated with the target.networkLoadBalancerArn
(String networkLoadBalancerArn) The Amazon Resource Name (ARN) of the Network Load Balancer that is associated with the target.The tags to assign to the Traffic Mirror target.
-
Method Details
-
create
@Stability(Stable) public static CfnTrafficMirrorTarget.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
CfnTrafficMirrorTarget.Builder
.
-
description
The description of the Traffic Mirror target.- Parameters:
description
- The description of the Traffic Mirror target. This parameter is required.- Returns:
this
- See Also:
-
gatewayLoadBalancerEndpointId
@Stability(Stable) public CfnTrafficMirrorTarget.Builder gatewayLoadBalancerEndpointId(String gatewayLoadBalancerEndpointId) The ID of the Gateway Load Balancer endpoint.- Parameters:
gatewayLoadBalancerEndpointId
- The ID of the Gateway Load Balancer endpoint. This parameter is required.- Returns:
this
- See Also:
-
networkInterfaceId
@Stability(Stable) public CfnTrafficMirrorTarget.Builder networkInterfaceId(String networkInterfaceId) The network interface ID that is associated with the target.- Parameters:
networkInterfaceId
- The network interface ID that is associated with the target. This parameter is required.- Returns:
this
- See Also:
-
networkLoadBalancerArn
@Stability(Stable) public CfnTrafficMirrorTarget.Builder networkLoadBalancerArn(String networkLoadBalancerArn) The Amazon Resource Name (ARN) of the Network Load Balancer that is associated with the target.- Parameters:
networkLoadBalancerArn
- The Amazon Resource Name (ARN) of the Network Load Balancer that is associated with the target. This parameter is required.- Returns:
this
- See Also:
-
tags
The tags to assign to the Traffic Mirror target.- Parameters:
tags
- The tags to assign to the Traffic Mirror target. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTrafficMirrorTarget>
- Returns:
- a newly built instance of
CfnTrafficMirrorTarget
.
-