Class PutAttachmentOptions.Builder

java.lang.Object
com.ibm.cloud.cloudant.v1.model.PutAttachmentOptions.Builder
Enclosing class:
PutAttachmentOptions

public static class PutAttachmentOptions.Builder extends Object
Builder.
  • Constructor Details

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

      public Builder(String db, String docId, String attachmentName, InputStream attachment, String contentType)
      Instantiates a new builder with required properties.
      Parameters:
      db - the db
      docId - the docId
      attachmentName - the attachmentName
      attachment - the attachment
      contentType - the contentType
  • Method Details