com.amazonaws.services.directconnect.model

## クラス NewPrivateVirtualInterface

- java.lang.Object
- - com.amazonaws.services.directconnect.model.NewPrivateVirtualInterface

- すべての実装されたインタフェース:
    java.io.Serializable

      public class NewPrivateVirtualInterface
      extends java.lang.Object
      implements java.io.Serializable

  A structure containing information about a new private virtual interface.

  関連項目:
    直列化された形式

- - ### コンストラクタの概要

    コンストラクタ
    コンストラクタと説明
    `NewPrivateVirtualInterface()`

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getAmazonAddress()` IP address assigned to the Amazon interface.
    `java.lang.Integer` | `getAsn()` Autonomous system (AS) number for Border Gateway Protocol (BGP) configuration Example: 65000
    `java.lang.String` | `getAuthKey()` Authentication key for BGP configuration Example: asdf34example
    `java.lang.String` | `getCustomerAddress()` Returns the value of the CustomerAddress property for this object.
    `java.lang.String` | `getVirtualGatewayId()` Virtual private gateway to a VPC.
    `java.lang.String` | `getVirtualInterfaceName()` The name of the virtual interface assigned by the customer Example: "Dev VPC"
    `java.lang.Integer` | `getVlan()` VLAN ID Example: 101
    `int` | `hashCode()`
    `void` | `setAmazonAddress(java.lang.String amazonAddress)` IP address assigned to the Amazon interface.
    `void` | `setAsn(java.lang.Integer asn)` Autonomous system (AS) number for Border Gateway Protocol (BGP) configuration Example: 65000
    `void` | `setAuthKey(java.lang.String authKey)` Authentication key for BGP configuration Example: asdf34example
    `void` | `setCustomerAddress(java.lang.String customerAddress)` Sets the value of the CustomerAddress property for this object.
    `void` | `setVirtualGatewayId(java.lang.String virtualGatewayId)` Virtual private gateway to a VPC.
    `void` | `setVirtualInterfaceName(java.lang.String virtualInterfaceName)` The name of the virtual interface assigned by the customer Example: "Dev VPC"
    `void` | `setVlan(java.lang.Integer vlan)` VLAN ID Example: 101
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `NewPrivateVirtualInterface` | `withAmazonAddress(java.lang.String amazonAddress)` IP address assigned to the Amazon interface.
    `NewPrivateVirtualInterface` | `withAsn(java.lang.Integer asn)` Autonomous system (AS) number for Border Gateway Protocol (BGP) configuration Example: 65000 Returns a reference to this object so that method calls can be chained together.
    `NewPrivateVirtualInterface` | `withAuthKey(java.lang.String authKey)` Authentication key for BGP configuration Example: asdf34example Returns a reference to this object so that method calls can be chained together.
    `NewPrivateVirtualInterface` | `withCustomerAddress(java.lang.String customerAddress)` Sets the value of the CustomerAddress property for this object.
    `NewPrivateVirtualInterface` | `withVirtualGatewayId(java.lang.String virtualGatewayId)` Virtual private gateway to a VPC.
    `NewPrivateVirtualInterface` | `withVirtualInterfaceName(java.lang.String virtualInterfaceName)` The name of the virtual interface assigned by the customer Example: "Dev VPC" Returns a reference to this object so that method calls can be chained together.
    `NewPrivateVirtualInterface` | `withVlan(java.lang.Integer vlan)` VLAN ID Example: 101 Returns a reference to this object so that method calls can be chained together.

    - ### クラスから継承されたメソッド java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### コンストラクタの詳細

    - #### NewPrivateVirtualInterface

          public NewPrivateVirtualInterface()

  - ### メソッドの詳細

    - #### getVirtualInterfaceName

          public java.lang.String getVirtualInterfaceName()

      The name of the virtual interface assigned by the customer

      Example: "Dev VPC"

      戻り値:
        The name of the virtual interface assigned by the customer

        Example: "Dev VPC"

    - #### setVirtualInterfaceName

          public void setVirtualInterfaceName(java.lang.String virtualInterfaceName)

      The name of the virtual interface assigned by the customer

      Example: "Dev VPC"

      パラメータ:
        `virtualInterfaceName` - The name of the virtual interface assigned by the customer

        Example: "Dev VPC"

    - #### withVirtualInterfaceName

          public NewPrivateVirtualInterface withVirtualInterfaceName(java.lang.String virtualInterfaceName)

      The name of the virtual interface assigned by the customer

      Example: "Dev VPC"

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `virtualInterfaceName` - The name of the virtual interface assigned by the customer

        Example: "Dev VPC"

    - #### getVlan

          public java.lang.Integer getVlan()

      VLAN ID

      Example: 101

      戻り値:
        VLAN ID

        Example: 101

    - #### setVlan

          public void setVlan(java.lang.Integer vlan)

      VLAN ID

      Example: 101

      パラメータ:
        `vlan` - VLAN ID

        Example: 101

    - #### withVlan

          public NewPrivateVirtualInterface withVlan(java.lang.Integer vlan)

      VLAN ID

      Example: 101

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `vlan` - VLAN ID

        Example: 101

    - #### getAsn

          public java.lang.Integer getAsn()

      Autonomous system (AS) number for Border Gateway Protocol (BGP) configuration

      Example: 65000

      戻り値:
        Autonomous system (AS) number for Border Gateway Protocol (BGP) configuration

        Example: 65000

    - #### setAsn

          public void setAsn(java.lang.Integer asn)

      Autonomous system (AS) number for Border Gateway Protocol (BGP) configuration

      Example: 65000

      パラメータ:
        `asn` - Autonomous system (AS) number for Border Gateway Protocol (BGP) configuration

        Example: 65000

    - #### withAsn

          public NewPrivateVirtualInterface withAsn(java.lang.Integer asn)

      Autonomous system (AS) number for Border Gateway Protocol (BGP) configuration

      Example: 65000

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `asn` - Autonomous system (AS) number for Border Gateway Protocol (BGP) configuration

        Example: 65000

    - #### getAuthKey

          public java.lang.String getAuthKey()

      Authentication key for BGP configuration

      Example: asdf34example

      戻り値:
        Authentication key for BGP configuration

        Example: asdf34example

    - #### setAuthKey

          public void setAuthKey(java.lang.String authKey)

      Authentication key for BGP configuration

      Example: asdf34example

      パラメータ:
        `authKey` - Authentication key for BGP configuration

        Example: asdf34example

    - #### withAuthKey

          public NewPrivateVirtualInterface withAuthKey(java.lang.String authKey)

      Authentication key for BGP configuration

      Example: asdf34example

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `authKey` - Authentication key for BGP configuration

        Example: asdf34example

    - #### getAmazonAddress

          public java.lang.String getAmazonAddress()

      IP address assigned to the Amazon interface.

      Example: 192.168.1.1

      戻り値:
        IP address assigned to the Amazon interface.

        Example: 192.168.1.1

    - #### setAmazonAddress

          public void setAmazonAddress(java.lang.String amazonAddress)

      IP address assigned to the Amazon interface.

      Example: 192.168.1.1

      パラメータ:
        `amazonAddress` - IP address assigned to the Amazon interface.

        Example: 192.168.1.1

    - #### withAmazonAddress

          public NewPrivateVirtualInterface withAmazonAddress(java.lang.String amazonAddress)

      IP address assigned to the Amazon interface.

      Example: 192.168.1.1

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `amazonAddress` - IP address assigned to the Amazon interface.

        Example: 192.168.1.1

    - #### getCustomerAddress

          public java.lang.String getCustomerAddress()

      Returns the value of the CustomerAddress property for this object.
      戻り値:
        The value of the CustomerAddress property for this object.

    - #### setCustomerAddress

          public void setCustomerAddress(java.lang.String customerAddress)

      Sets the value of the CustomerAddress property for this object.
      パラメータ:
        `customerAddress` - The new value for the CustomerAddress property for this object.

    - #### withCustomerAddress

          public NewPrivateVirtualInterface withCustomerAddress(java.lang.String customerAddress)

      Sets the value of the CustomerAddress property for this object.

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `customerAddress` - The new value for the CustomerAddress property for this object.

    - #### getVirtualGatewayId

          public java.lang.String getVirtualGatewayId()

      Virtual private gateway to a VPC.

      Example: vgw-123er56

      戻り値:
        Virtual private gateway to a VPC.

        Example: vgw-123er56

    - #### setVirtualGatewayId

          public void setVirtualGatewayId(java.lang.String virtualGatewayId)

      Virtual private gateway to a VPC.

      Example: vgw-123er56

      パラメータ:
        `virtualGatewayId` - Virtual private gateway to a VPC.

        Example: vgw-123er56

    - #### withVirtualGatewayId

          public NewPrivateVirtualInterface withVirtualGatewayId(java.lang.String virtualGatewayId)

      Virtual private gateway to a VPC.

      Example: vgw-123er56

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `virtualGatewayId` - Virtual private gateway to a VPC.

        Example: vgw-123er56

    - #### toString

          public java.lang.String toString()

      Returns a string representation of this object; useful for testing and debugging.
      オーバーライド:
        `toString` クラス内 `java.lang.Object`
      戻り値:
        A string representation of this object.
      関連項目:
        `Object.toString()`

    - #### hashCode

          public int hashCode()

      オーバーライド:
        `hashCode` クラス内 `java.lang.Object`

    - #### equals

          public boolean equals(java.lang.Object obj)

      オーバーライド:
        `equals` クラス内 `java.lang.Object`