@Generated(value="software.amazon.awssdk:codegen") public final class ConfigurationTag extends Object implements StructuredPojo, ToCopyableBuilder<ConfigurationTag.Builder,ConfigurationTag>
Tags for a configuration item. Tags are metadata that help you categorize IT assets.
Modifier and Type | Class and Description |
---|---|
static interface |
ConfigurationTag.Builder |
Modifier and Type | Method and Description |
---|---|
static ConfigurationTag.Builder |
builder() |
String |
configurationId()
The configuration ID for the item to tag.
|
ConfigurationItemType |
configurationType()
A type of IT asset to tag.
|
String |
configurationTypeAsString()
A type of IT asset to tag.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
key()
A type of tag on which to filter.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends ConfigurationTag.Builder> |
serializableBuilderClass() |
Instant |
timeOfCreation()
The time the configuration tag was created in Coordinated Universal Time (UTC).
|
ConfigurationTag.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
value()
A value on which to filter.
|
copy
public ConfigurationItemType configurationType()
A type of IT asset to tag.
If the service returns an enum value that is not available in the current SDK version, configurationType
will return ConfigurationItemType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from configurationTypeAsString()
.
ConfigurationItemType
public String configurationTypeAsString()
A type of IT asset to tag.
If the service returns an enum value that is not available in the current SDK version, configurationType
will return ConfigurationItemType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from configurationTypeAsString()
.
ConfigurationItemType
public String configurationId()
The configuration ID for the item to tag. You can specify a list of keys and values.
public String key()
A type of tag on which to filter. For example, serverType.
public String value()
A value on which to filter. For example key = serverType and value = web server.
public Instant timeOfCreation()
The time the configuration tag was created in Coordinated Universal Time (UTC).
public ConfigurationTag.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ConfigurationTag.Builder,ConfigurationTag>
public static ConfigurationTag.Builder builder()
public static Class<? extends ConfigurationTag.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.