@Generated(value="software.amazon.awssdk:codegen") public final class ResourceTag extends Object implements StructuredPojo, ToCopyableBuilder<ResourceTag.Builder,ResourceTag>
A resource tag.
Modifier and Type | Class and Description |
---|---|
static interface |
ResourceTag.Builder |
Modifier and Type | Method and Description |
---|---|
static ResourceTag.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
resourceId()
Specifies the ARN of the resource.
|
static Class<? extends ResourceTag.Builder> |
serializableBuilderClass() |
List<Tag> |
tagsList()
A list of tags.
|
ResourceTag.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String resourceId()
Specifies the ARN of the resource.
public List<Tag> tagsList()
A list of tags.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public ResourceTag.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ResourceTag.Builder,ResourceTag>
public static ResourceTag.Builder builder()
public static Class<? extends ResourceTag.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.