Class InstanceNetworkInterface

    • Constructor Detail

      • InstanceNetworkInterface

        public InstanceNetworkInterface()
    • Method Detail

      • setNetworkInterfaceId

        public void setNetworkInterfaceId​(String networkInterfaceId)

        The ID of the network interface.

        Parameters:
        networkInterfaceId - The ID of the network interface.
      • getNetworkInterfaceId

        public String getNetworkInterfaceId()

        The ID of the network interface.

        Returns:
        The ID of the network interface.
      • withNetworkInterfaceId

        public InstanceNetworkInterface withNetworkInterfaceId​(String networkInterfaceId)

        The ID of the network interface.

        Parameters:
        networkInterfaceId - The ID of the network interface.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSubnetId

        public void setSubnetId​(String subnetId)

        The ID of the subnet.

        Parameters:
        subnetId - The ID of the subnet.
      • getSubnetId

        public String getSubnetId()

        The ID of the subnet.

        Returns:
        The ID of the subnet.
      • withSubnetId

        public InstanceNetworkInterface withSubnetId​(String subnetId)

        The ID of the subnet.

        Parameters:
        subnetId - The ID of the subnet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setVpcId

        public void setVpcId​(String vpcId)

        The ID of the VPC.

        Parameters:
        vpcId - The ID of the VPC.
      • getVpcId

        public String getVpcId()

        The ID of the VPC.

        Returns:
        The ID of the VPC.
      • withVpcId

        public InstanceNetworkInterface withVpcId​(String vpcId)

        The ID of the VPC.

        Parameters:
        vpcId - The ID of the VPC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDescription

        public void setDescription​(String description)

        The description.

        Parameters:
        description - The description.
      • getDescription

        public String getDescription()

        The description.

        Returns:
        The description.
      • withDescription

        public InstanceNetworkInterface withDescription​(String description)

        The description.

        Parameters:
        description - The description.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setOwnerId

        public void setOwnerId​(String ownerId)

        The ID of the AWS account that created the network interface.

        Parameters:
        ownerId - The ID of the AWS account that created the network interface.
      • getOwnerId

        public String getOwnerId()

        The ID of the AWS account that created the network interface.

        Returns:
        The ID of the AWS account that created the network interface.
      • withOwnerId

        public InstanceNetworkInterface withOwnerId​(String ownerId)

        The ID of the AWS account that created the network interface.

        Parameters:
        ownerId - The ID of the AWS account that created the network interface.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setStatus

        public void setStatus​(String status)

        The status of the network interface.

        Parameters:
        status - The status of the network interface.
        See Also:
        NetworkInterfaceStatus
      • getStatus

        public String getStatus()

        The status of the network interface.

        Returns:
        The status of the network interface.
        See Also:
        NetworkInterfaceStatus
      • withStatus

        public InstanceNetworkInterface withStatus​(String status)

        The status of the network interface.

        Parameters:
        status - The status of the network interface.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        NetworkInterfaceStatus
      • setMacAddress

        public void setMacAddress​(String macAddress)

        The MAC address.

        Parameters:
        macAddress - The MAC address.
      • getMacAddress

        public String getMacAddress()

        The MAC address.

        Returns:
        The MAC address.
      • withMacAddress

        public InstanceNetworkInterface withMacAddress​(String macAddress)

        The MAC address.

        Parameters:
        macAddress - The MAC address.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setPrivateIpAddress

        public void setPrivateIpAddress​(String privateIpAddress)

        The IP address of the network interface within the subnet.

        Parameters:
        privateIpAddress - The IP address of the network interface within the subnet.
      • getPrivateIpAddress

        public String getPrivateIpAddress()

        The IP address of the network interface within the subnet.

        Returns:
        The IP address of the network interface within the subnet.
      • withPrivateIpAddress

        public InstanceNetworkInterface withPrivateIpAddress​(String privateIpAddress)

        The IP address of the network interface within the subnet.

        Parameters:
        privateIpAddress - The IP address of the network interface within the subnet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setPrivateDnsName

        public void setPrivateDnsName​(String privateDnsName)

        The private DNS name.

        Parameters:
        privateDnsName - The private DNS name.
      • getPrivateDnsName

        public String getPrivateDnsName()

        The private DNS name.

        Returns:
        The private DNS name.
      • withPrivateDnsName

        public InstanceNetworkInterface withPrivateDnsName​(String privateDnsName)

        The private DNS name.

        Parameters:
        privateDnsName - The private DNS name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSourceDestCheck

        public void setSourceDestCheck​(Boolean sourceDestCheck)

        Indicates whether to validate network traffic to or from this network interface.

        Parameters:
        sourceDestCheck - Indicates whether to validate network traffic to or from this network interface.
      • getSourceDestCheck

        public Boolean getSourceDestCheck()

        Indicates whether to validate network traffic to or from this network interface.

        Returns:
        Indicates whether to validate network traffic to or from this network interface.
      • withSourceDestCheck

        public InstanceNetworkInterface withSourceDestCheck​(Boolean sourceDestCheck)

        Indicates whether to validate network traffic to or from this network interface.

        Parameters:
        sourceDestCheck - Indicates whether to validate network traffic to or from this network interface.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isSourceDestCheck

        public Boolean isSourceDestCheck()

        Indicates whether to validate network traffic to or from this network interface.

        Returns:
        Indicates whether to validate network traffic to or from this network interface.
      • getGroups

        public List<GroupIdentifier> getGroups()

        One or more security groups.

        Returns:
        One or more security groups.
      • setGroups

        public void setGroups​(Collection<GroupIdentifier> groups)

        One or more security groups.

        Parameters:
        groups - One or more security groups.
      • withGroups

        public InstanceNetworkInterface withGroups​(Collection<GroupIdentifier> groups)

        One or more security groups.

        Parameters:
        groups - One or more security groups.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setAttachment

        public void setAttachment​(InstanceNetworkInterfaceAttachment attachment)

        The network interface attachment.

        Parameters:
        attachment - The network interface attachment.
      • withAttachment

        public InstanceNetworkInterface withAttachment​(InstanceNetworkInterfaceAttachment attachment)

        The network interface attachment.

        Parameters:
        attachment - The network interface attachment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setAssociation

        public void setAssociation​(InstanceNetworkInterfaceAssociation association)

        The association information for an Elastic IP associated with the network interface.

        Parameters:
        association - The association information for an Elastic IP associated with the network interface.
      • getAssociation

        public InstanceNetworkInterfaceAssociation getAssociation()

        The association information for an Elastic IP associated with the network interface.

        Returns:
        The association information for an Elastic IP associated with the network interface.
      • withAssociation

        public InstanceNetworkInterface withAssociation​(InstanceNetworkInterfaceAssociation association)

        The association information for an Elastic IP associated with the network interface.

        Parameters:
        association - The association information for an Elastic IP associated with the network interface.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getPrivateIpAddresses

        public List<InstancePrivateIpAddress> getPrivateIpAddresses()

        The private IP addresses associated with the network interface.

        Returns:
        The private IP addresses associated with the network interface.
      • setPrivateIpAddresses

        public void setPrivateIpAddresses​(Collection<InstancePrivateIpAddress> privateIpAddresses)

        The private IP addresses associated with the network interface.

        Parameters:
        privateIpAddresses - The private IP addresses associated with the network interface.
      • withPrivateIpAddresses

        public InstanceNetworkInterface withPrivateIpAddresses​(Collection<InstancePrivateIpAddress> privateIpAddresses)

        The private IP addresses associated with the network interface.

        Parameters:
        privateIpAddresses - The private IP addresses associated with the network interface.
        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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object