Interface GetParallelDataResponse.Builder

  • Method Details

    • parallelDataProperties

      GetParallelDataResponse.Builder parallelDataProperties(ParallelDataProperties parallelDataProperties)

      The properties of the parallel data resource that is being retrieved.

      Parameters:
      parallelDataProperties - The properties of the parallel data resource that is being retrieved.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • parallelDataProperties

      default GetParallelDataResponse.Builder parallelDataProperties(Consumer<ParallelDataProperties.Builder> parallelDataProperties)

      The properties of the parallel data resource that is being retrieved.

      This is a convenience method that creates an instance of the ParallelDataProperties.Builder avoiding the need to create one manually via ParallelDataProperties.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to parallelDataProperties(ParallelDataProperties).

      Parameters:
      parallelDataProperties - a consumer that will call methods on ParallelDataProperties.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dataLocation

      The Amazon S3 location of the most recent parallel data input file that was successfully imported into Amazon Translate. The location is returned as a presigned URL that has a 30-minute expiration.

      Amazon Translate doesn't scan all input files for the risk of CSV injection attacks.

      CSV injection occurs when a .csv or .tsv file is altered so that a record contains malicious code. The record begins with a special character, such as =, +, -, or @. When the file is opened in a spreadsheet program, the program might interpret the record as a formula and run the code within it.

      Before you download an input file from Amazon S3, ensure that you recognize the file and trust its creator.

      Parameters:
      dataLocation - The Amazon S3 location of the most recent parallel data input file that was successfully imported into Amazon Translate. The location is returned as a presigned URL that has a 30-minute expiration.

      Amazon Translate doesn't scan all input files for the risk of CSV injection attacks.

      CSV injection occurs when a .csv or .tsv file is altered so that a record contains malicious code. The record begins with a special character, such as =, +, -, or @. When the file is opened in a spreadsheet program, the program might interpret the record as a formula and run the code within it.

      Before you download an input file from Amazon S3, ensure that you recognize the file and trust its creator.

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

      The Amazon S3 location of the most recent parallel data input file that was successfully imported into Amazon Translate. The location is returned as a presigned URL that has a 30-minute expiration.

      Amazon Translate doesn't scan all input files for the risk of CSV injection attacks.

      CSV injection occurs when a .csv or .tsv file is altered so that a record contains malicious code. The record begins with a special character, such as =, +, -, or @. When the file is opened in a spreadsheet program, the program might interpret the record as a formula and run the code within it.

      Before you download an input file from Amazon S3, ensure that you recognize the file and trust its creator.

      This is a convenience method that creates an instance of the ParallelDataDataLocation.Builder avoiding the need to create one manually via ParallelDataDataLocation.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to dataLocation(ParallelDataDataLocation).

      Parameters:
      dataLocation - a consumer that will call methods on ParallelDataDataLocation.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • auxiliaryDataLocation

      GetParallelDataResponse.Builder auxiliaryDataLocation(ParallelDataDataLocation auxiliaryDataLocation)

      The Amazon S3 location of a file that provides any errors or warnings that were produced by your input file. This file was created when Amazon Translate attempted to create a parallel data resource. The location is returned as a presigned URL to that has a 30-minute expiration.

      Parameters:
      auxiliaryDataLocation - The Amazon S3 location of a file that provides any errors or warnings that were produced by your input file. This file was created when Amazon Translate attempted to create a parallel data resource. The location is returned as a presigned URL to that has a 30-minute expiration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • auxiliaryDataLocation

      default GetParallelDataResponse.Builder auxiliaryDataLocation(Consumer<ParallelDataDataLocation.Builder> auxiliaryDataLocation)

      The Amazon S3 location of a file that provides any errors or warnings that were produced by your input file. This file was created when Amazon Translate attempted to create a parallel data resource. The location is returned as a presigned URL to that has a 30-minute expiration.

      This is a convenience method that creates an instance of the ParallelDataDataLocation.Builder avoiding the need to create one manually via ParallelDataDataLocation.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to auxiliaryDataLocation(ParallelDataDataLocation).

      Parameters:
      auxiliaryDataLocation - a consumer that will call methods on ParallelDataDataLocation.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • latestUpdateAttemptAuxiliaryDataLocation

      GetParallelDataResponse.Builder latestUpdateAttemptAuxiliaryDataLocation(ParallelDataDataLocation latestUpdateAttemptAuxiliaryDataLocation)

      The Amazon S3 location of a file that provides any errors or warnings that were produced by your input file. This file was created when Amazon Translate attempted to update a parallel data resource. The location is returned as a presigned URL to that has a 30-minute expiration.

      Parameters:
      latestUpdateAttemptAuxiliaryDataLocation - The Amazon S3 location of a file that provides any errors or warnings that were produced by your input file. This file was created when Amazon Translate attempted to update a parallel data resource. The location is returned as a presigned URL to that has a 30-minute expiration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • latestUpdateAttemptAuxiliaryDataLocation

      default GetParallelDataResponse.Builder latestUpdateAttemptAuxiliaryDataLocation(Consumer<ParallelDataDataLocation.Builder> latestUpdateAttemptAuxiliaryDataLocation)

      The Amazon S3 location of a file that provides any errors or warnings that were produced by your input file. This file was created when Amazon Translate attempted to update a parallel data resource. The location is returned as a presigned URL to that has a 30-minute expiration.

      This is a convenience method that creates an instance of the ParallelDataDataLocation.Builder avoiding the need to create one manually via ParallelDataDataLocation.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to latestUpdateAttemptAuxiliaryDataLocation(ParallelDataDataLocation).

      Parameters:
      latestUpdateAttemptAuxiliaryDataLocation - a consumer that will call methods on ParallelDataDataLocation.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: