Interface CreateAttachedFileRequest.Builder

  • Method Details

    • clientToken

      CreateAttachedFileRequest.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

      CreateAttachedFileRequest.Builder instanceId(String instanceId)

      The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

      Parameters:
      instanceId - The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fileUseCaseType

      CreateAttachedFileRequest.Builder fileUseCaseType(String fileUseCaseType)

      The use case for the file.

      Only VOICE_RECORDING is supported.

      Parameters:
      fileUseCaseType - The use case for the file.

      Only VOICE_RECORDING is supported.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • fileUseCaseType

      CreateAttachedFileRequest.Builder fileUseCaseType(FileUseCaseType fileUseCaseType)

      The use case for the file.

      Only VOICE_RECORDING is supported.

      Parameters:
      fileUseCaseType - The use case for the file.

      Only VOICE_RECORDING is supported.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • fileSourceUri

      CreateAttachedFileRequest.Builder fileSourceUri(String fileSourceUri)

      The S3 URI of the file to be attached. Only S3 source URIs are supported.

      Parameters:
      fileSourceUri - The S3 URI of the file to be attached. Only S3 source URIs are supported.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • associatedResourceArn

      CreateAttachedFileRequest.Builder associatedResourceArn(String associatedResourceArn)

      The ARN of the completed voice contact to attach the file to. Only voice contacts with Telephony subtype are supported.

      This value must be a valid ARN.

      Parameters:
      associatedResourceArn - The ARN of the completed voice contact to attach the file to. Only voice contacts with Telephony subtype are supported.

      This value must be a valid ARN.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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

      CreateAttachedFileRequest.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.