Interface TrafficMirrorFilter.Builder

    • Method Detail

      • trafficMirrorFilterId

        TrafficMirrorFilter.Builder trafficMirrorFilterId​(String trafficMirrorFilterId)

        The ID of the Traffic Mirror filter.

        Parameters:
        trafficMirrorFilterId - The ID of the Traffic Mirror filter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ingressFilterRules

        TrafficMirrorFilter.Builder ingressFilterRules​(Collection<TrafficMirrorFilterRule> ingressFilterRules)

        Information about the ingress rules that are associated with the Traffic Mirror filter.

        Parameters:
        ingressFilterRules - Information about the ingress rules that are associated with the Traffic Mirror filter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ingressFilterRules

        TrafficMirrorFilter.Builder ingressFilterRules​(TrafficMirrorFilterRule... ingressFilterRules)

        Information about the ingress rules that are associated with the Traffic Mirror filter.

        Parameters:
        ingressFilterRules - Information about the ingress rules that are associated with the Traffic Mirror filter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • egressFilterRules

        TrafficMirrorFilter.Builder egressFilterRules​(Collection<TrafficMirrorFilterRule> egressFilterRules)

        Information about the egress rules that are associated with the Traffic Mirror filter.

        Parameters:
        egressFilterRules - Information about the egress rules that are associated with the Traffic Mirror filter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • egressFilterRules

        TrafficMirrorFilter.Builder egressFilterRules​(TrafficMirrorFilterRule... egressFilterRules)

        Information about the egress rules that are associated with the Traffic Mirror filter.

        Parameters:
        egressFilterRules - Information about the egress rules that are associated with the Traffic Mirror filter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • networkServicesWithStrings

        TrafficMirrorFilter.Builder networkServicesWithStrings​(Collection<String> networkServices)

        The network service traffic that is associated with the Traffic Mirror filter.

        Parameters:
        networkServices - The network service traffic that is associated with the Traffic Mirror filter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • networkServicesWithStrings

        TrafficMirrorFilter.Builder networkServicesWithStrings​(String... networkServices)

        The network service traffic that is associated with the Traffic Mirror filter.

        Parameters:
        networkServices - The network service traffic that is associated with the Traffic Mirror filter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • networkServices

        TrafficMirrorFilter.Builder networkServices​(Collection<TrafficMirrorNetworkService> networkServices)

        The network service traffic that is associated with the Traffic Mirror filter.

        Parameters:
        networkServices - The network service traffic that is associated with the Traffic Mirror filter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • networkServices

        TrafficMirrorFilter.Builder networkServices​(TrafficMirrorNetworkService... networkServices)

        The network service traffic that is associated with the Traffic Mirror filter.

        Parameters:
        networkServices - The network service traffic that is associated with the Traffic Mirror filter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        TrafficMirrorFilter.Builder description​(String description)

        The description of the Traffic Mirror filter.

        Parameters:
        description - The description of the Traffic Mirror filter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        TrafficMirrorFilter.Builder tags​(Collection<Tag> tags)

        The tags assigned to the Traffic Mirror filter.

        Parameters:
        tags - The tags assigned to the Traffic Mirror filter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        TrafficMirrorFilter.Builder tags​(Tag... tags)

        The tags assigned to the Traffic Mirror filter.

        Parameters:
        tags - The tags assigned to the Traffic Mirror filter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        TrafficMirrorFilter.Builder tags​(Consumer<Tag.Builder>... tags)

        The tags assigned to the Traffic Mirror filter.

        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)