@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
- AddressFamily
public String getAddressFamily()
AddressFamily
public NewBGPPeer withAddressFamily(String addressFamily)
addressFamily
- AddressFamily
public void setAddressFamily(AddressFamily addressFamily)
addressFamily
- AddressFamily
public NewBGPPeer withAddressFamily(AddressFamily addressFamily)
addressFamily
- AddressFamily
public 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 Object
Object.toString()
public NewBGPPeer clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.