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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default NetworkAclCommonPolicy.BuildernetworkAclEntrySet(Consumer<NetworkAclEntrySet.Builder> networkAclEntrySet)The definition of the first and last rules for the network ACL policy.NetworkAclCommonPolicy.BuildernetworkAclEntrySet(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 Detail
-
networkAclEntrySet
NetworkAclCommonPolicy.Builder networkAclEntrySet(NetworkAclEntrySet 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.Builderavoiding the need to create one manually viaNetworkAclEntrySet.builder().When the
Consumercompletes,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:
networkAclEntrySet(NetworkAclEntrySet)
-
-