Class UpdateFlowsOptions.Builder

  • Enclosing class:
    UpdateFlowsOptions

    public static class UpdateFlowsOptions.Builder
    extends java.lang.Object
    Builder.
    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

        public Builder​(java.lang.String id)
        Instantiates a new builder with required properties.
        Parameters:
        id - the id
    • Method Detail

      • build

        public UpdateFlowsOptions build()
        Builds a UpdateFlowsOptions.
        Returns:
        the new UpdateFlowsOptions instance
      • addNewAnnotatorFlows

        public UpdateFlowsOptions.Builder addNewAnnotatorFlows​(AnnotatorFlow newAnnotatorFlows)
        Adds an newAnnotatorFlows to newAnnotatorFlows.
        Parameters:
        newAnnotatorFlows - the new newAnnotatorFlows
        Returns:
        the UpdateFlowsOptions builder
      • id

        public UpdateFlowsOptions.Builder id​(java.lang.String id)
        Set the id.
        Parameters:
        id - the id
        Returns:
        the UpdateFlowsOptions builder
      • newId

        public UpdateFlowsOptions.Builder newId​(java.lang.String newId)
        Set the newId.
        Parameters:
        newId - the newId
        Returns:
        the UpdateFlowsOptions builder
      • newName

        public UpdateFlowsOptions.Builder newName​(java.lang.String newName)
        Set the newName.
        Parameters:
        newName - the newName
        Returns:
        the UpdateFlowsOptions builder
      • newDescription

        public UpdateFlowsOptions.Builder newDescription​(java.lang.String newDescription)
        Set the newDescription.
        Parameters:
        newDescription - the newDescription
        Returns:
        the UpdateFlowsOptions builder
      • newPublishedDate

        public UpdateFlowsOptions.Builder newPublishedDate​(java.lang.String newPublishedDate)
        Set the newPublishedDate.
        Parameters:
        newPublishedDate - the newPublishedDate
        Returns:
        the UpdateFlowsOptions builder
      • newPublish

        public UpdateFlowsOptions.Builder newPublish​(java.lang.Boolean newPublish)
        Set the newPublish.
        Parameters:
        newPublish - the newPublish
        Returns:
        the UpdateFlowsOptions builder
      • newVersion

        public UpdateFlowsOptions.Builder newVersion​(java.lang.String newVersion)
        Set the newVersion.
        Parameters:
        newVersion - the newVersion
        Returns:
        the UpdateFlowsOptions builder
      • newCartridgeId

        public UpdateFlowsOptions.Builder newCartridgeId​(java.lang.String newCartridgeId)
        Set the newCartridgeId.
        Parameters:
        newCartridgeId - the newCartridgeId
        Returns:
        the UpdateFlowsOptions builder
      • newAnnotatorFlows

        public UpdateFlowsOptions.Builder newAnnotatorFlows​(java.util.List<AnnotatorFlow> newAnnotatorFlows)
        Set the newAnnotatorFlows. Existing newAnnotatorFlows will be replaced.
        Parameters:
        newAnnotatorFlows - the newAnnotatorFlows
        Returns:
        the UpdateFlowsOptions builder
      • acdFlow

        public UpdateFlowsOptions.Builder acdFlow​(AcdFlow acdFlow)
        Set the acdFlow.
        Parameters:
        acdFlow - the acdFlow
        Returns:
        the UpdateFlowsOptions builder