@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Byoasn extends Object implements Serializable, Cloneable
The Autonomous System Number (ASN) and BYOIP CIDR association.
Constructor and Description |
---|
Byoasn() |
Modifier and Type | Method and Description |
---|---|
Byoasn |
clone() |
boolean |
equals(Object obj) |
String |
getAsn()
A public 2-byte or 4-byte ASN.
|
String |
getIpamId()
An IPAM ID.
|
String |
getState()
The provisioning state of the BYOASN.
|
String |
getStatusMessage()
The status message.
|
int |
hashCode() |
void |
setAsn(String asn)
A public 2-byte or 4-byte ASN.
|
void |
setIpamId(String ipamId)
An IPAM ID.
|
void |
setState(String state)
The provisioning state of the BYOASN.
|
void |
setStatusMessage(String statusMessage)
The status message.
|
String |
toString()
Returns a string representation of this object.
|
Byoasn |
withAsn(String asn)
A public 2-byte or 4-byte ASN.
|
Byoasn |
withIpamId(String ipamId)
An IPAM ID.
|
Byoasn |
withState(AsnState state)
The provisioning state of the BYOASN.
|
Byoasn |
withState(String state)
The provisioning state of the BYOASN.
|
Byoasn |
withStatusMessage(String statusMessage)
The status message.
|
public void setAsn(String asn)
A public 2-byte or 4-byte ASN.
asn
- A public 2-byte or 4-byte ASN.public String getAsn()
A public 2-byte or 4-byte ASN.
public Byoasn withAsn(String asn)
A public 2-byte or 4-byte ASN.
asn
- A public 2-byte or 4-byte ASN.public void setIpamId(String ipamId)
An IPAM ID.
ipamId
- An IPAM ID.public String getIpamId()
An IPAM ID.
public Byoasn withIpamId(String ipamId)
An IPAM ID.
ipamId
- An IPAM ID.public void setStatusMessage(String statusMessage)
The status message.
statusMessage
- The status message.public String getStatusMessage()
The status message.
public Byoasn withStatusMessage(String statusMessage)
The status message.
statusMessage
- The status message.public void setState(String state)
The provisioning state of the BYOASN.
state
- The provisioning state of the BYOASN.AsnState
public String getState()
The provisioning state of the BYOASN.
AsnState
public Byoasn withState(String state)
The provisioning state of the BYOASN.
state
- The provisioning state of the BYOASN.AsnState
public Byoasn withState(AsnState state)
The provisioning state of the BYOASN.
state
- The provisioning state of the BYOASN.AsnState
public String toString()
toString
in class Object
Object.toString()