Class ProcessPatch.Builder

java.lang.Object
io.skipcheck.tm1.client.model.ProcessPatch.Builder
Enclosing class:
ProcessPatch

public static final class ProcessPatch.Builder extends Object
Builds a ProcessPatch; each setter replaces what an earlier call set.
  • Method Details

    • name

      public ProcessPatch.Builder name(@Nullable String name)
      Sets Name: The name of a TurboIntegrator process.
      Parameters:
      name - the value; null sends an explicit null
      Returns:
      this builder
    • hasSecurityAccess

      public ProcessPatch.Builder hasSecurityAccess(@Nullable Boolean hasSecurityAccess)
      Sets HasSecurityAccess: A Boolean that indicates whether the user security access to run this process.
      Parameters:
      hasSecurityAccess - the value; null sends an explicit null
      Returns:
      this builder
    • prologProcedure

      public ProcessPatch.Builder prologProcedure(@Nullable String prologProcedure)
      Sets PrologProcedure: The code that is executed during the Prolog stage of the process.
      Parameters:
      prologProcedure - the value; null sends an explicit null
      Returns:
      this builder
    • metadataProcedure

      public ProcessPatch.Builder metadataProcedure(@Nullable String metadataProcedure)
      Sets MetadataProcedure: The code that is executed during the Metadata stage of the process.
      Parameters:
      metadataProcedure - the value; null sends an explicit null
      Returns:
      this builder
    • dataProcedure

      public ProcessPatch.Builder dataProcedure(@Nullable String dataProcedure)
      Sets DataProcedure: The code that is executed during the Data stage of the process.
      Parameters:
      dataProcedure - the value; null sends an explicit null
      Returns:
      this builder
    • epilogProcedure

      public ProcessPatch.Builder epilogProcedure(@Nullable String epilogProcedure)
      Sets EpilogProcedure: The code that is executed during the Epilog stage of the process.
      Parameters:
      epilogProcedure - the value; null sends an explicit null
      Returns:
      this builder
    • dataSource

      public ProcessPatch.Builder dataSource(@Nullable ProcessDataSourcePatch dataSource)
      Sets DataSource: The source of the data for the process.
      Parameters:
      dataSource - the value; null sends an explicit null
      Returns:
      this builder
    • parameters

      public ProcessPatch.Builder parameters(@Nullable List<ProcessParameterPatch> parameters)
      Sets Parameters: Parameters used by the process.
      Parameters:
      parameters - the value; null sends an explicit null
      Returns:
      this builder
    • variables

      public ProcessPatch.Builder variables(@Nullable List<ProcessVariablePatch> variables)
      Sets Variables: Variables used by the process.
      Parameters:
      variables - the value; null sends an explicit null
      Returns:
      this builder
    • attributes

      public ProcessPatch.Builder attributes(@Nullable AttributesPatch attributes)
      Sets Attributes: The attributes of the process.
      Parameters:
      attributes - the value; null sends an explicit null
      Returns:
      this builder
    • localizedAttributes

      public ProcessPatch.Builder localizedAttributes(@Nullable List<LocalizedAttributesPatch> localizedAttributes)
      Sets LocalizedAttributes: Translated string values for properties of the process. (nested, for a deep insert)
      Parameters:
      localizedAttributes - the value; null sends an explicit null
      Returns:
      this builder
    • bindLocalizedAttributes

      public ProcessPatch.Builder bindLocalizedAttributes(ODataPath... targets)
      Binds LocalizedAttributes to existing entities (LocalizedAttributes@odata.bind).
      Parameters:
      targets - the entities' paths, such as Dimensions('Region')
      Returns:
      this builder
    • errorLogs

      @Since("10.2.2.2") public ProcessPatch.Builder errorLogs(@Nullable List<ProcessErrorLogPatch> errorLogs)
      Sets ErrorLogs: A collection of error logs for the process. (nested, for a deep insert)
      Parameters:
      errorLogs - the value; null sends an explicit null
      Returns:
      this builder
    • bindErrorLogs

      @Since("10.2.2.2") public ProcessPatch.Builder bindErrorLogs(ODataPath... targets)
      Binds ErrorLogs to existing entities (ErrorLogs@odata.bind).
      Parameters:
      targets - the entities' paths, such as Dimensions('Region')
      Returns:
      this builder
    • build

      public ProcessPatch build()
      The patch, with what's been set so far.
      Returns:
      the patch