com.amazonaws.services.ec2.model

## クラス NetworkInterface

- java.lang.Object
- - com.amazonaws.services.ec2.model.NetworkInterface

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

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

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `NetworkInterfaceAssociation` | `getAssociation()` Returns the value of the Association property for this object.
    `NetworkInterfaceAttachment` | `getAttachment()` Returns the value of the Attachment property for this object.
    `java.lang.String` | `getAvailabilityZone()` Returns the value of the AvailabilityZone property for this object.
    `java.lang.String` | `getDescription()` Returns the value of the Description property for this object.
    `java.util.List<GroupIdentifier>` | `getGroups()` Returns the value of the Groups property for this object.
    `java.lang.String` | `getMacAddress()` Returns the value of the MacAddress property for this object.
    `java.lang.String` | `getNetworkInterfaceId()` Returns the value of the NetworkInterfaceId property for this object.
    `java.lang.String` | `getOwnerId()` Returns the value of the OwnerId property for this object.
    `java.lang.String` | `getPrivateDnsName()` Returns the value of the PrivateDnsName property for this object.
    `java.lang.String` | `getPrivateIpAddress()` Returns the value of the PrivateIpAddress property for this object.
    `java.util.List<NetworkInterfacePrivateIpAddress>` | `getPrivateIpAddresses()` Returns the value of the PrivateIpAddresses property for this object.
    `java.lang.String` | `getRequesterId()` Returns the value of the RequesterId property for this object.
    `java.lang.Boolean` | `getRequesterManaged()` Returns the value of the RequesterManaged property for this object.
    `java.lang.Boolean` | `getSourceDestCheck()` Returns the value of the SourceDestCheck property for this object.
    `java.lang.String` | `getStatus()` Returns the value of the Status property for this object.
    `java.lang.String` | `getSubnetId()` Returns the value of the SubnetId property for this object.
    `java.util.List<Tag>` | `getTagSet()` Returns the value of the TagSet property for this object.
    `java.lang.String` | `getVpcId()` Returns the value of the VpcId property for this object.
    `int` | `hashCode()`
    `java.lang.Boolean` | `isRequesterManaged()` Returns the value of the RequesterManaged property for this object.
    `java.lang.Boolean` | `isSourceDestCheck()` Returns the value of the SourceDestCheck property for this object.
    `void` | `setAssociation(NetworkInterfaceAssociation association)` Sets the value of the Association property for this object.
    `void` | `setAttachment(NetworkInterfaceAttachment attachment)` Sets the value of the Attachment property for this object.
    `void` | `setAvailabilityZone(java.lang.String availabilityZone)` Sets the value of the AvailabilityZone property for this object.
    `void` | `setDescription(java.lang.String description)` Sets the value of the Description property for this object.
    `void` | `setGroups(java.util.Collection<GroupIdentifier> groups)` Sets the value of the Groups property for this object.
    `void` | `setMacAddress(java.lang.String macAddress)` Sets the value of the MacAddress property for this object.
    `void` | `setNetworkInterfaceId(java.lang.String networkInterfaceId)` Sets the value of the NetworkInterfaceId property for this object.
    `void` | `setOwnerId(java.lang.String ownerId)` Sets the value of the OwnerId property for this object.
    `void` | `setPrivateDnsName(java.lang.String privateDnsName)` Sets the value of the PrivateDnsName property for this object.
    `void` | `setPrivateIpAddress(java.lang.String privateIpAddress)` Sets the value of the PrivateIpAddress property for this object.
    `void` | `setPrivateIpAddresses(java.util.Collection<NetworkInterfacePrivateIpAddress> privateIpAddresses)` Sets the value of the PrivateIpAddresses property for this object.
    `void` | `setRequesterId(java.lang.String requesterId)` Sets the value of the RequesterId property for this object.
    `void` | `setRequesterManaged(java.lang.Boolean requesterManaged)` Sets the value of the RequesterManaged property for this object.
    `void` | `setSourceDestCheck(java.lang.Boolean sourceDestCheck)` Sets the value of the SourceDestCheck property for this object.
    `void` | `setStatus(java.lang.String status)` Sets the value of the Status property for this object.
    `void` | `setSubnetId(java.lang.String subnetId)` Sets the value of the SubnetId property for this object.
    `void` | `setTagSet(java.util.Collection<Tag> tagSet)` Sets the value of the TagSet property for this object.
    `void` | `setVpcId(java.lang.String vpcId)` Sets the value of the VpcId property for this object.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `NetworkInterface` | `withAssociation(NetworkInterfaceAssociation association)` Sets the value of the Association property for this object.
    `NetworkInterface` | `withAttachment(NetworkInterfaceAttachment attachment)` Sets the value of the Attachment property for this object.
    `NetworkInterface` | `withAvailabilityZone(java.lang.String availabilityZone)` Sets the value of the AvailabilityZone property for this object.
    `NetworkInterface` | `withDescription(java.lang.String description)` Sets the value of the Description property for this object.
    `NetworkInterface` | `withGroups(java.util.Collection<GroupIdentifier> groups)` Sets the value of the Groups property for this object.
    `NetworkInterface` | `withGroups(GroupIdentifier... groups)` Sets the value of the Groups property for this object.
    `NetworkInterface` | `withMacAddress(java.lang.String macAddress)` Sets the value of the MacAddress property for this object.
    `NetworkInterface` | `withNetworkInterfaceId(java.lang.String networkInterfaceId)` Sets the value of the NetworkInterfaceId property for this object.
    `NetworkInterface` | `withOwnerId(java.lang.String ownerId)` Sets the value of the OwnerId property for this object.
    `NetworkInterface` | `withPrivateDnsName(java.lang.String privateDnsName)` Sets the value of the PrivateDnsName property for this object.
    `NetworkInterface` | `withPrivateIpAddress(java.lang.String privateIpAddress)` Sets the value of the PrivateIpAddress property for this object.
    `NetworkInterface` | `withPrivateIpAddresses(java.util.Collection<NetworkInterfacePrivateIpAddress> privateIpAddresses)` Sets the value of the PrivateIpAddresses property for this object.
    `NetworkInterface` | `withPrivateIpAddresses(NetworkInterfacePrivateIpAddress... privateIpAddresses)` Sets the value of the PrivateIpAddresses property for this object.
    `NetworkInterface` | `withRequesterId(java.lang.String requesterId)` Sets the value of the RequesterId property for this object.
    `NetworkInterface` | `withRequesterManaged(java.lang.Boolean requesterManaged)` Sets the value of the RequesterManaged property for this object.
    `NetworkInterface` | `withSourceDestCheck(java.lang.Boolean sourceDestCheck)` Sets the value of the SourceDestCheck property for this object.
    `NetworkInterface` | `withStatus(java.lang.String status)` Sets the value of the Status property for this object.
    `NetworkInterface` | `withSubnetId(java.lang.String subnetId)` Sets the value of the SubnetId property for this object.
    `NetworkInterface` | `withTagSet(java.util.Collection<Tag> tagSet)` Sets the value of the TagSet property for this object.
    `NetworkInterface` | `withTagSet(Tag... tagSet)` Sets the value of the TagSet property for this object.
    `NetworkInterface` | `withVpcId(java.lang.String vpcId)` Sets the value of the VpcId property for this object.

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

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

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

    - #### NetworkInterface

          public NetworkInterface()

  - ### メソッドの詳細

    - #### getNetworkInterfaceId

          public java.lang.String getNetworkInterfaceId()

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

    - #### setNetworkInterfaceId

          public void setNetworkInterfaceId(java.lang.String networkInterfaceId)

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

    - #### withNetworkInterfaceId

          public NetworkInterface withNetworkInterfaceId(java.lang.String networkInterfaceId)

      Sets the value of the NetworkInterfaceId property for this object.

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

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

    - #### getSubnetId

          public java.lang.String getSubnetId()

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

    - #### setSubnetId

          public void setSubnetId(java.lang.String subnetId)

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

    - #### withSubnetId

          public NetworkInterface withSubnetId(java.lang.String subnetId)

      Sets the value of the SubnetId property for this object.

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

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

    - #### getVpcId

          public java.lang.String getVpcId()

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

    - #### setVpcId

          public void setVpcId(java.lang.String vpcId)

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

    - #### withVpcId

          public NetworkInterface withVpcId(java.lang.String vpcId)

      Sets the value of the VpcId property for this object.

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

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

    - #### getAvailabilityZone

          public java.lang.String getAvailabilityZone()

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

    - #### setAvailabilityZone

          public void setAvailabilityZone(java.lang.String availabilityZone)

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

    - #### withAvailabilityZone

          public NetworkInterface withAvailabilityZone(java.lang.String availabilityZone)

      Sets the value of the AvailabilityZone property for this object.

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

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

    - #### getDescription

          public java.lang.String getDescription()

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

    - #### setDescription

          public void setDescription(java.lang.String description)

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

    - #### withDescription

          public NetworkInterface withDescription(java.lang.String description)

      Sets the value of the Description property for this object.

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

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

    - #### getOwnerId

          public java.lang.String getOwnerId()

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

    - #### setOwnerId

          public void setOwnerId(java.lang.String ownerId)

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

    - #### withOwnerId

          public NetworkInterface withOwnerId(java.lang.String ownerId)

      Sets the value of the OwnerId property for this object.

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

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

    - #### getRequesterId

          public java.lang.String getRequesterId()

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

    - #### setRequesterId

          public void setRequesterId(java.lang.String requesterId)

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

    - #### withRequesterId

          public NetworkInterface withRequesterId(java.lang.String requesterId)

      Sets the value of the RequesterId property for this object.

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

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

    - #### isRequesterManaged

          public java.lang.Boolean isRequesterManaged()

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

    - #### setRequesterManaged

          public void setRequesterManaged(java.lang.Boolean requesterManaged)

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

    - #### withRequesterManaged

          public NetworkInterface withRequesterManaged(java.lang.Boolean requesterManaged)

      Sets the value of the RequesterManaged property for this object.

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

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

    - #### getRequesterManaged

          public java.lang.Boolean getRequesterManaged()

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

    - #### getStatus

          public java.lang.String getStatus()

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

    - #### setStatus

          public void setStatus(java.lang.String status)

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

    - #### withStatus

          public NetworkInterface withStatus(java.lang.String status)

      Sets the value of the Status property for this object.

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

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

    - #### getMacAddress

          public java.lang.String getMacAddress()

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

    - #### setMacAddress

          public void setMacAddress(java.lang.String macAddress)

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

    - #### withMacAddress

          public NetworkInterface withMacAddress(java.lang.String macAddress)

      Sets the value of the MacAddress property for this object.

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

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

    - #### getPrivateIpAddress

          public java.lang.String getPrivateIpAddress()

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

    - #### setPrivateIpAddress

          public void setPrivateIpAddress(java.lang.String privateIpAddress)

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

    - #### withPrivateIpAddress

          public NetworkInterface withPrivateIpAddress(java.lang.String privateIpAddress)

      Sets the value of the PrivateIpAddress property for this object.

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

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

    - #### getPrivateDnsName

          public java.lang.String getPrivateDnsName()

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

    - #### setPrivateDnsName

          public void setPrivateDnsName(java.lang.String privateDnsName)

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

    - #### withPrivateDnsName

          public NetworkInterface withPrivateDnsName(java.lang.String privateDnsName)

      Sets the value of the PrivateDnsName property for this object.

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

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

    - #### isSourceDestCheck

          public java.lang.Boolean isSourceDestCheck()

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

    - #### setSourceDestCheck

          public void setSourceDestCheck(java.lang.Boolean sourceDestCheck)

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

    - #### withSourceDestCheck

          public NetworkInterface withSourceDestCheck(java.lang.Boolean sourceDestCheck)

      Sets the value of the SourceDestCheck property for this object.

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

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

    - #### getSourceDestCheck

          public java.lang.Boolean getSourceDestCheck()

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

    - #### getGroups

          public java.util.List<GroupIdentifier> getGroups()

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

    - #### setGroups

          public void setGroups(java.util.Collection<GroupIdentifier> groups)

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

    - #### withGroups

          public NetworkInterface withGroups(GroupIdentifier... groups)

      Sets the value of the Groups property for this object.

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

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

    - #### withGroups

          public NetworkInterface withGroups(java.util.Collection<GroupIdentifier> groups)

      Sets the value of the Groups property for this object.

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

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

    - #### getAttachment

          public NetworkInterfaceAttachment getAttachment()

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

    - #### setAttachment

          public void setAttachment(NetworkInterfaceAttachment attachment)

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

    - #### withAttachment

          public NetworkInterface withAttachment(NetworkInterfaceAttachment attachment)

      Sets the value of the Attachment property for this object.

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

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

    - #### getAssociation

          public NetworkInterfaceAssociation getAssociation()

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

    - #### setAssociation

          public void setAssociation(NetworkInterfaceAssociation association)

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

    - #### withAssociation

          public NetworkInterface withAssociation(NetworkInterfaceAssociation association)

      Sets the value of the Association property for this object.

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

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

    - #### getTagSet

          public java.util.List<Tag> getTagSet()

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

    - #### setTagSet

          public void setTagSet(java.util.Collection<Tag> tagSet)

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

    - #### withTagSet

          public NetworkInterface withTagSet(Tag... tagSet)

      Sets the value of the TagSet property for this object.

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

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

    - #### withTagSet

          public NetworkInterface withTagSet(java.util.Collection<Tag> tagSet)

      Sets the value of the TagSet property for this object.

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

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

    - #### getPrivateIpAddresses

          public java.util.List<NetworkInterfacePrivateIpAddress> getPrivateIpAddresses()

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

    - #### setPrivateIpAddresses

          public void setPrivateIpAddresses(java.util.Collection<NetworkInterfacePrivateIpAddress> privateIpAddresses)

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

    - #### withPrivateIpAddresses

          public NetworkInterface withPrivateIpAddresses(NetworkInterfacePrivateIpAddress... privateIpAddresses)

      Sets the value of the PrivateIpAddresses property for this object.

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

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

    - #### withPrivateIpAddresses

          public NetworkInterface withPrivateIpAddresses(java.util.Collection<NetworkInterfacePrivateIpAddress> privateIpAddresses)

      Sets the value of the PrivateIpAddresses property for this object.

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

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

    - #### 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`