Class TagInfo
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<TagInfo>
-
- de.tsystems.mms.apm.performancesignature.dynatracesaas.model.TagInfo
-
- All Implemented Interfaces:
Describable<TagInfo>
public class TagInfo extends AbstractDescribableImpl<TagInfo>
Tag of a Dynatrace entity.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TagInfo.ContextEnum
The origin of the tag, like AWS or Cloud Foundry.static class
TagInfo.DescriptorImpl
-
Constructor Summary
Constructors Constructor Description TagInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TagInfo
context(TagInfo.ContextEnum context)
String
getContext()
TagInfo.ContextEnum
getContextEnum()
The origin of the tag, like AWS or Cloud Foundry.String
getKey()
The key of the tag.String
getValue()
The value of the tag.TagInfo
key(String key)
void
setContext(TagInfo.ContextEnum context)
void
setContext(String context)
void
setKey(String key)
void
setValue(String value)
String
toString()
TagInfo
value(String value)
-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Method Detail
-
context
public TagInfo context(TagInfo.ContextEnum context)
-
getContextEnum
public TagInfo.ContextEnum getContextEnum()
The origin of the tag, like AWS or Cloud Foundry. Custom tags use the `CONTEXTLESS` value.- Returns:
- context
-
getContext
public String getContext()
-
setContext
@DataBoundSetter public void setContext(String context)
-
setContext
public void setContext(TagInfo.ContextEnum context)
-
getKey
public String getKey()
The key of the tag. Custom tags have the tag value here.- Returns:
- key
-
setKey
@DataBoundSetter public void setKey(String key)
-
getValue
public String getValue()
The value of the tag. Not applicable to custom tags.- Returns:
- value
-
setValue
@DataBoundSetter public void setValue(String value)
-
-