Interface ImportTerminologyResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ImportTerminologyResponse.Builder,ImportTerminologyResponse>,SdkBuilder<ImportTerminologyResponse.Builder,ImportTerminologyResponse>,SdkPojo,SdkResponse.Builder,TranslateResponse.Builder
- Enclosing class:
- ImportTerminologyResponse
public static interface ImportTerminologyResponse.Builder extends TranslateResponse.Builder, SdkPojo, CopyableBuilder<ImportTerminologyResponse.Builder,ImportTerminologyResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ImportTerminologyResponse.BuilderauxiliaryDataLocation(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.BuilderauxiliaryDataLocation(TerminologyDataLocation auxiliaryDataLocation)The Amazon S3 location of a file that provides any errors or warnings that were produced by your input file.default ImportTerminologyResponse.BuilderterminologyProperties(Consumer<TerminologyProperties.Builder> terminologyProperties)The properties of the custom terminology being imported.ImportTerminologyResponse.BuilderterminologyProperties(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 Detail
-
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.Builderavoiding the need to create one manually viaTerminologyProperties.builder().When the
Consumercompletes,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:
terminologyProperties(TerminologyProperties)
-
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.Builderavoiding the need to create one manually viaTerminologyDataLocation.builder().When the
Consumercompletes,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:
auxiliaryDataLocation(TerminologyDataLocation)
-
-