Class UpdateDataProductDraftOptions.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

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

      • build

        public UpdateDataProductDraftOptions build()
        Builds a UpdateDataProductDraftOptions.
        Returns:
        the new UpdateDataProductDraftOptions instance
      • addJsonPatchInstructions

        public UpdateDataProductDraftOptions.Builder addJsonPatchInstructions​(JsonPatchOperation jsonPatchInstructions)
        Adds a new element to jsonPatchInstructions.
        Parameters:
        jsonPatchInstructions - the new element to be added
        Returns:
        the UpdateDataProductDraftOptions builder
      • dataProductId

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

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

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