Interface ByoipCidr.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ByoipCidr.Builder,
,ByoipCidr> SdkBuilder<ByoipCidr.Builder,
,ByoipCidr> SdkPojo
- Enclosing class:
ByoipCidr
-
Method Summary
Modifier and TypeMethodDescriptionasnAssociations
(Collection<AsnAssociation> asnAssociations) The BYOIP CIDR associations with ASNs.asnAssociations
(Consumer<AsnAssociation.Builder>... asnAssociations) The BYOIP CIDR associations with ASNs.asnAssociations
(AsnAssociation... asnAssociations) The BYOIP CIDR associations with ASNs.The address range, in CIDR notation.description
(String description) The description of the address range.networkBorderGroup
(String networkBorderGroup) If you have Local Zones enabled, you can choose a network border group for Local Zones when you provision and advertise a BYOIPv4 CIDR.The state of the address pool.state
(ByoipCidrState state) The state of the address pool.statusMessage
(String statusMessage) Upon success, contains the ID of the address pool.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
-
cidr
The address range, in CIDR notation.
- Parameters:
cidr
- The address range, in CIDR notation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the address range.
- Parameters:
description
- The description of the address range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
asnAssociations
The BYOIP CIDR associations with ASNs.
- Parameters:
asnAssociations
- The BYOIP CIDR associations with ASNs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
asnAssociations
The BYOIP CIDR associations with ASNs.
- Parameters:
asnAssociations
- The BYOIP CIDR associations with ASNs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
asnAssociations
The BYOIP CIDR associations with ASNs.
This is a convenience method that creates an instance of theAsnAssociation.Builder
avoiding the need to create one manually viaAsnAssociation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toasnAssociations(List<AsnAssociation>)
.- Parameters:
asnAssociations
- a consumer that will call methods onAsnAssociation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusMessage
Upon success, contains the ID of the address pool. Otherwise, contains an error message.
- Parameters:
statusMessage
- Upon success, contains the ID of the address pool. Otherwise, contains an error message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The state of the address pool.
- Parameters:
state
- The state of the address pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The state of the address pool.
- Parameters:
state
- The state of the address pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
networkBorderGroup
If you have Local Zones enabled, you can choose a network border group for Local Zones when you provision and advertise a BYOIPv4 CIDR. Choose the network border group carefully as the EIP and the Amazon Web Services resource it is associated with must reside in the same network border group.
You can provision BYOIP address ranges to and advertise them in the following Local Zone network border groups:
-
us-east-1-dfw-2
-
us-west-2-lax-1
-
us-west-2-phx-2
You cannot provision or advertise BYOIPv6 address ranges in Local Zones at this time.
- Parameters:
networkBorderGroup
- If you have Local Zones enabled, you can choose a network border group for Local Zones when you provision and advertise a BYOIPv4 CIDR. Choose the network border group carefully as the EIP and the Amazon Web Services resource it is associated with must reside in the same network border group.You can provision BYOIP address ranges to and advertise them in the following Local Zone network border groups:
-
us-east-1-dfw-2
-
us-west-2-lax-1
-
us-west-2-phx-2
You cannot provision or advertise BYOIPv6 address ranges in Local Zones at this time.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-