Class UpdateDraftContractTermsDocumentOptions.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

        public Builder​(java.lang.String dataProductId,
                       java.lang.String draftId,
                       java.lang.String contractTermsId,
                       java.lang.String documentId,
                       java.util.List<JsonPatchOperation> jsonPatchInstructions)
        Instantiates a new builder with required properties.
        Parameters:
        dataProductId - the dataProductId
        draftId - the draftId
        contractTermsId - the contractTermsId
        documentId - the documentId
        jsonPatchInstructions - the jsonPatchInstructions
    • Method Detail

      • dataProductId

        public UpdateDraftContractTermsDocumentOptions.Builder dataProductId​(java.lang.String dataProductId)
        Set the dataProductId.
        Parameters:
        dataProductId - the dataProductId
        Returns:
        the UpdateDraftContractTermsDocumentOptions builder
      • contractTermsId

        public UpdateDraftContractTermsDocumentOptions.Builder contractTermsId​(java.lang.String contractTermsId)
        Set the contractTermsId.
        Parameters:
        contractTermsId - the contractTermsId
        Returns:
        the UpdateDraftContractTermsDocumentOptions builder
      • jsonPatchInstructions

        public UpdateDraftContractTermsDocumentOptions.Builder jsonPatchInstructions​(java.util.List<JsonPatchOperation> jsonPatchInstructions)
        Set the jsonPatchInstructions. Existing jsonPatchInstructions will be replaced.
        Parameters:
        jsonPatchInstructions - the jsonPatchInstructions
        Returns:
        the UpdateDraftContractTermsDocumentOptions builder