@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NewPublicVirtualInterfaceAllocation extends Object implements Serializable, Cloneable, StructuredPojo
A structure containing information about a public virtual interface that will be provisioned on a connection.
Constructor and Description |
---|
NewPublicVirtualInterfaceAllocation() |
public void setVirtualInterfaceName(String virtualInterfaceName)
virtualInterfaceName
- public String getVirtualInterfaceName()
public NewPublicVirtualInterfaceAllocation withVirtualInterfaceName(String virtualInterfaceName)
virtualInterfaceName
- public void setVlan(Integer vlan)
vlan
- public Integer getVlan()
public NewPublicVirtualInterfaceAllocation withVlan(Integer vlan)
vlan
- public void setAsn(Integer asn)
asn
- public Integer getAsn()
public NewPublicVirtualInterfaceAllocation withAsn(Integer asn)
asn
- public void setAuthKey(String authKey)
authKey
- public String getAuthKey()
public NewPublicVirtualInterfaceAllocation withAuthKey(String authKey)
authKey
- public void setAmazonAddress(String amazonAddress)
amazonAddress
- public String getAmazonAddress()
public NewPublicVirtualInterfaceAllocation withAmazonAddress(String amazonAddress)
amazonAddress
- public void setCustomerAddress(String customerAddress)
customerAddress
- public String getCustomerAddress()
public NewPublicVirtualInterfaceAllocation withCustomerAddress(String customerAddress)
customerAddress
- public void setAddressFamily(String addressFamily)
addressFamily
- AddressFamily
public String getAddressFamily()
AddressFamily
public NewPublicVirtualInterfaceAllocation withAddressFamily(String addressFamily)
addressFamily
- AddressFamily
public void setAddressFamily(AddressFamily addressFamily)
addressFamily
- AddressFamily
public NewPublicVirtualInterfaceAllocation withAddressFamily(AddressFamily addressFamily)
addressFamily
- AddressFamily
public List<RouteFilterPrefix> getRouteFilterPrefixes()
public void setRouteFilterPrefixes(Collection<RouteFilterPrefix> routeFilterPrefixes)
routeFilterPrefixes
- public NewPublicVirtualInterfaceAllocation 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 NewPublicVirtualInterfaceAllocation withRouteFilterPrefixes(Collection<RouteFilterPrefix> routeFilterPrefixes)
routeFilterPrefixes
- public String toString()
toString
in class Object
Object.toString()
public NewPublicVirtualInterfaceAllocation 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.