Class UpdateMessageTemplateRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.qconnect.model.QConnectRequest
-
- software.amazon.awssdk.services.qconnect.model.UpdateMessageTemplateRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateMessageTemplateRequest.Builder,UpdateMessageTemplateRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateMessageTemplateRequest extends QConnectRequest implements ToCopyableBuilder<UpdateMessageTemplateRequest.Builder,UpdateMessageTemplateRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateMessageTemplateRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateMessageTemplateRequest.Builderbuilder()MessageTemplateContentProvidercontent()The content of the message template.MessageTemplateAttributesdefaultAttributes()An object that specifies the default values to use for variables in the message template.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringknowledgeBaseId()The identifier of the knowledge base.Stringlanguage()The language code value for the language in which the quick response is written.StringmessageTemplateId()The identifier of the message template.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends UpdateMessageTemplateRequest.Builder>serializableBuilderClass()UpdateMessageTemplateRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
content
public final MessageTemplateContentProvider content()
The content of the message template.
- Returns:
- The content of the message template.
-
defaultAttributes
public final MessageTemplateAttributes defaultAttributes()
An object that specifies the default values to use for variables in the message template. This object contains different categories of key-value pairs. Each key defines a variable or placeholder in the message template. The corresponding value defines the default value for that variable.
- Returns:
- An object that specifies the default values to use for variables in the message template. This object contains different categories of key-value pairs. Each key defines a variable or placeholder in the message template. The corresponding value defines the default value for that variable.
-
knowledgeBaseId
public final String knowledgeBaseId()
The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
- Returns:
- The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
-
language
public final String language()
The language code value for the language in which the quick response is written. The supported language codes include
de_DE,en_US,es_ES,fr_FR,id_ID,it_IT,ja_JP,ko_KR,pt_BR,zh_CN,zh_TW- Returns:
- The language code value for the language in which the quick response is written. The supported language
codes include
de_DE,en_US,es_ES,fr_FR,id_ID,it_IT,ja_JP,ko_KR,pt_BR,zh_CN,zh_TW
-
messageTemplateId
public final String messageTemplateId()
The identifier of the message template. Can be either the ID or the ARN. It cannot contain any qualifier.
- Returns:
- The identifier of the message template. Can be either the ID or the ARN. It cannot contain any qualifier.
-
toBuilder
public UpdateMessageTemplateRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateMessageTemplateRequest.Builder,UpdateMessageTemplateRequest>- Specified by:
toBuilderin classQConnectRequest
-
builder
public static UpdateMessageTemplateRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateMessageTemplateRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-