Interface MessageTemplateContentProvider.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<MessageTemplateContentProvider.Builder,MessageTemplateContentProvider>,SdkBuilder<MessageTemplateContentProvider.Builder,MessageTemplateContentProvider>,SdkPojo
- Enclosing class:
- MessageTemplateContentProvider
public static interface MessageTemplateContentProvider.Builder extends SdkPojo, CopyableBuilder<MessageTemplateContentProvider.Builder,MessageTemplateContentProvider>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default MessageTemplateContentProvider.Builderemail(Consumer<EmailMessageTemplateContent.Builder> email)The content of the message template that applies to the email channel subtype.MessageTemplateContentProvider.Builderemail(EmailMessageTemplateContent email)The content of the message template that applies to the email channel subtype.default MessageTemplateContentProvider.Buildersms(Consumer<SMSMessageTemplateContent.Builder> sms)The content of the message template that applies to the SMS channel subtype.MessageTemplateContentProvider.Buildersms(SMSMessageTemplateContent sms)The content of the message template that applies to the SMS channel subtype.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
email
MessageTemplateContentProvider.Builder email(EmailMessageTemplateContent email)
The content of the message template that applies to the email channel subtype.
- Parameters:
email- The content of the message template that applies to the email channel subtype.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
email
default MessageTemplateContentProvider.Builder email(Consumer<EmailMessageTemplateContent.Builder> email)
The content of the message template that applies to the email channel subtype.
This is a convenience method that creates an instance of theEmailMessageTemplateContent.Builderavoiding the need to create one manually viaEmailMessageTemplateContent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toemail(EmailMessageTemplateContent).- Parameters:
email- a consumer that will call methods onEmailMessageTemplateContent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
email(EmailMessageTemplateContent)
-
sms
MessageTemplateContentProvider.Builder sms(SMSMessageTemplateContent sms)
The content of the message template that applies to the SMS channel subtype.
- Parameters:
sms- The content of the message template that applies to the SMS channel subtype.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sms
default MessageTemplateContentProvider.Builder sms(Consumer<SMSMessageTemplateContent.Builder> sms)
The content of the message template that applies to the SMS channel subtype.
This is a convenience method that creates an instance of theSMSMessageTemplateContent.Builderavoiding the need to create one manually viaSMSMessageTemplateContent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosms(SMSMessageTemplateContent).- Parameters:
sms- a consumer that will call methods onSMSMessageTemplateContent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sms(SMSMessageTemplateContent)
-
-