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 Details

    • instanceId

      GetAttachedFileRequest.Builder instanceId(String 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

      GetAttachedFileRequest.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.
    • associatedResourceArn

      GetAttachedFileRequest.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.
    • overrideConfiguration

      GetAttachedFileRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.