Class HeadAttachmentOptions

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.cloudant.v1.model.HeadAttachmentOptions
All Implemented Interfaces:
ObjectModel

public class HeadAttachmentOptions extends GenericModel
The headAttachment options.
  • Method Details

    • newBuilder

      public HeadAttachmentOptions.Builder newBuilder()
      New builder.
      Returns:
      a HeadAttachmentOptions builder
    • db

      public String db()
      Gets the db. Path parameter to specify the database name.
      Returns:
      the db
    • docId

      public String docId()
      Gets the docId. Path parameter to specify the document ID.
      Returns:
      the docId
    • attachmentName

      public String attachmentName()
      Gets the attachmentName. Path parameter to specify the attachment name.
      Returns:
      the attachmentName
    • ifMatch

      public String ifMatch()
      Gets the ifMatch. Header parameter for a conditional HTTP request matching an ETag.
      Returns:
      the ifMatch
    • ifNoneMatch

      public String ifNoneMatch()
      Gets the ifNoneMatch. Header parameter for a conditional HTTP request not matching an ETag.
      Returns:
      the ifNoneMatch
    • rev

      public String rev()
      Gets the rev. Query parameter to specify a document revision.
      Returns:
      the rev