Package com.mypurecloud.sdk.v2.model
Class UploadUrlRequest
java.lang.Object
com.mypurecloud.sdk.v2.model.UploadUrlRequest
- All Implemented Interfaces:
Serializable
UploadUrlRequest
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumGets or Sets serverSideEncryption -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontentMd5(String contentMd5) Content MD5 of the file to uploadcontentType(String contentType) The content type of the file to upload.booleanName of the file to upload.inthashCode()serverSideEncryption(UploadUrlRequest.ServerSideEncryptionEnum serverSideEncryption) voidsetContentMd5(String contentMd5) voidsetContentType(String contentType) voidsetFileName(String fileName) voidsetServerSideEncryption(UploadUrlRequest.ServerSideEncryptionEnum serverSideEncryption) voidsetSignedUrlTimeoutSeconds(Integer signedUrlTimeoutSeconds) signedUrlTimeoutSeconds(Integer signedUrlTimeoutSeconds) The number of seconds the presigned URL is valid for (from 1 to 604800 seconds).toString()
-
Constructor Details
-
UploadUrlRequest
public UploadUrlRequest() -
UploadUrlRequest
-
-
Method Details
-
fileName
Name of the file to upload. It must not start with a dot and not end with a forward slash. Whitespace and the following characters are not allowed: \\{^}%`]\">[~<#| -
getFileName
-
setFileName
-
contentMd5
Content MD5 of the file to upload -
getContentMd5
-
setContentMd5
-
signedUrlTimeoutSeconds
The number of seconds the presigned URL is valid for (from 1 to 604800 seconds). If none provided, defaults to 600 seconds -
getSignedUrlTimeoutSeconds
-
setSignedUrlTimeoutSeconds
-
contentType
The content type of the file to upload. Allows all MIME types -
getContentType
-
setContentType
-
serverSideEncryption
public UploadUrlRequest serverSideEncryption(UploadUrlRequest.ServerSideEncryptionEnum serverSideEncryption) -
getServerSideEncryption
-
setServerSideEncryption
-
equals
-
hashCode
public int hashCode() -
toString
-