Package ai.extend.types
Class ProcessorRunFileInput
- java.lang.Object
-
- ai.extend.types.ProcessorRunFileInput
-
public final class ProcessorRunFileInput extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProcessorRunFileInput.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProcessorRunFileInput.Builderbuilder()booleanequals(java.lang.Object other)java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()java.util.Optional<java.lang.String>getFileId()java.util.Optional<java.lang.String>getFileName()java.util.Optional<java.lang.String>getFileUrl()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getFileName
public java.util.Optional<java.lang.String> getFileName()
- Returns:
- The name of the file to be processed. If not provided, the file name will be inferred from the URL. It is highly recommended to include this parameter for legibility.
-
getFileUrl
public java.util.Optional<java.lang.String> getFileUrl()
- Returns:
- A URL where the file can be downloaded from. If you use presigned URLs, we recommend an expiration time of 5-15 minutes. One of a
fileUrlorfileIdmust be provided.
-
getFileId
public java.util.Optional<java.lang.String> getFileId()
- Returns:
- Extend's internal ID for the file. It will always start with
file_. One of afileUrlorfileIdmust be provided. You can view a file ID from the Extend UI, for instance from running a parser or from a previous file creation. If you provide afileId, any parsed data will be reused.
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
builder
public static ProcessorRunFileInput.Builder builder()
-
-