Interface StartAttachedFileUploadRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectRequest.Builder,CopyableBuilder<StartAttachedFileUploadRequest.Builder,StartAttachedFileUploadRequest>,SdkBuilder<StartAttachedFileUploadRequest.Builder,StartAttachedFileUploadRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- StartAttachedFileUploadRequest
public static interface StartAttachedFileUploadRequest.Builder extends ConnectRequest.Builder, SdkPojo, CopyableBuilder<StartAttachedFileUploadRequest.Builder,StartAttachedFileUploadRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StartAttachedFileUploadRequest.BuilderassociatedResourceArn(String associatedResourceArn)The resource to which the attached file is (being) uploaded to.StartAttachedFileUploadRequest.BuilderclientToken(String clientToken)A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.default StartAttachedFileUploadRequest.BuildercreatedBy(Consumer<CreatedByInfo.Builder> createdBy)Represents the identity that created the file.StartAttachedFileUploadRequest.BuildercreatedBy(CreatedByInfo createdBy)Represents the identity that created the file.StartAttachedFileUploadRequest.BuilderfileName(String fileName)A case-sensitive name of the attached file being uploaded.StartAttachedFileUploadRequest.BuilderfileSizeInBytes(Long fileSizeInBytes)The size of the attached file in bytes.StartAttachedFileUploadRequest.BuilderfileUseCaseType(String fileUseCaseType)The use case for the file.StartAttachedFileUploadRequest.BuilderfileUseCaseType(FileUseCaseType fileUseCaseType)The use case for the file.StartAttachedFileUploadRequest.BuilderinstanceId(String instanceId)The unique identifier of the Amazon Connect instance.StartAttachedFileUploadRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)StartAttachedFileUploadRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)StartAttachedFileUploadRequest.Buildertags(Map<String,String> tags)The tags used to organize, track, or control access for this resource.StartAttachedFileUploadRequest.BuilderurlExpiryInSeconds(Integer urlExpiryInSeconds)Optional override for the expiry of the pre-signed S3 URL in seconds.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectRequest.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 Detail
-
clientToken
StartAttachedFileUploadRequest.Builder clientToken(String 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.
-
instanceId
StartAttachedFileUploadRequest.Builder instanceId(String instanceId)
The unique identifier of the Amazon Connect instance.
- Parameters:
instanceId- The unique identifier of the Amazon Connect instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileName
StartAttachedFileUploadRequest.Builder fileName(String fileName)
A case-sensitive name of the attached file being uploaded.
- Parameters:
fileName- A case-sensitive name of the attached file being uploaded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileSizeInBytes
StartAttachedFileUploadRequest.Builder fileSizeInBytes(Long fileSizeInBytes)
The size of the attached file in bytes.
- Parameters:
fileSizeInBytes- The size of the attached file in bytes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
urlExpiryInSeconds
StartAttachedFileUploadRequest.Builder urlExpiryInSeconds(Integer urlExpiryInSeconds)
Optional override for the expiry of the pre-signed S3 URL in seconds. The default value is 300.
- Parameters:
urlExpiryInSeconds- Optional override for the expiry of the pre-signed S3 URL in seconds. The default value is 300.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileUseCaseType
StartAttachedFileUploadRequest.Builder fileUseCaseType(String fileUseCaseType)
The use case for the file.
- Parameters:
fileUseCaseType- The use case for the file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FileUseCaseType,FileUseCaseType
-
fileUseCaseType
StartAttachedFileUploadRequest.Builder fileUseCaseType(FileUseCaseType fileUseCaseType)
The use case for the file.
- Parameters:
fileUseCaseType- The use case for the file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FileUseCaseType,FileUseCaseType
-
associatedResourceArn
StartAttachedFileUploadRequest.Builder associatedResourceArn(String associatedResourceArn)
The resource to which the attached file is (being) uploaded to. Cases are the only current supported resource.
This value must be a valid ARN.
- Parameters:
associatedResourceArn- The resource to which the attached file is (being) uploaded to. Cases are the only current supported resource.This value must be a valid ARN.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
StartAttachedFileUploadRequest.Builder createdBy(CreatedByInfo createdBy)
Represents the identity that created the file.
- Parameters:
createdBy- Represents the identity that created the file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
default StartAttachedFileUploadRequest.Builder createdBy(Consumer<CreatedByInfo.Builder> createdBy)
Represents the identity that created the file.
This is a convenience method that creates an instance of theCreatedByInfo.Builderavoiding the need to create one manually viaCreatedByInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocreatedBy(CreatedByInfo).- Parameters:
createdBy- a consumer that will call methods onCreatedByInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
createdBy(CreatedByInfo)
-
tags
StartAttachedFileUploadRequest.Builder tags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource. For example,
{ "Tags": {"key1":"value1", "key2":"value2"} }.- Parameters:
tags- The tags used to organize, track, or control access for this resource. For example,{ "Tags": {"key1":"value1", "key2":"value2"} }.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StartAttachedFileUploadRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
StartAttachedFileUploadRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-