Class UploadUrlRequest

java.lang.Object
com.mypurecloud.sdk.v2.model.UploadUrlRequest
All Implemented Interfaces:
Serializable

public class UploadUrlRequest extends Object implements Serializable
UploadUrlRequest
See Also:
  • Constructor Details

    • UploadUrlRequest

      public UploadUrlRequest()
    • UploadUrlRequest

      public UploadUrlRequest(Boolean initWithEmptyList)
  • Method Details

    • fileName

      public UploadUrlRequest fileName(String 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

      public String getFileName()
    • setFileName

      public void setFileName(String fileName)
    • contentMd5

      public UploadUrlRequest contentMd5(String contentMd5)
      Content MD5 of the file to upload
    • getContentMd5

      public String getContentMd5()
    • setContentMd5

      public void setContentMd5(String contentMd5)
    • signedUrlTimeoutSeconds

      public UploadUrlRequest signedUrlTimeoutSeconds(Integer signedUrlTimeoutSeconds)
      The number of seconds the presigned URL is valid for (from 1 to 604800 seconds). If none provided, defaults to 600 seconds
    • getSignedUrlTimeoutSeconds

      public Integer getSignedUrlTimeoutSeconds()
    • setSignedUrlTimeoutSeconds

      public void setSignedUrlTimeoutSeconds(Integer signedUrlTimeoutSeconds)
    • contentType

      public UploadUrlRequest contentType(String contentType)
      The content type of the file to upload. Allows all MIME types
    • getContentType

      public String getContentType()
    • setContentType

      public void setContentType(String contentType)
    • serverSideEncryption

      public UploadUrlRequest serverSideEncryption(UploadUrlRequest.ServerSideEncryptionEnum serverSideEncryption)
    • getServerSideEncryption

      public UploadUrlRequest.ServerSideEncryptionEnum getServerSideEncryption()
    • setServerSideEncryption

      public void setServerSideEncryption(UploadUrlRequest.ServerSideEncryptionEnum serverSideEncryption)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object