Interface TrafficMirrorFilter.Builder

All Superinterfaces:
Buildable, CopyableBuilder<TrafficMirrorFilter.Builder,TrafficMirrorFilter>, SdkBuilder<TrafficMirrorFilter.Builder,TrafficMirrorFilter>, SdkPojo
Enclosing class:
TrafficMirrorFilter

public static interface TrafficMirrorFilter.Builder extends SdkPojo, CopyableBuilder<TrafficMirrorFilter.Builder,TrafficMirrorFilter>
  • Method Details

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

      TrafficMirrorFilter.Builder ingressFilterRules(Consumer<TrafficMirrorFilterRule.Builder>... ingressFilterRules)

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

      This is a convenience method that creates an instance of the TrafficMirrorFilterRule.Builder avoiding the need to create one manually via TrafficMirrorFilterRule.builder().

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

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

      TrafficMirrorFilter.Builder egressFilterRules(Consumer<TrafficMirrorFilterRule.Builder>... egressFilterRules)

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

      This is a convenience method that creates an instance of the TrafficMirrorFilterRule.Builder avoiding the need to create one manually via TrafficMirrorFilterRule.builder().

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

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

      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

      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

      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

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