Class TerminologyDataLocation
- java.lang.Object
-
- software.amazon.awssdk.services.translate.model.TerminologyDataLocation
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TerminologyDataLocation.Builder,TerminologyDataLocation>
@Generated("software.amazon.awssdk:codegen") public final class TerminologyDataLocation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TerminologyDataLocation.Builder,TerminologyDataLocation>
The location of the custom terminology data.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTerminologyDataLocation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TerminologyDataLocation.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringlocation()The Amazon S3 location of the most recent custom terminology input file that was successfully imported into Amazon Translate.StringrepositoryType()The repository type for the custom terminology data.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends TerminologyDataLocation.Builder>serializableBuilderClass()TerminologyDataLocation.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
repositoryType
public final String repositoryType()
The repository type for the custom terminology data.
- Returns:
- The repository type for the custom terminology data.
-
location
public final String location()
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.
-
toBuilder
public TerminologyDataLocation.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TerminologyDataLocation.Builder,TerminologyDataLocation>
-
builder
public static TerminologyDataLocation.Builder builder()
-
serializableBuilderClass
public static Class<? extends TerminologyDataLocation.Builder> serializableBuilderClass()
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-