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 Details

    • 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

      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

      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

      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 the Tag.Builder avoiding the need to create one manually via Tag.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

      Parameters:
      tags - a consumer that will call methods on Tag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.