Class CreateJobDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • displayName

        public CreateJobDetails.Builder displayName​(String displayName)
        A user-friendly display name.

        Does not have to be unique, and it’s changeable. Avoid entering confidential information.

        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • description

        public CreateJobDetails.Builder description​(String description)
        Detailed description of the job.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • scheduleCronExpression

        public CreateJobDetails.Builder scheduleCronExpression​(String scheduleCronExpression)
        Interval on which the job will be run.

        Value is specified as a cron-supported time specification “nickname”. The following subset of those is supported: @monthly, @weekly, @daily, @hourly. For metastore sync, an additional option @default is supported, which will schedule jobs at a more granular frequency.

        Parameters:
        scheduleCronExpression - the value to set
        Returns:
        this builder
      • timeScheduleBegin

        public CreateJobDetails.Builder timeScheduleBegin​(Date timeScheduleBegin)
        Date that the schedule should be operational.

        An RFC3339 formatted datetime string.

        Parameters:
        timeScheduleBegin - the value to set
        Returns:
        this builder
      • timeScheduleEnd

        public CreateJobDetails.Builder timeScheduleEnd​(Date timeScheduleEnd)
        Date that the schedule should end from being operational.

        An RFC3339 formatted datetime string.

        Parameters:
        timeScheduleEnd - the value to set
        Returns:
        this builder
      • connectionKey

        public CreateJobDetails.Builder connectionKey​(String connectionKey)
        The key of the connection used by the job.

        This connection will override the default connection specified in the associated job definition. All executions will use this connection.

        Parameters:
        connectionKey - the value to set
        Returns:
        this builder
      • jobDefinitionKey

        public CreateJobDetails.Builder jobDefinitionKey​(String jobDefinitionKey)
        The unique key of the job definition that defined the scope of this job.
        Parameters:
        jobDefinitionKey - the value to set
        Returns:
        this builder