Class ConfigurationPatch.Builder

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

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

    • serverName

      public ConfigurationPatch.Builder serverName(@Nullable String serverName)
      Sets ServerName: The name of the server.
      Parameters:
      serverName - the value; null sends an explicit null
      Returns:
      this builder
    • adminHost

      public ConfigurationPatch.Builder adminHost(@Nullable String adminHost)
      Sets AdminHost: The location where TM1 Admin Server is running.
      Parameters:
      adminHost - the value; null sends an explicit null
      Returns:
      this builder
    • productVersion

      public ConfigurationPatch.Builder productVersion(@Nullable String productVersion)
      Sets ProductVersion: The product version of the TM1 server.
      Parameters:
      productVersion - the value; null sends an explicit null
      Returns:
      this builder
    • portNumber

      public ConfigurationPatch.Builder portNumber(@Nullable Integer portNumber)
      Sets PortNumber: The port number of the TM1 server, which is used to distinguish between multiple servers running on the same computer.
      Parameters:
      portNumber - the value; null sends an explicit null
      Returns:
      this builder
    • clientMessagePortNumber

      public ConfigurationPatch.Builder clientMessagePortNumber(@Nullable Integer clientMessagePortNumber)
      Sets ClientMessagePortNumber: A secondary port used to accept client messages concerning the progress and ultimate cancellation of a lengthy operation without tying up thread reserves.
      Parameters:
      clientMessagePortNumber - the value; null sends an explicit null
      Returns:
      this builder
    • httpPortNumber

      public ConfigurationPatch.Builder httpPortNumber(@Nullable Integer httpPortNumber)
      Sets HTTPPortNumber: The port number on which the TM1 server listens for incoming HTTP(S) requests.
      Parameters:
      httpPortNumber - the value; null sends an explicit null
      Returns:
      this builder
    • integratedSecurityMode

      public ConfigurationPatch.Builder integratedSecurityMode(@Nullable Boolean integratedSecurityMode)
      Sets IntegratedSecurityMode: A Boolean that indicates whether the TM1 server uses integrated security modes.
      Parameters:
      integratedSecurityMode - the value; null sends an explicit null
      Returns:
      this builder
    • securityMode

      public ConfigurationPatch.Builder securityMode(@Nullable String securityMode)
      Sets SecurityMode: The user authentication mode to be used by TM1 server.
      Parameters:
      securityMode - the value; null sends an explicit null
      Returns:
      this builder
    • principalName

      public ConfigurationPatch.Builder principalName(@Nullable String principalName)
      Sets PrincipalName: The service principal name (SPN) when using Integrated Login with TM1 Web and constrained delegation.
      Parameters:
      principalName - the value; null sends an explicit null
      Returns:
      this builder
    • securityPackageName

      public ConfigurationPatch.Builder securityPackageName(@Nullable String securityPackageName)
      Sets SecurityPackageName: If you configure the TM1 server to use Integrated Login, the SecurityPackageName parameter defines the security package that authenticates your user name and password in Microsoft Windows.
      Parameters:
      securityPackageName - the value; null sends an explicit null
      Returns:
      this builder
    • clientCAMURIs

      public ConfigurationPatch.Builder clientCAMURIs(@Nullable List<String> clientCAMURIs)
      Sets ClientCAMURIs: A collection of URIs used to authenticate TM1 clients.
      Parameters:
      clientCAMURIs - the value; null sends an explicit null
      Returns:
      this builder
    • webCAMURI

      public ConfigurationPatch.Builder webCAMURI(@Nullable String webCAMURI)
      Sets WebCAMURI: The URI used to authenticate TM1 Web clients.
      Parameters:
      webCAMURI - the value; null sends an explicit null
      Returns:
      this builder
    • clientPingCAMPassport

      public ConfigurationPatch.Builder clientPingCAMPassport(@Nullable Integer clientPingCAMPassport)
      Sets ClientPingCAMPassport: Indicates the interval, in seconds, that a client should ping the CAM server to keep their passport alive.
      Parameters:
      clientPingCAMPassport - the value; null sends an explicit null
      Returns:
      this builder
    • serverCAMURI

      public ConfigurationPatch.Builder serverCAMURI(@Nullable String serverCAMURI)
      Sets ServerCAMURI: Specifies the URI for the internal dispatcher that the TM1 server should use to connect to Cognos Authentication Manager (CAM).
      Parameters:
      serverCAMURI - the value; null sends an explicit null
      Returns:
      this builder
    • allowSeparateNandCRules

      public ConfigurationPatch.Builder allowSeparateNandCRules(@Nullable Boolean allowSeparateNandCRules)
      Sets AllowSeparateNandCRules: Lets you specify rule expressions for N: and C: levels on separate lines using identical AREA definitions.
      Parameters:
      allowSeparateNandCRules - the value; null sends an explicit null
      Returns:
      this builder
    • distributedOutputDir

      public ConfigurationPatch.Builder distributedOutputDir(@Nullable String distributedOutputDir)
      Sets DistributedOutputDir: Defines the directory to which TUnits are written when a Cognos Insight distributed application is deployed.
      Parameters:
      distributedOutputDir - the value; null sends an explicit null
      Returns:
      this builder
    • disableSandboxing

      public ConfigurationPatch.Builder disableSandboxing(@Nullable Boolean disableSandboxing)
      Sets DisableSandboxing: A Boolean that indicates whether users have the ability to use sandboxes across the server.
      Parameters:
      disableSandboxing - the value; null sends an explicit null
      Returns:
      this builder
    • jobQueuing

      public ConfigurationPatch.Builder jobQueuing(@Nullable Boolean jobQueuing)
      Sets JobQueuing: A Boolean that indicates whether the TM1 server should use queues to merge sandboxes.
      Parameters:
      jobQueuing - the value; null sends an explicit null
      Returns:
      this builder
    • forceReevaluationOfFeedersForFedCellsOnDataChange

      public ConfigurationPatch.Builder forceReevaluationOfFeedersForFedCellsOnDataChange(@Nullable Boolean forceReevaluationOfFeedersForFedCellsOnDataChange)
      Sets ForceReevaluationOfFeedersForFedCellsOnDataChange: When this parameter is set, a feeder statement is forced to be re-evaluated when data changes.
      Parameters:
      forceReevaluationOfFeedersForFedCellsOnDataChange - the value; null sends an explicit null
      Returns:
      this builder
    • dataBaseDirectory

      public ConfigurationPatch.Builder dataBaseDirectory(@Nullable String dataBaseDirectory)
      Sets DataBaseDirectory: Specifies the data directory from which the server loads cubes, dimensions, and other objects.
      Parameters:
      dataBaseDirectory - the value; null sends an explicit null
      Returns:
      this builder
    • unicodeUpperLowerCase

      public ConfigurationPatch.Builder unicodeUpperLowerCase(@Nullable Boolean unicodeUpperLowerCase)
      Sets UnicodeUpperLowerCase: Instructs the TM1 server to identify and handle Unicode object names, preventing the creation of identical Unicode object names that vary only in case.
      Parameters:
      unicodeUpperLowerCase - the value; null sends an explicit null
      Returns:
      this builder
    • build

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