Klasse ExportFilesResource
java.lang.Object
com.cloudconvert.resource.AbstractResource
com.cloudconvert.resource.AbstractExportFilesResource<Result<TaskResponse>>
com.cloudconvert.resource.sync.ExportFilesResource
- Alle implementierten Schnittstellen:
Closeable,AutoCloseable
-
Feldübersicht
Von Klasse geerbte Felder com.cloudconvert.resource.AbstractExportFilesResource
PATH_SEGMENT_EXPORT, PATH_SEGMENT_GOOGLE_CLOUD_STORAGE, PATH_SEGMENT_OPENSTACK, PATH_SEGMENT_S3, PATH_SEGMENT_SFTP, PATH_SEGMENT_URL, PATH_SEGMENTS_AZURE_BLOBVon Klasse geerbte Felder com.cloudconvert.resource.AbstractResource
BEARER, HEADER_AUTHORIZATION, HEADER_USER_AGENT, INPUT_STREAM_TYPE_REFERENCE, JOB_RESPONSE_PAGEABLE_TYPE_REFERENCE, JOB_RESPONSE_TYPE_REFERENCE, MAP_STRING_TO_OBJECT_TYPE_REFERENCE, OPERATION_RESPONSE_PAGEABLE_TYPE_REFERENCE, TASK_RESPONSE_PAGEABLE_TYPE_REFERENCE, TASK_RESPONSE_TYPE_REFERENCE, USER_RESPONSE_TYPE_REFERENCE, V2, VALUE_USER_AGENT, VOID_TYPE_REFERENCE, WEBHOOKS_RESPONSE_PAGEABLE_TYPE_REFERENCE, WEBHOOKS_RESPONSE_TYPE_REFERENCE -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungExportFilesResource(SettingsProvider settingsProvider, ObjectMapperProvider objectMapperProvider, RequestExecutor requestExecutor) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungazureBlob(@NotNull AzureBlobExportRequest azureBlobExportRequest) Create a task to export files to a Azure blob container.voidclose()googleCloudStorage(@NotNull GoogleCloudStorageExportRequest googleCloudStorageExportRequest) Create a task to export files to a Google Cloud Storage bucket.openStack(@NotNull OpenStackExportRequest openStackExportRequest) Create a task to export files to OpenStack Object Storage (Swift).s3(@NotNull S3ExportRequest s3ExportRequest) Create a task to export files to a S3 bucket.sftp(@NotNull SftpExportRequest sftpExportRequest) Create a task to export files to a SFTP server.url(@NotNull UrlExportRequest urlExportRequest) This task creates temporary URLs which can be used to download the files.Von Klasse geerbte Methoden com.cloudconvert.resource.AbstractExportFilesResource
getAzureBlobHttpUriRequest, getGoogleCloudStorageHttpUriRequest, getOpenStackStorageHttpUriRequest, getS3HttpUriRequest, getSftpStorageHttpUriRequest, getUrlHttpUriRequestVon Klasse geerbte Methoden com.cloudconvert.resource.AbstractResource
getHttpEntity, getHttpEntity, getHttpUriRequest, getHttpUriRequest, getJson, getSyncUri, getSyncUri, getUri, getUri, requestToMap
-
Konstruktordetails
-
ExportFilesResource
public ExportFilesResource(SettingsProvider settingsProvider, ObjectMapperProvider objectMapperProvider, RequestExecutor requestExecutor)
-
-
Methodendetails
-
url
public Result<TaskResponse> url(@NotNull @NotNull UrlExportRequest urlExportRequest) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerException Beschreibung aus Klasse kopiert:AbstractExportFilesResourceThis task creates temporary URLs which can be used to download the files.Please note that all tasks get deleted after 24 hours automatically. Meaning, the created URLs are available for 24 hours only.
- Angegeben von:
urlin KlasseAbstractExportFilesResource<Result<TaskResponse>>- Parameter:
urlExportRequest-UrlExportRequest- Gibt zurück:
- TRD
- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
s3
public Result<TaskResponse> s3(@NotNull @NotNull S3ExportRequest s3ExportRequest) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerException Beschreibung aus Klasse kopiert:AbstractExportFilesResourceCreate a task to export files to a S3 bucket.- Angegeben von:
s3in KlasseAbstractExportFilesResource<Result<TaskResponse>>- Parameter:
s3ExportRequest-S3ExportRequest- Gibt zurück:
- TRD
- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
azureBlob
public Result<TaskResponse> azureBlob(@NotNull @NotNull AzureBlobExportRequest azureBlobExportRequest) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerException Beschreibung aus Klasse kopiert:AbstractExportFilesResourceCreate a task to export files to a Azure blob container.- Angegeben von:
azureBlobin KlasseAbstractExportFilesResource<Result<TaskResponse>>- Parameter:
azureBlobExportRequest-AzureBlobExportRequest- Gibt zurück:
- TRD
- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
googleCloudStorage
public Result<TaskResponse> googleCloudStorage(@NotNull @NotNull GoogleCloudStorageExportRequest googleCloudStorageExportRequest) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerException Beschreibung aus Klasse kopiert:AbstractExportFilesResourceCreate a task to export files to a Google Cloud Storage bucket.- Angegeben von:
googleCloudStoragein KlasseAbstractExportFilesResource<Result<TaskResponse>>- Parameter:
googleCloudStorageExportRequest-GoogleCloudStorageExportRequest- Gibt zurück:
- TRD
- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
openStack
public Result<TaskResponse> openStack(@NotNull @NotNull OpenStackExportRequest openStackExportRequest) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerException Beschreibung aus Klasse kopiert:AbstractExportFilesResourceCreate a task to export files to OpenStack Object Storage (Swift).- Angegeben von:
openStackin KlasseAbstractExportFilesResource<Result<TaskResponse>>- Parameter:
openStackExportRequest-OpenStackExportRequest- Gibt zurück:
- TRD
- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
sftp
public Result<TaskResponse> sftp(@NotNull @NotNull SftpExportRequest sftpExportRequest) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerException Beschreibung aus Klasse kopiert:AbstractExportFilesResourceCreate a task to export files to a SFTP server.- Angegeben von:
sftpin KlasseAbstractExportFilesResource<Result<TaskResponse>>- Parameter:
sftpExportRequest-SftpExportRequest- Gibt zurück:
- TRD
- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
close
- Löst aus:
IOException
-