Interface TrafficMirrorTarget.Builder

    • 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.
      • 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 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).

        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:
        #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.