Interface NetworkTrafficConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<NetworkTrafficConfig.Builder,,NetworkTrafficConfig> SdkBuilder<NetworkTrafficConfig.Builder,,NetworkTrafficConfig> SdkPojo
- Enclosing class:
NetworkTrafficConfig
-
Method Summary
Modifier and TypeMethodDescriptioncustomHeaders(Collection<CustomHeader> customHeaders) The list of custom HTTP headers to include in network traffic during testing.customHeaders(Consumer<CustomHeader.Builder>... customHeaders) The list of custom HTTP headers to include in network traffic during testing.customHeaders(CustomHeader... customHeaders) The list of custom HTTP headers to include in network traffic during testing.rules(Collection<NetworkTrafficRule> rules) The list of network traffic rules that control which URLs are allowed or denied during testing.rules(Consumer<NetworkTrafficRule.Builder>... rules) The list of network traffic rules that control which URLs are allowed or denied during testing.rules(NetworkTrafficRule... rules) The list of network traffic rules that control which URLs are allowed or denied during testing.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
rules
The list of network traffic rules that control which URLs are allowed or denied during testing.
- Parameters:
rules- The list of network traffic rules that control which URLs are allowed or denied during testing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
The list of network traffic rules that control which URLs are allowed or denied during testing.
- Parameters:
rules- The list of network traffic rules that control which URLs are allowed or denied during testing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
The list of network traffic rules that control which URLs are allowed or denied during testing.
This is a convenience method that creates an instance of theNetworkTrafficRule.Builderavoiding the need to create one manually viaNetworkTrafficRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torules(List<NetworkTrafficRule>).- Parameters:
rules- a consumer that will call methods onNetworkTrafficRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
customHeaders
The list of custom HTTP headers to include in network traffic during testing.
- Parameters:
customHeaders- The list of custom HTTP headers to include in network traffic during testing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customHeaders
The list of custom HTTP headers to include in network traffic during testing.
- Parameters:
customHeaders- The list of custom HTTP headers to include in network traffic during testing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customHeaders
The list of custom HTTP headers to include in network traffic during testing.
This is a convenience method that creates an instance of theCustomHeader.Builderavoiding the need to create one manually viaCustomHeader.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocustomHeaders(List<CustomHeader>).- Parameters:
customHeaders- a consumer that will call methods onCustomHeader.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-