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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TrafficMirrorTarget.Builder
description(String description)
Information about the Traffic Mirror target.TrafficMirrorTarget.Builder
gatewayLoadBalancerEndpointId(String gatewayLoadBalancerEndpointId)
The ID of the Gateway Load Balancer endpoint.TrafficMirrorTarget.Builder
networkInterfaceId(String networkInterfaceId)
The network interface ID that is attached to the target.TrafficMirrorTarget.Builder
networkLoadBalancerArn(String networkLoadBalancerArn)
The Amazon Resource Name (ARN) of the Network Load Balancer.TrafficMirrorTarget.Builder
ownerId(String ownerId)
The ID of the account that owns the Traffic Mirror target.TrafficMirrorTarget.Builder
tags(Collection<Tag> tags)
The tags assigned to the Traffic Mirror target.TrafficMirrorTarget.Builder
tags(Consumer<Tag.Builder>... tags)
The tags assigned to the Traffic Mirror target.TrafficMirrorTarget.Builder
tags(Tag... tags)
The tags assigned to the Traffic Mirror target.TrafficMirrorTarget.Builder
trafficMirrorTargetId(String trafficMirrorTargetId)
The ID of the Traffic Mirror target.TrafficMirrorTarget.Builder
type(String type)
The type of Traffic Mirror target.TrafficMirrorTarget.Builder
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
trafficMirrorTargetId
TrafficMirrorTarget.Builder trafficMirrorTargetId(String 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
TrafficMirrorTarget.Builder networkInterfaceId(String 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
TrafficMirrorTarget.Builder networkLoadBalancerArn(String 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
TrafficMirrorTarget.Builder type(String 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:
TrafficMirrorTargetType
,TrafficMirrorTargetType
-
type
TrafficMirrorTarget.Builder type(TrafficMirrorTargetType 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:
TrafficMirrorTargetType
,TrafficMirrorTargetType
-
description
TrafficMirrorTarget.Builder description(String 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
TrafficMirrorTarget.Builder ownerId(String 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
TrafficMirrorTarget.Builder tags(Collection<Tag> 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
TrafficMirrorTarget.Builder tags(Tag... 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
TrafficMirrorTarget.Builder tags(Consumer<Tag.Builder>... 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 to#tags(List
.) - 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:
#tags(java.util.Collection
)
-
gatewayLoadBalancerEndpointId
TrafficMirrorTarget.Builder gatewayLoadBalancerEndpointId(String 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.
-
-