@Generated(value="software.amazon.awssdk:codegen") public final class MessageTag extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MessageTag.Builder,MessageTag>
Contains the name and value of a tag that you can provide to SendEmail or SendRawEmail to
apply to an email.
Message tags, which you use with configuration sets, enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide.
| Modifier and Type | Class and Description |
|---|---|
static interface |
MessageTag.Builder |
| Modifier and Type | Method and Description |
|---|---|
static MessageTag.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the tag.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends MessageTag.Builder> |
serializableBuilderClass() |
MessageTag.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
value()
The value of the tag.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the tag. The name must meet the following requirements:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
Contain 256 characters or fewer.
Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
Contain 256 characters or fewer.
public final String value()
The value of the tag. The value must meet the following requirements:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
Contain 256 characters or fewer.
Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
Contain 256 characters or fewer.
public MessageTag.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<MessageTag.Builder,MessageTag>public static MessageTag.Builder builder()
public static Class<? extends MessageTag.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.