Class EC2TagFilter

    • Constructor Detail

      • EC2TagFilter

        public EC2TagFilter()
    • Method Detail

      • setKey

        public void setKey​(String key)

        The tag filter key.

        Parameters:
        key - The tag filter key.
      • getKey

        public String getKey()

        The tag filter key.

        Returns:
        The tag filter key.
      • withKey

        public EC2TagFilter withKey​(String key)

        The tag filter key.

        Parameters:
        key - The tag filter key.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setValue

        public void setValue​(String value)

        The tag filter value.

        Parameters:
        value - The tag filter value.
      • getValue

        public String getValue()

        The tag filter value.

        Returns:
        The tag filter value.
      • withValue

        public EC2TagFilter withValue​(String value)

        The tag filter value.

        Parameters:
        value - The tag filter value.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setType

        public void setType​(String type)

        The tag filter type:

        • KEY_ONLY: Key only.
        • VALUE_ONLY: Value only.
        • KEY_AND_VALUE: Key and value.
        Parameters:
        type - The tag filter type:

        • KEY_ONLY: Key only.
        • VALUE_ONLY: Value only.
        • KEY_AND_VALUE: Key and value.
        See Also:
        EC2TagFilterType
      • getType

        public String getType()

        The tag filter type:

        • KEY_ONLY: Key only.
        • VALUE_ONLY: Value only.
        • KEY_AND_VALUE: Key and value.
        Returns:
        The tag filter type:

        • KEY_ONLY: Key only.
        • VALUE_ONLY: Value only.
        • KEY_AND_VALUE: Key and value.
        See Also:
        EC2TagFilterType
      • withType

        public EC2TagFilter withType​(String type)

        The tag filter type:

        • KEY_ONLY: Key only.
        • VALUE_ONLY: Value only.
        • KEY_AND_VALUE: Key and value.
        Parameters:
        type - The tag filter type:

        • KEY_ONLY: Key only.
        • VALUE_ONLY: Value only.
        • KEY_AND_VALUE: Key and value.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        EC2TagFilterType
      • setType

        public void setType​(EC2TagFilterType type)

        The tag filter type:

        • KEY_ONLY: Key only.
        • VALUE_ONLY: Value only.
        • KEY_AND_VALUE: Key and value.
        Parameters:
        type - The tag filter type:

        • KEY_ONLY: Key only.
        • VALUE_ONLY: Value only.
        • KEY_AND_VALUE: Key and value.
        See Also:
        EC2TagFilterType
      • withType

        public EC2TagFilter withType​(EC2TagFilterType type)

        The tag filter type:

        • KEY_ONLY: Key only.
        • VALUE_ONLY: Value only.
        • KEY_AND_VALUE: Key and value.
        Parameters:
        type - The tag filter type:

        • KEY_ONLY: Key only.
        • VALUE_ONLY: Value only.
        • KEY_AND_VALUE: Key and value.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        EC2TagFilterType
      • 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