Interface DescribeTrafficMirrorFilterRulesRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DescribeTrafficMirrorFilterRulesRequest.Builder,DescribeTrafficMirrorFilterRulesRequest>,Ec2Request.Builder,SdkBuilder<DescribeTrafficMirrorFilterRulesRequest.Builder,DescribeTrafficMirrorFilterRulesRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- DescribeTrafficMirrorFilterRulesRequest
public static interface DescribeTrafficMirrorFilterRulesRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<DescribeTrafficMirrorFilterRulesRequest.Builder,DescribeTrafficMirrorFilterRulesRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Request.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
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 isUnauthorizedOperation.- 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 isDryRunOperation. Otherwise, it isUnauthorizedOperation.- 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 areacceptandreject. -
traffic-direction: The traffic direction. Possible directions areingressandegress. -
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 areacceptandreject. -
traffic-direction: The traffic direction. Possible directions areingressandegress. -
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 areacceptandreject. -
traffic-direction: The traffic direction. Possible directions areingressandegress. -
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 areacceptandreject. -
traffic-direction: The traffic direction. Possible directions areingressandegress. -
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 areacceptandreject. -
traffic-direction: The traffic direction. Possible directions areingressandegress. -
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.
Filter.Builderavoiding the need to create one manually viaFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#filters(List.) - Parameters:
filters- a consumer that will call methods onFilter.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
nextTokenvalue.- Parameters:
maxResults- The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returnednextTokenvalue.- 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.
-
overrideConfiguration
DescribeTrafficMirrorFilterRulesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DescribeTrafficMirrorFilterRulesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-