@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 |
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 |
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 |
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.ByoipCidrStatepublic String getState()
The state of the address pool.
ByoipCidrStatepublic ByoipCidr withState(String state)
The state of the address pool.
state - The state of the address pool.ByoipCidrStatepublic ByoipCidr withState(ByoipCidrState state)
The state of the address pool.
state - The state of the address pool.ByoipCidrStatepublic String toString()
toString in class ObjectObject.toString()Copyright © 2023. All rights reserved.