Interface TrafficMirrorTarget.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TrafficMirrorTarget.Builder,
,TrafficMirrorTarget> SdkBuilder<TrafficMirrorTarget.Builder,
,TrafficMirrorTarget> SdkPojo
- Enclosing class:
TrafficMirrorTarget
public static interface TrafficMirrorTarget.Builder
extends SdkPojo, CopyableBuilder<TrafficMirrorTarget.Builder,TrafficMirrorTarget>
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) Information about the Traffic Mirror target.gatewayLoadBalancerEndpointId
(String gatewayLoadBalancerEndpointId) The ID of the Gateway Load Balancer endpoint.networkInterfaceId
(String networkInterfaceId) The network interface ID that is attached to the target.networkLoadBalancerArn
(String networkLoadBalancerArn) The Amazon Resource Name (ARN) of the Network Load Balancer.The ID of the account that owns the Traffic Mirror target.tags
(Collection<Tag> tags) The tags assigned to the Traffic Mirror target.tags
(Consumer<Tag.Builder>... tags) The tags assigned to the Traffic Mirror target.The tags assigned to the Traffic Mirror target.trafficMirrorTargetId
(String trafficMirrorTargetId) The ID of the Traffic Mirror target.The type of Traffic Mirror target.type
(TrafficMirrorTargetType type) The type of Traffic Mirror target.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
trafficMirrorTargetId
The ID of the Traffic Mirror target.
- Parameters:
trafficMirrorTargetId
- The ID of the Traffic Mirror target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkInterfaceId
The network interface ID that is attached to the target.
- Parameters:
networkInterfaceId
- The network interface ID that is attached to the target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkLoadBalancerArn
The Amazon Resource Name (ARN) of the Network Load Balancer.
- Parameters:
networkLoadBalancerArn
- The Amazon Resource Name (ARN) of the Network Load Balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of Traffic Mirror target.
- Parameters:
type
- The type of Traffic Mirror target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of Traffic Mirror target.
- Parameters:
type
- The type of Traffic Mirror target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
Information about the Traffic Mirror target.
- Parameters:
description
- Information about the Traffic Mirror target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ownerId
The ID of the account that owns the Traffic Mirror target.
- Parameters:
ownerId
- The ID of the account that owns the Traffic Mirror target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags assigned to the Traffic Mirror target.
- Parameters:
tags
- The tags assigned to the Traffic Mirror target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags assigned to the Traffic Mirror target.
- Parameters:
tags
- The tags assigned to the Traffic Mirror target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags assigned to the Traffic Mirror target.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
gatewayLoadBalancerEndpointId
The ID of the Gateway Load Balancer endpoint.
- Parameters:
gatewayLoadBalancerEndpointId
- The ID of the Gateway Load Balancer endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-