public static interface ImportTerminologyResponse.Builder extends TranslateResponse.Builder, SdkPojo, CopyableBuilder<ImportTerminologyResponse.Builder,ImportTerminologyResponse>
Modifier and Type | Method and Description |
---|---|
default ImportTerminologyResponse.Builder |
auxiliaryDataLocation(Consumer<TerminologyDataLocation.Builder> auxiliaryDataLocation)
The Amazon S3 location of a file that provides any errors or warnings that were produced by your input file.
|
ImportTerminologyResponse.Builder |
auxiliaryDataLocation(TerminologyDataLocation auxiliaryDataLocation)
The Amazon S3 location of a file that provides any errors or warnings that were produced by your input file.
|
default ImportTerminologyResponse.Builder |
terminologyProperties(Consumer<TerminologyProperties.Builder> terminologyProperties)
The properties of the custom terminology being imported.
|
ImportTerminologyResponse.Builder |
terminologyProperties(TerminologyProperties terminologyProperties)
The properties of the custom terminology being imported.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
ImportTerminologyResponse.Builder terminologyProperties(TerminologyProperties terminologyProperties)
The properties of the custom terminology being imported.
terminologyProperties
- The properties of the custom terminology being imported.default ImportTerminologyResponse.Builder terminologyProperties(Consumer<TerminologyProperties.Builder> terminologyProperties)
The properties of the custom terminology being imported.
This is a convenience method that creates an instance of theTerminologyProperties.Builder
avoiding
the need to create one manually via TerminologyProperties.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to terminologyProperties(TerminologyProperties)
.
terminologyProperties
- a consumer that will call methods on TerminologyProperties.Builder
terminologyProperties(TerminologyProperties)
ImportTerminologyResponse.Builder auxiliaryDataLocation(TerminologyDataLocation 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 terminology resource. The location is returned as a presigned URL to that has a 30 minute expiration.
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 terminology resource. The
location is returned as a presigned URL to that has a 30 minute expiration.default ImportTerminologyResponse.Builder auxiliaryDataLocation(Consumer<TerminologyDataLocation.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 terminology 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 theTerminologyDataLocation.Builder
avoiding
the need to create one manually via TerminologyDataLocation.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to auxiliaryDataLocation(TerminologyDataLocation)
.
auxiliaryDataLocation
- a consumer that will call methods on TerminologyDataLocation.Builder
auxiliaryDataLocation(TerminologyDataLocation)
Copyright © 2023. All rights reserved.