Class ConfigurationTag

java.lang.Object
com.amazonaws.services.applicationdiscovery.model.ConfigurationTag
All Implemented Interfaces:
Serializable, Cloneable

public class ConfigurationTag extends Object implements Serializable, Cloneable

Tags for a configuration item. Tags are metadata that help you categorize IT assets.

See Also:
  • Constructor Details

    • ConfigurationTag

      public ConfigurationTag()
  • Method Details

    • setConfigurationType

      public void setConfigurationType(String configurationType)

      A type of IT asset that you want to tag.

      Parameters:
      configurationType - A type of IT asset that you want to tag.
      See Also:
    • getConfigurationType

      public String getConfigurationType()

      A type of IT asset that you want to tag.

      Returns:
      A type of IT asset that you want to tag.
      See Also:
    • withConfigurationType

      public ConfigurationTag withConfigurationType(String configurationType)

      A type of IT asset that you want to tag.

      Parameters:
      configurationType - A type of IT asset that you want to tag.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setConfigurationType

      public void setConfigurationType(ConfigurationItemType configurationType)

      A type of IT asset that you want to tag.

      Parameters:
      configurationType - A type of IT asset that you want to tag.
      See Also:
    • withConfigurationType

      public ConfigurationTag withConfigurationType(ConfigurationItemType configurationType)

      A type of IT asset that you want to tag.

      Parameters:
      configurationType - A type of IT asset that you want to tag.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setConfigurationId

      public void setConfigurationId(String configurationId)

      The configuration ID for the item you want to tag. You can specify a list of keys and values.

      Parameters:
      configurationId - The configuration ID for the item you want to tag. You can specify a list of keys and values.
    • getConfigurationId

      public String getConfigurationId()

      The configuration ID for the item you want to tag. You can specify a list of keys and values.

      Returns:
      The configuration ID for the item you want to tag. You can specify a list of keys and values.
    • withConfigurationId

      public ConfigurationTag withConfigurationId(String configurationId)

      The configuration ID for the item you want to tag. You can specify a list of keys and values.

      Parameters:
      configurationId - The configuration ID for the item you want to tag. You can specify a list of keys and values.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setKey

      public void setKey(String key)

      A type of tag to filter on. For example, serverType.

      Parameters:
      key - A type of tag to filter on. For example, serverType.
    • getKey

      public String getKey()

      A type of tag to filter on. For example, serverType.

      Returns:
      A type of tag to filter on. For example, serverType.
    • withKey

      public ConfigurationTag withKey(String key)

      A type of tag to filter on. For example, serverType.

      Parameters:
      key - A type of tag to filter on. For example, serverType.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setValue

      public void setValue(String value)

      A value to filter on. For example key = serverType and value = web server.

      Parameters:
      value - A value to filter on. For example key = serverType and value = web server.
    • getValue

      public String getValue()

      A value to filter on. For example key = serverType and value = web server.

      Returns:
      A value to filter on. For example key = serverType and value = web server.
    • withValue

      public ConfigurationTag withValue(String value)

      A value to filter on. For example key = serverType and value = web server.

      Parameters:
      value - A value to filter on. For example key = serverType and value = web server.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setTimeOfCreation

      public void setTimeOfCreation(Date timeOfCreation)

      The time the configuration tag was created in Coordinated Universal Time (UTC).

      Parameters:
      timeOfCreation - The time the configuration tag was created in Coordinated Universal Time (UTC).
    • getTimeOfCreation

      public Date getTimeOfCreation()

      The time the configuration tag was created in Coordinated Universal Time (UTC).

      Returns:
      The time the configuration tag was created in Coordinated Universal Time (UTC).
    • withTimeOfCreation

      public ConfigurationTag withTimeOfCreation(Date timeOfCreation)

      The time the configuration tag was created in Coordinated Universal Time (UTC).

      Parameters:
      timeOfCreation - The time the configuration tag was created in Coordinated Universal Time (UTC).
      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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public ConfigurationTag clone()
      Overrides:
      clone in class Object