Interface CreateMessageTemplateAttachmentResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateMessageTemplateAttachmentResponse.Builder,CreateMessageTemplateAttachmentResponse>,QConnectResponse.Builder,SdkBuilder<CreateMessageTemplateAttachmentResponse.Builder,CreateMessageTemplateAttachmentResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateMessageTemplateAttachmentResponse
public static interface CreateMessageTemplateAttachmentResponse.Builder extends QConnectResponse.Builder, SdkPojo, CopyableBuilder<CreateMessageTemplateAttachmentResponse.Builder,CreateMessageTemplateAttachmentResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateMessageTemplateAttachmentResponse.Builderattachment(Consumer<MessageTemplateAttachment.Builder> attachment)The message template attachment.CreateMessageTemplateAttachmentResponse.Builderattachment(MessageTemplateAttachment attachment)The message template attachment.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.qconnect.model.QConnectResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
attachment
CreateMessageTemplateAttachmentResponse.Builder attachment(MessageTemplateAttachment attachment)
The message template attachment.
- Parameters:
attachment- The message template attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachment
default CreateMessageTemplateAttachmentResponse.Builder attachment(Consumer<MessageTemplateAttachment.Builder> attachment)
The message template attachment.
This is a convenience method that creates an instance of theMessageTemplateAttachment.Builderavoiding the need to create one manually viaMessageTemplateAttachment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattachment(MessageTemplateAttachment).- Parameters:
attachment- a consumer that will call methods onMessageTemplateAttachment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
attachment(MessageTemplateAttachment)
-
-