@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() |
| Modifier and Type | Method and Description |
|---|---|
NewBGPPeer |
clone() |
boolean |
equals(Object obj) |
String |
getAddressFamily() |
String |
getAmazonAddress() |
Integer |
getAsn() |
String |
getAuthKey() |
String |
getCustomerAddress() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAddressFamily(AddressFamily addressFamily) |
void |
setAddressFamily(String addressFamily) |
void |
setAmazonAddress(String amazonAddress) |
void |
setAsn(Integer asn) |
void |
setAuthKey(String authKey) |
void |
setCustomerAddress(String customerAddress) |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
NewBGPPeer |
withAddressFamily(AddressFamily addressFamily) |
NewBGPPeer |
withAddressFamily(String addressFamily) |
NewBGPPeer |
withAmazonAddress(String amazonAddress) |
NewBGPPeer |
withAsn(Integer asn) |
NewBGPPeer |
withAuthKey(String authKey) |
NewBGPPeer |
withCustomerAddress(String customerAddress) |
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)
marshall in interface StructuredPojoCopyright © 2017. All rights reserved.