Package ai.extend.types
Class BatchWorkflowRunFileInput
- java.lang.Object
-
- ai.extend.types.BatchWorkflowRunFileInput
-
public final class BatchWorkflowRunFileInput extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBatchWorkflowRunFileInput.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BatchWorkflowRunFileInput.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 to associate with the file. If not provided when using
fileUrl, the name may be inferred from the URL. This param is only for your reference, and will be rendered in our dashboard, it is not used by the workflow.
-
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 suggest a slightly longer expiration time, ideally 30 minutes for a worst case scenario. 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.Example:
"file_Zk9mNP12Qw4yTv8BdR3H"
-
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 BatchWorkflowRunFileInput.Builder builder()
-
-