Class InternetGateway

    • Constructor Detail

      • InternetGateway

        public InternetGateway()
    • Method Detail

      • setInternetGatewayId

        public void setInternetGatewayId​(String internetGatewayId)

        The ID of the Internet gateway.

        Parameters:
        internetGatewayId - The ID of the Internet gateway.
      • getInternetGatewayId

        public String getInternetGatewayId()

        The ID of the Internet gateway.

        Returns:
        The ID of the Internet gateway.
      • withInternetGatewayId

        public InternetGateway withInternetGatewayId​(String internetGatewayId)

        The ID of the Internet gateway.

        Parameters:
        internetGatewayId - The ID of the Internet gateway.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getAttachments

        public List<InternetGatewayAttachment> getAttachments()

        Any VPCs attached to the Internet gateway.

        Returns:
        Any VPCs attached to the Internet gateway.
      • setAttachments

        public void setAttachments​(Collection<InternetGatewayAttachment> attachments)

        Any VPCs attached to the Internet gateway.

        Parameters:
        attachments - Any VPCs attached to the Internet gateway.
      • withAttachments

        public InternetGateway withAttachments​(Collection<InternetGatewayAttachment> attachments)

        Any VPCs attached to the Internet gateway.

        Parameters:
        attachments - Any VPCs attached to the Internet gateway.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getTags

        public List<Tag> getTags()

        Any tags assigned to the Internet gateway.

        Returns:
        Any tags assigned to the Internet gateway.
      • setTags

        public void setTags​(Collection<Tag> tags)

        Any tags assigned to the Internet gateway.

        Parameters:
        tags - Any tags assigned to the Internet gateway.
      • withTags

        public InternetGateway withTags​(Tag... tags)

        Any tags assigned to the Internet gateway.

        NOTE: This method appends the values to the existing list (if any). Use setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the existing values.

        Parameters:
        tags - Any tags assigned to the Internet gateway.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withTags

        public InternetGateway withTags​(Collection<Tag> tags)

        Any tags assigned to the Internet gateway.

        Parameters:
        tags - Any tags assigned to the Internet gateway.
        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