Interface SyncSchedule.Builder

  • Method Details

    • frequency

      SyncSchedule.Builder frequency(String frequency)

      How often catalog synchronization runs. AWS Glue determines the schedule's start time. Valid values:

      • HOURLY - Every 60 minutes.

      • DAILY - Every 1,440 minutes.

      • WEEKLY - Not supported. You can save this value on a connection created with publish set to false, but publishing the connection with this value returns ValidationException.

      • MONTHLY - Not supported. You can save this value on a connection created with publish set to false, but publishing the connection with this value returns ValidationException.

      Parameters:
      frequency - How often catalog synchronization runs. AWS Glue determines the schedule's start time. Valid values:

      • HOURLY - Every 60 minutes.

      • DAILY - Every 1,440 minutes.

      • WEEKLY - Not supported. You can save this value on a connection created with publish set to false, but publishing the connection with this value returns ValidationException.

      • MONTHLY - Not supported. You can save this value on a connection created with publish set to false, but publishing the connection with this value returns ValidationException.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • frequency

      SyncSchedule.Builder frequency(SyncFrequency frequency)

      How often catalog synchronization runs. AWS Glue determines the schedule's start time. Valid values:

      • HOURLY - Every 60 minutes.

      • DAILY - Every 1,440 minutes.

      • WEEKLY - Not supported. You can save this value on a connection created with publish set to false, but publishing the connection with this value returns ValidationException.

      • MONTHLY - Not supported. You can save this value on a connection created with publish set to false, but publishing the connection with this value returns ValidationException.

      Parameters:
      frequency - How often catalog synchronization runs. AWS Glue determines the schedule's start time. Valid values:

      • HOURLY - Every 60 minutes.

      • DAILY - Every 1,440 minutes.

      • WEEKLY - Not supported. You can save this value on a connection created with publish set to false, but publishing the connection with this value returns ValidationException.

      • MONTHLY - Not supported. You can save this value on a connection created with publish set to false, but publishing the connection with this value returns ValidationException.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • cronExpression

      SyncSchedule.Builder cronExpression(String cronExpression)

      Not supported. Catalog synchronization doesn't support cron schedules, so publishing a connection with this member returns ValidationException. Use frequency instead.

      Parameters:
      cronExpression - Not supported. Catalog synchronization doesn't support cron schedules, so publishing a connection with this member returns ValidationException. Use frequency instead.
      Returns:
      Returns a reference to this object so that method calls can be chained together.