Class GetTerminologyResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.translate.model.TranslateResponse
-
- software.amazon.awssdk.services.translate.model.GetTerminologyResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetTerminologyResponse.Builder,GetTerminologyResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetTerminologyResponse extends TranslateResponse implements ToCopyableBuilder<GetTerminologyResponse.Builder,GetTerminologyResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetTerminologyResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TerminologyDataLocationauxiliaryDataLocation()The Amazon S3 location of a file that provides any errors or warnings that were produced by your input file.static GetTerminologyResponse.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GetTerminologyResponse.Builder>serializableBuilderClass()TerminologyDataLocationterminologyDataLocation()The Amazon S3 location of the most recent custom terminology input file that was successfully imported into Amazon Translate.TerminologyPropertiesterminologyProperties()The properties of the custom terminology being retrieved.GetTerminologyResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.translate.model.TranslateResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
terminologyProperties
public final TerminologyProperties terminologyProperties()
The properties of the custom terminology being retrieved.
- Returns:
- The properties of the custom terminology being retrieved.
-
terminologyDataLocation
public final TerminologyDataLocation terminologyDataLocation()
The Amazon S3 location of the most recent custom terminology 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:
- The Amazon S3 location of the most recent custom terminology 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.
-
auxiliaryDataLocation
public final 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.
- Returns:
- 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.
-
toBuilder
public GetTerminologyResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetTerminologyResponse.Builder,GetTerminologyResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetTerminologyResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetTerminologyResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-