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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConfigurationTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigurationTag
clone()
boolean
equals(Object obj)
String
getConfigurationId()
The configuration ID for the item you want to tag.String
getConfigurationType()
A type of IT asset that you want to tag.String
getKey()
A type of tag to filter on.Date
getTimeOfCreation()
The time the configuration tag was created in Coordinated Universal Time (UTC).String
getValue()
A value to filter on.int
hashCode()
void
setConfigurationId(String configurationId)
The configuration ID for the item you want to tag.void
setConfigurationType(ConfigurationItemType configurationType)
A type of IT asset that you want to tag.void
setConfigurationType(String configurationType)
A type of IT asset that you want to tag.void
setKey(String key)
A type of tag to filter on.void
setTimeOfCreation(Date timeOfCreation)
The time the configuration tag was created in Coordinated Universal Time (UTC).void
setValue(String value)
A value to filter on.String
toString()
Returns a string representation of this object; useful for testing and debugging.ConfigurationTag
withConfigurationId(String configurationId)
The configuration ID for the item you want to tag.ConfigurationTag
withConfigurationType(ConfigurationItemType configurationType)
A type of IT asset that you want to tag.ConfigurationTag
withConfigurationType(String configurationType)
A type of IT asset that you want to tag.ConfigurationTag
withKey(String key)
A type of tag to filter on.ConfigurationTag
withTimeOfCreation(Date timeOfCreation)
The time the configuration tag was created in Coordinated Universal Time (UTC).ConfigurationTag
withValue(String value)
A value to filter on.
-
-
-
Method Detail
-
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:
ConfigurationItemType
-
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:
ConfigurationItemType
-
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:
ConfigurationItemType
-
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:
ConfigurationItemType
-
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:
ConfigurationItemType
-
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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ConfigurationTag clone()
-
-