Class SecondaryInterfaceAttachment

    • Method Detail

      • attachmentId

        public final String attachmentId()

        The ID of the attachment.

        Returns:
        The ID of the attachment.
      • attachTime

        public final Instant attachTime()

        The timestamp when the attachment was created.

        Returns:
        The timestamp when the attachment was created.
      • deleteOnTermination

        public final Boolean deleteOnTermination()

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

        The only supported value for this field is true.

        Returns:
        Indicates whether the secondary interface is deleted when the instance is terminated.

        The only supported value for this field is true.

      • deviceIndex

        public final Integer deviceIndex()

        The device index of the secondary interface.

        Returns:
        The device index of the secondary interface.
      • instanceId

        public final String instanceId()

        The ID of the instance to which the secondary interface is attached.

        Returns:
        The ID of the instance to which the secondary interface is attached.
      • instanceOwnerId

        public final String instanceOwnerId()

        The Amazon Web Services account ID of the owner of the instance.

        Returns:
        The Amazon Web Services account ID of the owner of the instance.
      • networkCardIndex

        public final Integer networkCardIndex()

        The index of the network card.

        Returns:
        The index of the network card.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)