Class UpdateDataProductReleaseOptions.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

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

      • build

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

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

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

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

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