Class GetParallelDataResponse
- 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.GetParallelDataResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetParallelDataResponse.Builder,GetParallelDataResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetParallelDataResponse extends TranslateResponse implements ToCopyableBuilder<GetParallelDataResponse.Builder,GetParallelDataResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetParallelDataResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ParallelDataDataLocationauxiliaryDataLocation()The Amazon S3 location of a file that provides any errors or warnings that were produced by your input file.static GetParallelDataResponse.Builderbuilder()ParallelDataDataLocationdataLocation()The Amazon S3 location of the most recent parallel data input file that was successfully imported into Amazon Translate.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ParallelDataDataLocationlatestUpdateAttemptAuxiliaryDataLocation()The Amazon S3 location of a file that provides any errors or warnings that were produced by your input file.ParallelDataPropertiesparallelDataProperties()The properties of the parallel data resource that is being retrieved.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GetParallelDataResponse.Builder>serializableBuilderClass()GetParallelDataResponse.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
-
parallelDataProperties
public final ParallelDataProperties parallelDataProperties()
The properties of the parallel data resource that is being retrieved.
- Returns:
- The properties of the parallel data resource that is being retrieved.
-
dataLocation
public final ParallelDataDataLocation dataLocation()
The Amazon S3 location of the most recent parallel data 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 parallel data 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 ParallelDataDataLocation 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 parallel data 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 parallel data resource. The location is returned as a presigned URL to that has a 30-minute expiration.
-
latestUpdateAttemptAuxiliaryDataLocation
public final ParallelDataDataLocation latestUpdateAttemptAuxiliaryDataLocation()
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 update a parallel data 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 update a parallel data resource. The location is returned as a presigned URL to that has a 30-minute expiration.
-
toBuilder
public GetParallelDataResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetParallelDataResponse.Builder,GetParallelDataResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetParallelDataResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetParallelDataResponse.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
-
-