Interface StartAttachmentUploadRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,ConnectParticipantRequest.Builder
,CopyableBuilder<StartAttachmentUploadRequest.Builder,
,StartAttachmentUploadRequest> SdkBuilder<StartAttachmentUploadRequest.Builder,
,StartAttachmentUploadRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
StartAttachmentUploadRequest
public static interface StartAttachmentUploadRequest.Builder
extends ConnectParticipantRequest.Builder, SdkPojo, CopyableBuilder<StartAttachmentUploadRequest.Builder,StartAttachmentUploadRequest>
-
Method Summary
Modifier and TypeMethodDescriptionattachmentName
(String attachmentName) A case-sensitive name of the attachment being uploaded.attachmentSizeInBytes
(Long attachmentSizeInBytes) The size of the attachment in bytes.clientToken
(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.connectionToken
(String connectionToken) The authentication token associated with the participant's connection.contentType
(String contentType) Describes the MIME file type of the attachment.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.connectparticipant.model.ConnectParticipantRequest.Builder
build
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, sdkFields
-
Method Details
-
contentType
Describes the MIME file type of the attachment. For a list of supported file types, see Feature specifications in the Amazon Connect Administrator Guide.
- Parameters:
contentType
- Describes the MIME file type of the attachment. For a list of supported file types, see Feature specifications in the Amazon Connect Administrator Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachmentSizeInBytes
The size of the attachment in bytes.
- Parameters:
attachmentSizeInBytes
- The size of the attachment in bytes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachmentName
A case-sensitive name of the attachment being uploaded.
- Parameters:
attachmentName
- A case-sensitive name of the attachment being uploaded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- Parameters:
clientToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionToken
The authentication token associated with the participant's connection.
- Parameters:
connectionToken
- The authentication token associated with the participant's connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StartAttachmentUploadRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StartAttachmentUploadRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-