Interface ManagedPrefixList.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ManagedPrefixList.Builder,,ManagedPrefixList> SdkBuilder<ManagedPrefixList.Builder,,ManagedPrefixList> SdkPojo
- Enclosing class:
ManagedPrefixList
-
Method Summary
Modifier and TypeMethodDescriptionaddressFamily(String addressFamily) The IP address version.ipamPrefixListResolverSyncEnabled(Boolean ipamPrefixListResolverSyncEnabled) Indicates whether synchronization with an IPAM prefix list resolver is enabled for this managed prefix list.ipamPrefixListResolverTargetId(String ipamPrefixListResolverTargetId) The ID of the IPAM prefix list resolver target associated with this managed prefix list.maxEntries(Integer maxEntries) The maximum number of entries for the prefix list.The ID of the owner of the prefix list.prefixListArn(String prefixListArn) The Amazon Resource Name (ARN) for the prefix list.prefixListId(String prefixListId) The ID of the prefix list.prefixListName(String prefixListName) The name of the prefix list.The current state of the prefix list.state(PrefixListState state) The current state of the prefix list.stateMessage(String stateMessage) The state message.tags(Collection<Tag> tags) The tags for the prefix list.tags(Consumer<Tag.Builder>... tags) The tags for the prefix list.The tags for the prefix list.The version of the prefix list.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
-
prefixListId
The ID of the prefix list.
- Parameters:
prefixListId- The ID of the prefix list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addressFamily
The IP address version.
- Parameters:
addressFamily- The IP address version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The current state of the prefix list.
- Parameters:
state- The current state of the prefix list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The current state of the prefix list.
- Parameters:
state- The current state of the prefix list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stateMessage
The state message.
- Parameters:
stateMessage- The state message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prefixListArn
The Amazon Resource Name (ARN) for the prefix list.
- Parameters:
prefixListArn- The Amazon Resource Name (ARN) for the prefix list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prefixListName
The name of the prefix list.
- Parameters:
prefixListName- The name of the prefix list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxEntries
The maximum number of entries for the prefix list.
- Parameters:
maxEntries- The maximum number of entries for the prefix list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
The version of the prefix list.
- Parameters:
version- The version of the prefix list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags for the prefix list.
- Parameters:
tags- The tags for the prefix list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags for the prefix list.
- Parameters:
tags- The tags for the prefix list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags for the prefix list.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ownerId
The ID of the owner of the prefix list.
- Parameters:
ownerId- The ID of the owner of the prefix list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipamPrefixListResolverTargetId
The ID of the IPAM prefix list resolver target associated with this managed prefix list. When set, this prefix list becomes an IPAM managed prefix list.
An IPAM-managed prefix list is a customer-managed prefix list that has been associated with an IPAM prefix list resolver target. When a prefix list becomes IPAM managed, its CIDRs are automatically synchronized based on the IPAM prefix list resolver's CIDR selection rules, and direct CIDR modifications are restricted.
- Parameters:
ipamPrefixListResolverTargetId- The ID of the IPAM prefix list resolver target associated with this managed prefix list. When set, this prefix list becomes an IPAM managed prefix list.An IPAM-managed prefix list is a customer-managed prefix list that has been associated with an IPAM prefix list resolver target. When a prefix list becomes IPAM managed, its CIDRs are automatically synchronized based on the IPAM prefix list resolver's CIDR selection rules, and direct CIDR modifications are restricted.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipamPrefixListResolverSyncEnabled
ManagedPrefixList.Builder ipamPrefixListResolverSyncEnabled(Boolean ipamPrefixListResolverSyncEnabled) Indicates whether synchronization with an IPAM prefix list resolver is enabled for this managed prefix list. When enabled, the prefix list CIDRs are automatically updated based on the resolver's CIDR selection rules.
- Parameters:
ipamPrefixListResolverSyncEnabled- Indicates whether synchronization with an IPAM prefix list resolver is enabled for this managed prefix list. When enabled, the prefix list CIDRs are automatically updated based on the resolver's CIDR selection rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-