Class NetworkInterfaceAttachment

    • Constructor Detail

      • NetworkInterfaceAttachment

        public NetworkInterfaceAttachment()
    • Method Detail

      • setAttachmentId

        public void setAttachmentId​(String attachmentId)

        The ID of the network interface attachment.

        Parameters:
        attachmentId - The ID of the network interface attachment.
      • getAttachmentId

        public String getAttachmentId()

        The ID of the network interface attachment.

        Returns:
        The ID of the network interface attachment.
      • withAttachmentId

        public NetworkInterfaceAttachment withAttachmentId​(String attachmentId)

        The ID of the network interface attachment.

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

        public void setInstanceId​(String instanceId)

        The ID of the instance.

        Parameters:
        instanceId - The ID of the instance.
      • getInstanceId

        public String getInstanceId()

        The ID of the instance.

        Returns:
        The ID of the instance.
      • withInstanceId

        public NetworkInterfaceAttachment withInstanceId​(String instanceId)

        The ID of the instance.

        Parameters:
        instanceId - The ID of the instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setInstanceOwnerId

        public void setInstanceOwnerId​(String instanceOwnerId)

        The AWS account ID of the owner of the instance.

        Parameters:
        instanceOwnerId - The AWS account ID of the owner of the instance.
      • getInstanceOwnerId

        public String getInstanceOwnerId()

        The AWS account ID of the owner of the instance.

        Returns:
        The AWS account ID of the owner of the instance.
      • withInstanceOwnerId

        public NetworkInterfaceAttachment withInstanceOwnerId​(String instanceOwnerId)

        The AWS account ID of the owner of the instance.

        Parameters:
        instanceOwnerId - The AWS account ID of the owner of the instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDeviceIndex

        public void setDeviceIndex​(Integer deviceIndex)

        The device index of the network interface attachment on the instance.

        Parameters:
        deviceIndex - The device index of the network interface attachment on the instance.
      • getDeviceIndex

        public Integer getDeviceIndex()

        The device index of the network interface attachment on the instance.

        Returns:
        The device index of the network interface attachment on the instance.
      • withDeviceIndex

        public NetworkInterfaceAttachment withDeviceIndex​(Integer deviceIndex)

        The device index of the network interface attachment on the instance.

        Parameters:
        deviceIndex - The device index of the network interface attachment on the instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setStatus

        public void setStatus​(String status)

        The attachment state.

        Parameters:
        status - The attachment state.
        See Also:
        AttachmentStatus
      • getStatus

        public String getStatus()

        The attachment state.

        Returns:
        The attachment state.
        See Also:
        AttachmentStatus
      • withStatus

        public NetworkInterfaceAttachment withStatus​(String status)

        The attachment state.

        Parameters:
        status - The attachment state.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AttachmentStatus
      • setAttachTime

        public void setAttachTime​(Date attachTime)

        The timestamp indicating when the attachment initiated.

        Parameters:
        attachTime - The timestamp indicating when the attachment initiated.
      • getAttachTime

        public Date getAttachTime()

        The timestamp indicating when the attachment initiated.

        Returns:
        The timestamp indicating when the attachment initiated.
      • withAttachTime

        public NetworkInterfaceAttachment withAttachTime​(Date attachTime)

        The timestamp indicating when the attachment initiated.

        Parameters:
        attachTime - The timestamp indicating when the attachment initiated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDeleteOnTermination

        public void setDeleteOnTermination​(Boolean deleteOnTermination)

        Indicates whether the network interface is deleted when the instance is terminated.

        Parameters:
        deleteOnTermination - Indicates whether the network interface is deleted when the instance is terminated.
      • getDeleteOnTermination

        public Boolean getDeleteOnTermination()

        Indicates whether the network interface is deleted when the instance is terminated.

        Returns:
        Indicates whether the network interface is deleted when the instance is terminated.
      • withDeleteOnTermination

        public NetworkInterfaceAttachment withDeleteOnTermination​(Boolean deleteOnTermination)

        Indicates whether the network interface is deleted when the instance is terminated.

        Parameters:
        deleteOnTermination - Indicates whether the network interface is deleted when the instance is terminated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isDeleteOnTermination

        public Boolean isDeleteOnTermination()

        Indicates whether the network interface is deleted when the instance is terminated.

        Returns:
        Indicates whether the network interface is deleted when the instance is terminated.
      • 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