Interface DescribeTrafficMirrorFilterRulesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DescribeTrafficMirrorFilterRulesRequest.Builder,,DescribeTrafficMirrorFilterRulesRequest> Ec2Request.Builder,SdkBuilder<DescribeTrafficMirrorFilterRulesRequest.Builder,,DescribeTrafficMirrorFilterRulesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
- DescribeTrafficMirrorFilterRulesRequest
-
Method Summary
Modifier and TypeMethodDescriptionChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.filters(Collection<Filter> filters) Traffic mirror filters.filters(Consumer<Filter.Builder>... filters) Traffic mirror filters.Traffic mirror filters.maxResults(Integer maxResults) The maximum number of results to return with a single call.The token for the next page of results.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) trafficMirrorFilterId(String trafficMirrorFilterId) Traffic filter ID.trafficMirrorFilterRuleIds(String... trafficMirrorFilterRuleIds) Traffic filter rule IDs.trafficMirrorFilterRuleIds(Collection<String> trafficMirrorFilterRuleIds) Traffic filter rule IDs.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
Traffic filter ID.
- Parameters:
trafficMirrorFilterId- Traffic filter ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
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
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 tofilters(List<Filter>).- 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:
-
-
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
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
-