@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NewBGPPeer extends Object implements Serializable, Cloneable
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 |
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
- 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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.