Class CfnTrafficMirrorTargetPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnTrafficMirrorTargetPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTrafficMirrorTargetPropsMixin>
- Enclosing class:
CfnTrafficMirrorTargetPropsMixin
@Stability(Stable)
public static final class CfnTrafficMirrorTargetPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTrafficMirrorTargetPropsMixin>
A fluent builder for
CfnTrafficMirrorTargetPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) 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 CfnTrafficMirrorTargetPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnTrafficMirrorTargetPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnTrafficMirrorTargetPropsMixin.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 CfnTrafficMirrorTargetPropsMixin.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 CfnTrafficMirrorTargetPropsMixin.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 CfnTrafficMirrorTargetPropsMixin.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
@Stability(Stable) public CfnTrafficMirrorTargetPropsMixin.Builder tags(List<? extends CfnTag> 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:
buildin interfacesoftware.amazon.jsii.Builder<CfnTrafficMirrorTargetPropsMixin>- Returns:
- a newly built instance of
CfnTrafficMirrorTargetPropsMixin.
-