@Generated(value="software.amazon.awssdk:codegen") public final class TagsModel extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TagsModel.Builder,TagsModel>
Specifies the tags (keys and values) for an application, campaign, message template, or segment.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TagsModel.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TagsModel.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TagsModel.Builder> |
serializableBuilderClass() |
Map<String,String> |
tags()
A string-to-string map of key-value pairs that defines the tags for an application, campaign, message template,
or segment.
|
TagsModel.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic boolean hasTags()
public Map<String,String> tags()
A string-to-string map of key-value pairs that defines the tags for an application, campaign, message template, or segment. Each of these resources can have a maximum of 50 tags.
Each tag consists of a required tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
Each tag consists of a required tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
public TagsModel.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TagsModel.Builder,TagsModel>public static TagsModel.Builder builder()
public static Class<? extends TagsModel.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.