Interface GetAttachedFileRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectRequest.Builder,CopyableBuilder<GetAttachedFileRequest.Builder,,GetAttachedFileRequest> SdkBuilder<GetAttachedFileRequest.Builder,,GetAttachedFileRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
GetAttachedFileRequest
public static interface GetAttachedFileRequest.Builder
extends ConnectRequest.Builder, SdkPojo, CopyableBuilder<GetAttachedFileRequest.Builder,GetAttachedFileRequest>
-
Method Summary
Modifier and TypeMethodDescriptionassociatedResourceArn(String associatedResourceArn) The resource to which the attached file is (being) uploaded to.The unique identifier of the attached file resource.instanceId(String instanceId) The unique identifier of the Connect instance.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.urlExpiryInSeconds(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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.connect.model.ConnectRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
instanceId
The unique identifier of the Connect instance.
- Parameters:
instanceId- The unique identifier of the Connect instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileId
The unique identifier of the attached file resource.
- Parameters:
fileId- The unique identifier of the attached file resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
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.
-
overrideConfiguration
GetAttachedFileRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetAttachedFileRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-