@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NewBGPPeer extends Object implements Serializable, Cloneable, StructuredPojo
A structure containing information about a new BGP peer.
| Constructor and Description |
|---|
NewBGPPeer() |
public void setAsn(Integer asn)
asn - public Integer getAsn()
public NewBGPPeer withAsn(Integer asn)
asn - public void setAuthKey(String authKey)
authKey - public String getAuthKey()
public NewBGPPeer withAuthKey(String authKey)
authKey - public void setAddressFamily(String addressFamily)
addressFamily - AddressFamilypublic String getAddressFamily()
AddressFamilypublic NewBGPPeer withAddressFamily(String addressFamily)
addressFamily - AddressFamilypublic void setAddressFamily(AddressFamily addressFamily)
addressFamily - AddressFamilypublic NewBGPPeer withAddressFamily(AddressFamily addressFamily)
addressFamily - AddressFamilypublic void setAmazonAddress(String amazonAddress)
amazonAddress - public String getAmazonAddress()
public NewBGPPeer withAmazonAddress(String amazonAddress)
amazonAddress - public void setCustomerAddress(String customerAddress)
customerAddress - public String getCustomerAddress()
public NewBGPPeer withCustomerAddress(String customerAddress)
customerAddress - public String toString()
toString in class ObjectObject.toString()public NewBGPPeer clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.