Interface DescribeTrafficMirrorFilterRulesRequest.Builder

    • Method Detail

      • trafficMirrorFilterRuleIds

        DescribeTrafficMirrorFilterRulesRequest.Builder trafficMirrorFilterRuleIds​(Collection<String> trafficMirrorFilterRuleIds)

        Traffic filter rule IDs.

        Parameters:
        trafficMirrorFilterRuleIds - Traffic filter rule IDs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • trafficMirrorFilterRuleIds

        DescribeTrafficMirrorFilterRulesRequest.Builder trafficMirrorFilterRuleIds​(String... trafficMirrorFilterRuleIds)

        Traffic filter rule IDs.

        Parameters:
        trafficMirrorFilterRuleIds - Traffic filter rule IDs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • trafficMirrorFilterId

        DescribeTrafficMirrorFilterRulesRequest.Builder trafficMirrorFilterId​(String trafficMirrorFilterId)

        Traffic filter ID.

        Parameters:
        trafficMirrorFilterId - Traffic filter ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dryRun

        DescribeTrafficMirrorFilterRulesRequest.Builder dryRun​(Boolean dryRun)

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        Parameters:
        dryRun - Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filters

        DescribeTrafficMirrorFilterRulesRequest.Builder filters​(Collection<Filter> filters)

        Traffic mirror filters.

        • traffic-mirror-filter-rule-id: The ID of the Traffic Mirror rule.

        • traffic-mirror-filter-id: The ID of the filter that this rule is associated with.

        • rule-number: The number of the Traffic Mirror rule.

        • rule-action: The action taken on the filtered traffic. Possible actions are accept and reject.

        • traffic-direction: The traffic direction. Possible directions are ingress and egress.

        • protocol: The protocol, for example UDP, assigned to the Traffic Mirror rule.

        • source-cidr-block: The source CIDR block assigned to the Traffic Mirror rule.

        • destination-cidr-block: The destination CIDR block assigned to the Traffic Mirror rule.

        • description: The description of the Traffic Mirror rule.

        Parameters:
        filters - Traffic mirror filters.

        • traffic-mirror-filter-rule-id: The ID of the Traffic Mirror rule.

        • traffic-mirror-filter-id: The ID of the filter that this rule is associated with.

        • rule-number: The number of the Traffic Mirror rule.

        • rule-action: The action taken on the filtered traffic. Possible actions are accept and reject.

        • traffic-direction: The traffic direction. Possible directions are ingress and egress.

        • protocol: The protocol, for example UDP, assigned to the Traffic Mirror rule.

        • source-cidr-block: The source CIDR block assigned to the Traffic Mirror rule.

        • destination-cidr-block: The destination CIDR block assigned to the Traffic Mirror rule.

        • description: The description of the Traffic Mirror rule.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filters

        DescribeTrafficMirrorFilterRulesRequest.Builder filters​(Filter... filters)

        Traffic mirror filters.

        • traffic-mirror-filter-rule-id: The ID of the Traffic Mirror rule.

        • traffic-mirror-filter-id: The ID of the filter that this rule is associated with.

        • rule-number: The number of the Traffic Mirror rule.

        • rule-action: The action taken on the filtered traffic. Possible actions are accept and reject.

        • traffic-direction: The traffic direction. Possible directions are ingress and egress.

        • protocol: The protocol, for example UDP, assigned to the Traffic Mirror rule.

        • source-cidr-block: The source CIDR block assigned to the Traffic Mirror rule.

        • destination-cidr-block: The destination CIDR block assigned to the Traffic Mirror rule.

        • description: The description of the Traffic Mirror rule.

        Parameters:
        filters - Traffic mirror filters.

        • traffic-mirror-filter-rule-id: The ID of the Traffic Mirror rule.

        • traffic-mirror-filter-id: The ID of the filter that this rule is associated with.

        • rule-number: The number of the Traffic Mirror rule.

        • rule-action: The action taken on the filtered traffic. Possible actions are accept and reject.

        • traffic-direction: The traffic direction. Possible directions are ingress and egress.

        • protocol: The protocol, for example UDP, assigned to the Traffic Mirror rule.

        • source-cidr-block: The source CIDR block assigned to the Traffic Mirror rule.

        • destination-cidr-block: The destination CIDR block assigned to the Traffic Mirror rule.

        • description: The description of the Traffic Mirror rule.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filters

        DescribeTrafficMirrorFilterRulesRequest.Builder filters​(Consumer<Filter.Builder>... filters)

        Traffic mirror filters.

        • traffic-mirror-filter-rule-id: The ID of the Traffic Mirror rule.

        • traffic-mirror-filter-id: The ID of the filter that this rule is associated with.

        • rule-number: The number of the Traffic Mirror rule.

        • rule-action: The action taken on the filtered traffic. Possible actions are accept and reject.

        • traffic-direction: The traffic direction. Possible directions are ingress and egress.

        • protocol: The protocol, for example UDP, assigned to the Traffic Mirror rule.

        • source-cidr-block: The source CIDR block assigned to the Traffic Mirror rule.

        • destination-cidr-block: The destination CIDR block assigned to the Traffic Mirror rule.

        • description: The description of the Traffic Mirror rule.

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #filters(List).

        Parameters:
        filters - a consumer that will call methods on Filter.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #filters(java.util.Collection)
      • maxResults

        DescribeTrafficMirrorFilterRulesRequest.Builder maxResults​(Integer maxResults)

        The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

        Parameters:
        maxResults - The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        DescribeTrafficMirrorFilterRulesRequest.Builder nextToken​(String nextToken)

        The token for the next page of results.

        Parameters:
        nextToken - The token for the next page of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.