Package software.amazon.smithy.utils
Interface Tagged
-
- All Known Implementing Classes:
BigDecimalShape
,BigIntegerShape
,BlobShape
,BooleanShape
,ByteShape
,CollectionShape
,DocumentShape
,DoubleShape
,EntityShape
,EnumDefinition
,FloatShape
,IntegerShape
,ListShape
,LongShape
,MapShape
,MemberShape
,NumberShape
,OperationShape
,ResourceShape
,ServiceShape
,SetShape
,Shape
,ShortShape
,SimpleShape
,StringShape
,StructureShape
,TagsTrait
,TimestampShape
,UnionShape
public interface Tagged
A type that contains tags.
-
-
Method Detail
-
getTags
default java.util.List<java.lang.String> getTags()
Gets the tags applied to an object.- Returns:
- Returns the tag values.
-
hasTag
default boolean hasTag(java.lang.String tag)
Checks if the value has the given tag by name.- Parameters:
tag
- Tag value to search for.- Returns:
- Returns true if the tag is present.
-
-