Class CfnTrafficMirrorTargetMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnTrafficMirrorTargetMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTrafficMirrorTargetMixinProps>
- Enclosing interface:
CfnTrafficMirrorTargetMixinProps
@Stability(Stable)
public static final class CfnTrafficMirrorTargetMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTrafficMirrorTargetMixinProps>
A builder for
CfnTrafficMirrorTargetMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnTrafficMirrorTargetMixinProps.getDescription()gatewayLoadBalancerEndpointId(String gatewayLoadBalancerEndpointId) Sets the value ofCfnTrafficMirrorTargetMixinProps.getGatewayLoadBalancerEndpointId()networkInterfaceId(String networkInterfaceId) Sets the value ofCfnTrafficMirrorTargetMixinProps.getNetworkInterfaceId()networkLoadBalancerArn(String networkLoadBalancerArn) Sets the value ofCfnTrafficMirrorTargetMixinProps.getNetworkLoadBalancerArn()Sets the value ofCfnTrafficMirrorTargetMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnTrafficMirrorTargetMixinProps.getDescription()- Parameters:
description- The description of the Traffic Mirror target.- Returns:
this
-
gatewayLoadBalancerEndpointId
@Stability(Stable) public CfnTrafficMirrorTargetMixinProps.Builder gatewayLoadBalancerEndpointId(String gatewayLoadBalancerEndpointId) Sets the value ofCfnTrafficMirrorTargetMixinProps.getGatewayLoadBalancerEndpointId()- Parameters:
gatewayLoadBalancerEndpointId- The ID of the Gateway Load Balancer endpoint.- Returns:
this
-
networkInterfaceId
@Stability(Stable) public CfnTrafficMirrorTargetMixinProps.Builder networkInterfaceId(String networkInterfaceId) Sets the value ofCfnTrafficMirrorTargetMixinProps.getNetworkInterfaceId()- Parameters:
networkInterfaceId- The network interface ID that is associated with the target.- Returns:
this
-
networkLoadBalancerArn
@Stability(Stable) public CfnTrafficMirrorTargetMixinProps.Builder networkLoadBalancerArn(String networkLoadBalancerArn) Sets the value ofCfnTrafficMirrorTargetMixinProps.getNetworkLoadBalancerArn()- Parameters:
networkLoadBalancerArn- The Amazon Resource Name (ARN) of the Network Load Balancer that is associated with the target.- Returns:
this
-
tags
@Stability(Stable) public CfnTrafficMirrorTargetMixinProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnTrafficMirrorTargetMixinProps.getTags()- Parameters:
tags- The tags to assign to the Traffic Mirror target.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTrafficMirrorTargetMixinProps>- Returns:
- a new instance of
CfnTrafficMirrorTargetMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-