Class MessageTemplateVersionSummary
- java.lang.Object
-
- software.amazon.awssdk.services.qconnect.model.MessageTemplateVersionSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MessageTemplateVersionSummary.Builder,MessageTemplateVersionSummary>
@Generated("software.amazon.awssdk:codegen") public final class MessageTemplateVersionSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MessageTemplateVersionSummary.Builder,MessageTemplateVersionSummary>
The summary of the message template version.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMessageTemplateVersionSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MessageTemplateVersionSummary.Builderbuilder()ChannelSubtypechannelSubtype()The channel subtype this message template applies to.StringchannelSubtypeAsString()The channel subtype this message template applies to.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanisActive()Whether the version of the message template is activated.StringknowledgeBaseArn()The Amazon Resource Name (ARN) of the knowledge base.StringknowledgeBaseId()The identifier of the knowledge base.StringmessageTemplateArn()The Amazon Resource Name (ARN) of the message template.StringmessageTemplateId()The identifier of the message template.Stringname()The name of the message template.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends MessageTemplateVersionSummary.Builder>serializableBuilderClass()MessageTemplateVersionSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.LongversionNumber()The version number of the message template version.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
channelSubtype
public final ChannelSubtype channelSubtype()
The channel subtype this message template applies to.
If the service returns an enum value that is not available in the current SDK version,
channelSubtypewill returnChannelSubtype.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromchannelSubtypeAsString().- Returns:
- The channel subtype this message template applies to.
- See Also:
ChannelSubtype
-
channelSubtypeAsString
public final String channelSubtypeAsString()
The channel subtype this message template applies to.
If the service returns an enum value that is not available in the current SDK version,
channelSubtypewill returnChannelSubtype.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromchannelSubtypeAsString().- Returns:
- The channel subtype this message template applies to.
- See Also:
ChannelSubtype
-
isActive
public final Boolean isActive()
Whether the version of the message template is activated.
- Returns:
- Whether the version of the message template is activated.
-
knowledgeBaseArn
public final String knowledgeBaseArn()
The Amazon Resource Name (ARN) of the knowledge base.
- Returns:
- The Amazon Resource Name (ARN) of the knowledge base.
-
knowledgeBaseId
public final String knowledgeBaseId()
The identifier of the knowledge base.
- Returns:
- The identifier of the knowledge base.
-
messageTemplateArn
public final String messageTemplateArn()
The Amazon Resource Name (ARN) of the message template.
- Returns:
- The Amazon Resource Name (ARN) of the message template.
-
messageTemplateId
public final String messageTemplateId()
The identifier of the message template.
- Returns:
- The identifier of the message template.
-
name
public final String name()
The name of the message template.
- Returns:
- The name of the message template.
-
versionNumber
public final Long versionNumber()
The version number of the message template version.
- Returns:
- The version number of the message template version.
-
toBuilder
public MessageTemplateVersionSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<MessageTemplateVersionSummary.Builder,MessageTemplateVersionSummary>
-
builder
public static MessageTemplateVersionSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends MessageTemplateVersionSummary.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-