Interface ImportTerminologyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ImportTerminologyResponse.Builder,
,ImportTerminologyResponse> SdkBuilder<ImportTerminologyResponse.Builder,
,ImportTerminologyResponse> SdkPojo
,SdkResponse.Builder
,TranslateResponse.Builder
- Enclosing class:
ImportTerminologyResponse
-
Method Summary
Modifier and TypeMethodDescriptionauxiliaryDataLocation
(Consumer<TerminologyDataLocation.Builder> auxiliaryDataLocation) The Amazon S3 location of a file that provides any errors or warnings that were produced by your input file.auxiliaryDataLocation
(TerminologyDataLocation auxiliaryDataLocation) The Amazon S3 location of a file that provides any errors or warnings that were produced by your input file.terminologyProperties
(Consumer<TerminologyProperties.Builder> terminologyProperties) The properties of the custom terminology being imported.terminologyProperties
(TerminologyProperties terminologyProperties) The properties of the custom terminology being imported.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 Details
-
terminologyProperties
ImportTerminologyResponse.Builder terminologyProperties(TerminologyProperties terminologyProperties) The properties of the custom terminology being imported.
- Parameters:
terminologyProperties
- The properties of the custom terminology being imported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
terminologyProperties
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 viaTerminologyProperties.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toterminologyProperties(TerminologyProperties)
.- Parameters:
terminologyProperties
- a consumer that will call methods onTerminologyProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
auxiliaryDataLocation
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.
- 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 terminology 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 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 viaTerminologyDataLocation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toauxiliaryDataLocation(TerminologyDataLocation)
.- Parameters:
auxiliaryDataLocation
- a consumer that will call methods onTerminologyDataLocation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-