Class UpdateJobDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • displayName

        public UpdateJobDetails.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 UpdateJobDetails.Builder description​(String description)
        Detailed description of the job.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • scheduleCronExpression

        public UpdateJobDetails.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 UpdateJobDetails.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 UpdateJobDetails.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 UpdateJobDetails.Builder connectionKey​(String connectionKey)
        The key of the connection resource that is used for the harvest by this job.
        Parameters:
        connectionKey - the value to set
        Returns:
        this builder