Interface NetworkAclCommonPolicy.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<NetworkAclCommonPolicy.Builder,
,NetworkAclCommonPolicy> SdkBuilder<NetworkAclCommonPolicy.Builder,
,NetworkAclCommonPolicy> SdkPojo
- Enclosing class:
NetworkAclCommonPolicy
public static interface NetworkAclCommonPolicy.Builder
extends SdkPojo, CopyableBuilder<NetworkAclCommonPolicy.Builder,NetworkAclCommonPolicy>
-
Method Summary
Modifier and TypeMethodDescriptiondefault NetworkAclCommonPolicy.Builder
networkAclEntrySet
(Consumer<NetworkAclEntrySet.Builder> networkAclEntrySet) The definition of the first and last rules for the network ACL policy.networkAclEntrySet
(NetworkAclEntrySet networkAclEntrySet) The definition of the first and last rules for the network ACL 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
-
networkAclEntrySet
The definition of the first and last rules for the network ACL policy.
- Parameters:
networkAclEntrySet
- The definition of the first and last rules for the network ACL policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkAclEntrySet
default NetworkAclCommonPolicy.Builder networkAclEntrySet(Consumer<NetworkAclEntrySet.Builder> networkAclEntrySet) The definition of the first and last rules for the network ACL policy.
This is a convenience method that creates an instance of theNetworkAclEntrySet.Builder
avoiding the need to create one manually viaNetworkAclEntrySet.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonetworkAclEntrySet(NetworkAclEntrySet)
.- Parameters:
networkAclEntrySet
- a consumer that will call methods onNetworkAclEntrySet.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-