@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BgpOptions extends Object implements Serializable, Cloneable, StructuredPojo
Describes the BGP options.
Constructor and Description |
---|
BgpOptions() |
Modifier and Type | Method and Description |
---|---|
BgpOptions |
clone() |
boolean |
equals(Object obj) |
Long |
getPeerAsn()
The Peer ASN of the BGP.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPeerAsn(Long peerAsn)
The Peer ASN of the BGP.
|
String |
toString()
Returns a string representation of this object.
|
BgpOptions |
withPeerAsn(Long peerAsn)
The Peer ASN of the BGP.
|
public void setPeerAsn(Long peerAsn)
The Peer ASN of the BGP.
peerAsn
- The Peer ASN of the BGP.public Long getPeerAsn()
The Peer ASN of the BGP.
public BgpOptions withPeerAsn(Long peerAsn)
The Peer ASN of the BGP.
peerAsn
- The Peer ASN of the BGP.public String toString()
toString
in class Object
Object.toString()
public BgpOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.