public class ConfigurationTag
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Tags for a configuration item. Tags are metadata that help you categorize IT assets.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
configurationId
The configuration ID for the item you want to tag.
|
private java.lang.String |
configurationType
A type of IT asset that you want to tag.
|
private java.lang.String |
key
A type of tag to filter on.
|
private java.util.Date |
timeOfCreation
The time the configuration tag was created in Coordinated Universal Time
(UTC).
|
private java.lang.String |
value
A value to filter on.
|
Constructor and Description |
---|
ConfigurationTag() |
Modifier and Type | Method and Description |
---|---|
ConfigurationTag |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getConfigurationId()
The configuration ID for the item you want to tag.
|
java.lang.String |
getConfigurationType()
A type of IT asset that you want to tag.
|
java.lang.String |
getKey()
A type of tag to filter on.
|
java.util.Date |
getTimeOfCreation()
The time the configuration tag was created in Coordinated Universal Time
(UTC).
|
java.lang.String |
getValue()
A value to filter on.
|
int |
hashCode() |
void |
setConfigurationId(java.lang.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(java.lang.String configurationType)
A type of IT asset that you want to tag.
|
void |
setKey(java.lang.String key)
A type of tag to filter on.
|
void |
setTimeOfCreation(java.util.Date timeOfCreation)
The time the configuration tag was created in Coordinated Universal Time
(UTC).
|
void |
setValue(java.lang.String value)
A value to filter on.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ConfigurationTag |
withConfigurationId(java.lang.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(java.lang.String configurationType)
A type of IT asset that you want to tag.
|
ConfigurationTag |
withKey(java.lang.String key)
A type of tag to filter on.
|
ConfigurationTag |
withTimeOfCreation(java.util.Date timeOfCreation)
The time the configuration tag was created in Coordinated Universal Time
(UTC).
|
ConfigurationTag |
withValue(java.lang.String value)
A value to filter on.
|
private java.lang.String configurationType
A type of IT asset that you want to tag.
private java.lang.String configurationId
The configuration ID for the item you want to tag. You can specify a list of keys and values.
private java.lang.String key
A type of tag to filter on. For example, serverType.
private java.lang.String value
A value to filter on. For example key = serverType and value = web server.
private java.util.Date timeOfCreation
The time the configuration tag was created in Coordinated Universal Time (UTC).
public void setConfigurationType(java.lang.String configurationType)
A type of IT asset that you want to tag.
configurationType
- A type of IT asset that you want to tag.ConfigurationItemType
public java.lang.String getConfigurationType()
A type of IT asset that you want to tag.
ConfigurationItemType
public ConfigurationTag withConfigurationType(java.lang.String configurationType)
A type of IT asset that you want to tag.
configurationType
- A type of IT asset that you want to tag.ConfigurationItemType
public void setConfigurationType(ConfigurationItemType configurationType)
A type of IT asset that you want to tag.
configurationType
- A type of IT asset that you want to tag.ConfigurationItemType
public ConfigurationTag withConfigurationType(ConfigurationItemType configurationType)
A type of IT asset that you want to tag.
configurationType
- A type of IT asset that you want to tag.ConfigurationItemType
public void setConfigurationId(java.lang.String configurationId)
The configuration ID for the item you want to tag. You can specify a list of keys and values.
configurationId
- The configuration ID for the item you want to tag. You can specify
a list of keys and values.public java.lang.String getConfigurationId()
The configuration ID for the item you want to tag. You can specify a list of keys and values.
public ConfigurationTag withConfigurationId(java.lang.String configurationId)
The configuration ID for the item you want to tag. You can specify a list of keys and values.
configurationId
- The configuration ID for the item you want to tag. You can specify
a list of keys and values.public void setKey(java.lang.String key)
A type of tag to filter on. For example, serverType.
key
- A type of tag to filter on. For example, serverType.public java.lang.String getKey()
A type of tag to filter on. For example, serverType.
public ConfigurationTag withKey(java.lang.String key)
A type of tag to filter on. For example, serverType.
key
- A type of tag to filter on. For example, serverType.public void setValue(java.lang.String value)
A value to filter on. For example key = serverType and value = web server.
value
- A value to filter on. For example key = serverType and
value = web server.public java.lang.String getValue()
A value to filter on. For example key = serverType and value = web server.
public ConfigurationTag withValue(java.lang.String value)
A value to filter on. For example key = serverType and value = web server.
value
- A value to filter on. For example key = serverType and
value = web server.public void setTimeOfCreation(java.util.Date timeOfCreation)
The time the configuration tag was created in Coordinated Universal Time (UTC).
timeOfCreation
- The time the configuration tag was created in Coordinated
Universal Time (UTC).public java.util.Date getTimeOfCreation()
The time the configuration tag was created in Coordinated Universal Time (UTC).
public ConfigurationTag withTimeOfCreation(java.util.Date timeOfCreation)
The time the configuration tag was created in Coordinated Universal Time (UTC).
timeOfCreation
- The time the configuration tag was created in Coordinated
Universal Time (UTC).public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ConfigurationTag clone()
clone
in class java.lang.Object