Interface PolicyOption.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PolicyOption.Builder,
,PolicyOption> SdkBuilder<PolicyOption.Builder,
,PolicyOption> SdkPojo
- Enclosing class:
PolicyOption
public static interface PolicyOption.Builder
extends SdkPojo, CopyableBuilder<PolicyOption.Builder,PolicyOption>
-
Method Summary
Modifier and TypeMethodDescriptiondefault PolicyOption.Builder
networkFirewallPolicy
(Consumer<NetworkFirewallPolicy.Builder> networkFirewallPolicy) Defines the deployment model to use for the firewall policy.networkFirewallPolicy
(NetworkFirewallPolicy networkFirewallPolicy) Defines the deployment model to use for the firewall policy.default PolicyOption.Builder
thirdPartyFirewallPolicy
(Consumer<ThirdPartyFirewallPolicy.Builder> thirdPartyFirewallPolicy) Defines the policy options for a third-party firewall policy.thirdPartyFirewallPolicy
(ThirdPartyFirewallPolicy thirdPartyFirewallPolicy) Defines the policy options for a third-party firewall policy.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
networkFirewallPolicy
Defines the deployment model to use for the firewall policy.
- Parameters:
networkFirewallPolicy
- Defines the deployment model to use for the firewall policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkFirewallPolicy
default PolicyOption.Builder networkFirewallPolicy(Consumer<NetworkFirewallPolicy.Builder> networkFirewallPolicy) Defines the deployment model to use for the firewall policy.
This is a convenience method that creates an instance of theNetworkFirewallPolicy.Builder
avoiding the need to create one manually viaNetworkFirewallPolicy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonetworkFirewallPolicy(NetworkFirewallPolicy)
.- Parameters:
networkFirewallPolicy
- a consumer that will call methods onNetworkFirewallPolicy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
thirdPartyFirewallPolicy
Defines the policy options for a third-party firewall policy.
- Parameters:
thirdPartyFirewallPolicy
- Defines the policy options for a third-party firewall policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
thirdPartyFirewallPolicy
default PolicyOption.Builder thirdPartyFirewallPolicy(Consumer<ThirdPartyFirewallPolicy.Builder> thirdPartyFirewallPolicy) Defines the policy options for a third-party firewall policy.
This is a convenience method that creates an instance of theThirdPartyFirewallPolicy.Builder
avoiding the need to create one manually viaThirdPartyFirewallPolicy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tothirdPartyFirewallPolicy(ThirdPartyFirewallPolicy)
.- Parameters:
thirdPartyFirewallPolicy
- a consumer that will call methods onThirdPartyFirewallPolicy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-