public class ConfigurationTag extends Object implements Serializable, Cloneable
Tags for a configuration item. Tags are metadata that help you categorize IT assets.
Constructor and Description |
---|
ConfigurationTag() |
Modifier and Type | Method and 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.
|
public void setConfigurationType(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 String getConfigurationType()
A type of IT asset that you want to tag.
ConfigurationItemType
public ConfigurationTag withConfigurationType(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(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 String getConfigurationId()
The configuration ID for the item you want to tag. You can specify a list of keys and values.
public ConfigurationTag withConfigurationId(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(String key)
A type of tag to filter on. For example, serverType.
key
- A type of tag to filter on. For example, serverType.public String getKey()
A type of tag to filter on. For example, serverType.
public ConfigurationTag withKey(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(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 String getValue()
A value to filter on. For example key = serverType and value = web server.
public ConfigurationTag withValue(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(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 Date getTimeOfCreation()
The time the configuration tag was created in Coordinated Universal Time (UTC).
public ConfigurationTag withTimeOfCreation(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 String toString()
toString
in class Object
Object.toString()
public ConfigurationTag clone()
Copyright © 2018. All rights reserved.