Interface Schedule.Builder

    • Method Detail

      • accountId

        Schedule.Builder accountId​(String accountId)

        The ID of the Amazon Web Services account that owns the schedule.

        Parameters:
        accountId - The ID of the Amazon Web Services account that owns the schedule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdBy

        Schedule.Builder createdBy​(String createdBy)

        The Amazon Resource Name (ARN) of the user who created the schedule.

        Parameters:
        createdBy - The Amazon Resource Name (ARN) of the user who created the schedule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createDate

        Schedule.Builder createDate​(Instant createDate)

        The date and time that the schedule was created.

        Parameters:
        createDate - The date and time that the schedule was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • jobNames

        Schedule.Builder jobNames​(Collection<String> jobNames)

        A list of jobs to be run, according to the schedule.

        Parameters:
        jobNames - A list of jobs to be run, according to the schedule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • jobNames

        Schedule.Builder jobNames​(String... jobNames)

        A list of jobs to be run, according to the schedule.

        Parameters:
        jobNames - A list of jobs to be run, according to the schedule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastModifiedBy

        Schedule.Builder lastModifiedBy​(String lastModifiedBy)

        The Amazon Resource Name (ARN) of the user who last modified the schedule.

        Parameters:
        lastModifiedBy - The Amazon Resource Name (ARN) of the user who last modified the schedule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastModifiedDate

        Schedule.Builder lastModifiedDate​(Instant lastModifiedDate)

        The date and time when the schedule was last modified.

        Parameters:
        lastModifiedDate - The date and time when the schedule was last modified.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceArn

        Schedule.Builder resourceArn​(String resourceArn)

        The Amazon Resource Name (ARN) of the schedule.

        Parameters:
        resourceArn - The Amazon Resource Name (ARN) of the schedule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • cronExpression

        Schedule.Builder cronExpression​(String cronExpression)

        The dates and times when the job is to run. For more information, see Cron expressions in the Glue DataBrew Developer Guide.

        Parameters:
        cronExpression - The dates and times when the job is to run. For more information, see Cron expressions in the Glue DataBrew Developer Guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        Schedule.Builder tags​(Map<String,​String> tags)

        Metadata tags that have been applied to the schedule.

        Parameters:
        tags - Metadata tags that have been applied to the schedule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        Schedule.Builder name​(String name)

        The name of the schedule.

        Parameters:
        name - The name of the schedule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.