@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ByoipCidr extends Object implements Serializable, Cloneable
Information about an address range that is provisioned for use with your Amazon Web Services resources through bring your own IP addresses (BYOIP).
Constructor and Description |
---|
ByoipCidr() |
Modifier and Type | Method and Description |
---|---|
ByoipCidr |
clone() |
boolean |
equals(Object obj) |
List<AsnAssociation> |
getAsnAssociations()
The BYOIP CIDR associations with ASNs.
|
String |
getCidr()
The address range, in CIDR notation.
|
String |
getDescription()
The description of the address range.
|
String |
getNetworkBorderGroup()
If you have Local Zones
enabled, you can choose a network border group for Local Zones when you provision and advertise a BYOIPv4 CIDR.
|
String |
getState()
The state of the address pool.
|
String |
getStatusMessage()
Upon success, contains the ID of the address pool.
|
int |
hashCode() |
void |
setAsnAssociations(Collection<AsnAssociation> asnAssociations)
The BYOIP CIDR associations with ASNs.
|
void |
setCidr(String cidr)
The address range, in CIDR notation.
|
void |
setDescription(String description)
The description of the address range.
|
void |
setNetworkBorderGroup(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.
|
void |
setState(String state)
The state of the address pool.
|
void |
setStatusMessage(String statusMessage)
Upon success, contains the ID of the address pool.
|
String |
toString()
Returns a string representation of this object.
|
ByoipCidr |
withAsnAssociations(AsnAssociation... asnAssociations)
The BYOIP CIDR associations with ASNs.
|
ByoipCidr |
withAsnAssociations(Collection<AsnAssociation> asnAssociations)
The BYOIP CIDR associations with ASNs.
|
ByoipCidr |
withCidr(String cidr)
The address range, in CIDR notation.
|
ByoipCidr |
withDescription(String description)
The description of the address range.
|
ByoipCidr |
withNetworkBorderGroup(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.
|
ByoipCidr |
withState(ByoipCidrState state)
The state of the address pool.
|
ByoipCidr |
withState(String state)
The state of the address pool.
|
ByoipCidr |
withStatusMessage(String statusMessage)
Upon success, contains the ID of the address pool.
|
public void setCidr(String cidr)
The address range, in CIDR notation.
cidr
- The address range, in CIDR notation.public String getCidr()
The address range, in CIDR notation.
public ByoipCidr withCidr(String cidr)
The address range, in CIDR notation.
cidr
- The address range, in CIDR notation.public void setDescription(String description)
The description of the address range.
description
- The description of the address range.public String getDescription()
The description of the address range.
public ByoipCidr withDescription(String description)
The description of the address range.
description
- The description of the address range.public List<AsnAssociation> getAsnAssociations()
The BYOIP CIDR associations with ASNs.
public void setAsnAssociations(Collection<AsnAssociation> asnAssociations)
The BYOIP CIDR associations with ASNs.
asnAssociations
- The BYOIP CIDR associations with ASNs.public ByoipCidr withAsnAssociations(AsnAssociation... asnAssociations)
The BYOIP CIDR associations with ASNs.
NOTE: This method appends the values to the existing list (if any). Use
setAsnAssociations(java.util.Collection)
or withAsnAssociations(java.util.Collection)
if you
want to override the existing values.
asnAssociations
- The BYOIP CIDR associations with ASNs.public ByoipCidr withAsnAssociations(Collection<AsnAssociation> asnAssociations)
The BYOIP CIDR associations with ASNs.
asnAssociations
- The BYOIP CIDR associations with ASNs.public void setStatusMessage(String statusMessage)
Upon success, contains the ID of the address pool. Otherwise, contains an error message.
statusMessage
- Upon success, contains the ID of the address pool. Otherwise, contains an error message.public String getStatusMessage()
Upon success, contains the ID of the address pool. Otherwise, contains an error message.
public ByoipCidr withStatusMessage(String statusMessage)
Upon success, contains the ID of the address pool. Otherwise, contains an error message.
statusMessage
- Upon success, contains the ID of the address pool. Otherwise, contains an error message.public void setState(String state)
The state of the address pool.
state
- The state of the address pool.ByoipCidrState
public String getState()
The state of the address pool.
ByoipCidrState
public ByoipCidr withState(String state)
The state of the address pool.
state
- The state of the address pool.ByoipCidrState
public ByoipCidr withState(ByoipCidrState state)
The state of the address pool.
state
- The state of the address pool.ByoipCidrState
public void setNetworkBorderGroup(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. 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.
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.
public String getNetworkBorderGroup()
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.
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.
public ByoipCidr withNetworkBorderGroup(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. 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.
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.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2024. All rights reserved.