Interface StartAttachmentUploadRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- ConnectParticipantRequest.Builder,- CopyableBuilder<StartAttachmentUploadRequest.Builder,,- StartAttachmentUploadRequest> - SdkBuilder<StartAttachmentUploadRequest.Builder,,- StartAttachmentUploadRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- StartAttachmentUploadRequest
@Mutable
@NotThreadSafe
public static interface StartAttachmentUploadRequest.Builder
extends ConnectParticipantRequest.Builder, SdkPojo, CopyableBuilder<StartAttachmentUploadRequest.Builder,StartAttachmentUploadRequest> 
- 
Method SummaryModifier 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.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.services.connectparticipant.model.ConnectParticipantRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
contentTypeDescribes 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.
 
- 
attachmentSizeInBytesThe 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.
 
- 
attachmentNameA 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.
 
- 
clientTokenA 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.
 
- 
connectionTokenThe 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.
 
- 
overrideConfigurationStartAttachmentUploadRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationStartAttachmentUploadRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-