public class NewPublicVirtualInterface
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
A structure containing information about a new public virtual interface.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
amazonAddress |
private java.lang.Integer |
asn |
private java.lang.String |
authKey |
private java.lang.String |
customerAddress |
private SdkInternalList<RouteFilterPrefix> |
routeFilterPrefixes |
private java.lang.String |
virtualInterfaceName |
private java.lang.Integer |
vlan |
Constructor and Description |
---|
NewPublicVirtualInterface() |
Modifier and Type | Method and Description |
---|---|
NewPublicVirtualInterface |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAmazonAddress() |
java.lang.Integer |
getAsn() |
java.lang.String |
getAuthKey() |
java.lang.String |
getCustomerAddress() |
java.util.List<RouteFilterPrefix> |
getRouteFilterPrefixes() |
java.lang.String |
getVirtualInterfaceName() |
java.lang.Integer |
getVlan() |
int |
hashCode() |
void |
setAmazonAddress(java.lang.String amazonAddress) |
void |
setAsn(java.lang.Integer asn) |
void |
setAuthKey(java.lang.String authKey) |
void |
setCustomerAddress(java.lang.String customerAddress) |
void |
setRouteFilterPrefixes(java.util.Collection<RouteFilterPrefix> routeFilterPrefixes) |
void |
setVirtualInterfaceName(java.lang.String virtualInterfaceName) |
void |
setVlan(java.lang.Integer vlan) |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
NewPublicVirtualInterface |
withAmazonAddress(java.lang.String amazonAddress) |
NewPublicVirtualInterface |
withAsn(java.lang.Integer asn) |
NewPublicVirtualInterface |
withAuthKey(java.lang.String authKey) |
NewPublicVirtualInterface |
withCustomerAddress(java.lang.String customerAddress) |
NewPublicVirtualInterface |
withRouteFilterPrefixes(java.util.Collection<RouteFilterPrefix> routeFilterPrefixes) |
NewPublicVirtualInterface |
withRouteFilterPrefixes(RouteFilterPrefix... routeFilterPrefixes)
NOTE: This method appends the values to the existing list (if
any).
|
NewPublicVirtualInterface |
withVirtualInterfaceName(java.lang.String virtualInterfaceName) |
NewPublicVirtualInterface |
withVlan(java.lang.Integer vlan) |
private java.lang.String virtualInterfaceName
private java.lang.Integer vlan
private java.lang.Integer asn
private java.lang.String authKey
private java.lang.String amazonAddress
private java.lang.String customerAddress
private SdkInternalList<RouteFilterPrefix> routeFilterPrefixes
public void setVirtualInterfaceName(java.lang.String virtualInterfaceName)
virtualInterfaceName
- public java.lang.String getVirtualInterfaceName()
public NewPublicVirtualInterface withVirtualInterfaceName(java.lang.String virtualInterfaceName)
virtualInterfaceName
- public void setVlan(java.lang.Integer vlan)
vlan
- public java.lang.Integer getVlan()
public NewPublicVirtualInterface withVlan(java.lang.Integer vlan)
vlan
- public void setAsn(java.lang.Integer asn)
asn
- public java.lang.Integer getAsn()
public NewPublicVirtualInterface withAsn(java.lang.Integer asn)
asn
- public void setAuthKey(java.lang.String authKey)
authKey
- public java.lang.String getAuthKey()
public NewPublicVirtualInterface withAuthKey(java.lang.String authKey)
authKey
- public void setAmazonAddress(java.lang.String amazonAddress)
amazonAddress
- public java.lang.String getAmazonAddress()
public NewPublicVirtualInterface withAmazonAddress(java.lang.String amazonAddress)
amazonAddress
- public void setCustomerAddress(java.lang.String customerAddress)
customerAddress
- public java.lang.String getCustomerAddress()
public NewPublicVirtualInterface withCustomerAddress(java.lang.String customerAddress)
customerAddress
- public java.util.List<RouteFilterPrefix> getRouteFilterPrefixes()
public void setRouteFilterPrefixes(java.util.Collection<RouteFilterPrefix> routeFilterPrefixes)
routeFilterPrefixes
- public NewPublicVirtualInterface withRouteFilterPrefixes(RouteFilterPrefix... routeFilterPrefixes)
NOTE: This method appends the values to the existing list (if
any). Use setRouteFilterPrefixes(java.util.Collection)
or
withRouteFilterPrefixes(java.util.Collection)
if you want to
override the existing values.
routeFilterPrefixes
- public NewPublicVirtualInterface withRouteFilterPrefixes(java.util.Collection<RouteFilterPrefix> routeFilterPrefixes)
routeFilterPrefixes
- public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public NewPublicVirtualInterface clone()
clone
in class java.lang.Object