Interface GetParallelDataResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetParallelDataResponse.Builder,GetParallelDataResponse>
,SdkBuilder<GetParallelDataResponse.Builder,GetParallelDataResponse>
,SdkPojo
,SdkResponse.Builder
,TranslateResponse.Builder
- Enclosing class:
- GetParallelDataResponse
public static interface GetParallelDataResponse.Builder extends TranslateResponse.Builder, SdkPojo, CopyableBuilder<GetParallelDataResponse.Builder,GetParallelDataResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description 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.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.default GetParallelDataResponse.Builder
dataLocation(Consumer<ParallelDataDataLocation.Builder> dataLocation)
The Amazon S3 location of the most recent parallel data input file that was successfully imported into Amazon Translate.GetParallelDataResponse.Builder
dataLocation(ParallelDataDataLocation dataLocation)
The Amazon S3 location of the most recent parallel data input file that was successfully imported into Amazon Translate.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.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.default GetParallelDataResponse.Builder
parallelDataProperties(Consumer<ParallelDataProperties.Builder> parallelDataProperties)
The properties of the parallel data resource that is being retrieved.GetParallelDataResponse.Builder
parallelDataProperties(ParallelDataProperties parallelDataProperties)
The properties of the parallel data resource that is being retrieved.-
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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.translate.model.TranslateResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
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 theParallelDataProperties.Builder
avoiding the need to create one manually viaParallelDataProperties.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toparallelDataProperties(ParallelDataProperties)
.- Parameters:
parallelDataProperties
- a consumer that will call methods onParallelDataProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
parallelDataProperties(ParallelDataProperties)
-
dataLocation
GetParallelDataResponse.Builder dataLocation(ParallelDataDataLocation 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
default GetParallelDataResponse.Builder dataLocation(Consumer<ParallelDataDataLocation.Builder> 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.
ParallelDataDataLocation.Builder
avoiding the need to create one manually viaParallelDataDataLocation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataLocation(ParallelDataDataLocation)
.- Parameters:
dataLocation
- a consumer that will call methods onParallelDataDataLocation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
dataLocation(ParallelDataDataLocation)
-
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 theParallelDataDataLocation.Builder
avoiding the need to create one manually viaParallelDataDataLocation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toauxiliaryDataLocation(ParallelDataDataLocation)
.- Parameters:
auxiliaryDataLocation
- a consumer that will call methods onParallelDataDataLocation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
auxiliaryDataLocation(ParallelDataDataLocation)
-
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 theParallelDataDataLocation.Builder
avoiding the need to create one manually viaParallelDataDataLocation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolatestUpdateAttemptAuxiliaryDataLocation(ParallelDataDataLocation)
.- Parameters:
latestUpdateAttemptAuxiliaryDataLocation
- a consumer that will call methods onParallelDataDataLocation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
latestUpdateAttemptAuxiliaryDataLocation(ParallelDataDataLocation)
-
-