Class NewPublicVirtualInterface

java.lang.Object
com.amazonaws.services.directconnect.model.NewPublicVirtualInterface
All Implemented Interfaces:
Serializable, Cloneable

public class NewPublicVirtualInterface extends Object implements Serializable, Cloneable

A structure containing information about a new public virtual interface.

See Also:
  • Constructor Details

    • NewPublicVirtualInterface

      public NewPublicVirtualInterface()
  • Method Details

    • setVirtualInterfaceName

      public void setVirtualInterfaceName(String virtualInterfaceName)
      Parameters:
      virtualInterfaceName -
    • getVirtualInterfaceName

      public String getVirtualInterfaceName()
      Returns:
    • withVirtualInterfaceName

      public NewPublicVirtualInterface withVirtualInterfaceName(String virtualInterfaceName)
      Parameters:
      virtualInterfaceName -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setVlan

      public void setVlan(Integer vlan)
      Parameters:
      vlan -
    • getVlan

      public Integer getVlan()
      Returns:
    • withVlan

      public NewPublicVirtualInterface withVlan(Integer vlan)
      Parameters:
      vlan -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setAsn

      public void setAsn(Integer asn)
      Parameters:
      asn -
    • getAsn

      public Integer getAsn()
      Returns:
    • withAsn

      public NewPublicVirtualInterface withAsn(Integer asn)
      Parameters:
      asn -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setAuthKey

      public void setAuthKey(String authKey)
      Parameters:
      authKey -
    • getAuthKey

      public String getAuthKey()
      Returns:
    • withAuthKey

      public NewPublicVirtualInterface withAuthKey(String authKey)
      Parameters:
      authKey -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setAmazonAddress

      public void setAmazonAddress(String amazonAddress)
      Parameters:
      amazonAddress -
    • getAmazonAddress

      public String getAmazonAddress()
      Returns:
    • withAmazonAddress

      public NewPublicVirtualInterface withAmazonAddress(String amazonAddress)
      Parameters:
      amazonAddress -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setCustomerAddress

      public void setCustomerAddress(String customerAddress)
      Parameters:
      customerAddress -
    • getCustomerAddress

      public String getCustomerAddress()
      Returns:
    • withCustomerAddress

      public NewPublicVirtualInterface withCustomerAddress(String customerAddress)
      Parameters:
      customerAddress -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getRouteFilterPrefixes

      public List<RouteFilterPrefix> getRouteFilterPrefixes()
      Returns:
    • setRouteFilterPrefixes

      public void setRouteFilterPrefixes(Collection<RouteFilterPrefix> routeFilterPrefixes)
      Parameters:
      routeFilterPrefixes -
    • withRouteFilterPrefixes

      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.

      Parameters:
      routeFilterPrefixes -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withRouteFilterPrefixes

      public NewPublicVirtualInterface withRouteFilterPrefixes(Collection<RouteFilterPrefix> routeFilterPrefixes)
      Parameters:
      routeFilterPrefixes -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public NewPublicVirtualInterface clone()
      Overrides:
      clone in class Object