Class BetaManagedAgentsSchedule
-
- All Implemented Interfaces:
public final class BetaManagedAgentsSchedule5-field POSIX cron schedule with computed runtime timestamps.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsSchedule.BuilderA builder for BetaManagedAgentsSchedule.
public final classBetaManagedAgentsSchedule.Type
-
Method Summary
Modifier and Type Method Description final Stringexpression()5-field POSIX cron expression: minute hour day-of-month month day-of-week (e.g., "0 9 * * 1-5" for weekdays at 9am). final Stringtimezone()IANA timezone identifier (e.g., "America/Los_Angeles", "UTC"). final BetaManagedAgentsSchedule.Typetype()final Optional<OffsetDateTime>lastRunAt()A timestamp in RFC 3339 format final Optional<List<OffsetDateTime>>upcomingRunsAt()Up to 5 timestamps of upcoming cron occurrences. final JsonField<String>_expression()Returns the raw JSON value of expression. final JsonField<String>_timezone()Returns the raw JSON value of timezone. final JsonField<BetaManagedAgentsSchedule.Type>_type()Returns the raw JSON value of type. final JsonField<OffsetDateTime>_lastRunAt()Returns the raw JSON value of lastRunAt. final JsonField<List<OffsetDateTime>>_upcomingRunsAt()Returns the raw JSON value of upcomingRunsAt. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsSchedule.BuildertoBuilder()final BetaManagedAgentsSchedulevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsSchedule.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsSchedule. -
-
Method Detail
-
expression
final String expression()
5-field POSIX cron expression: minute hour day-of-month month day-of-week (e.g., "0 9 * * 1-5" for weekdays at 9am). Day-of-week is 0-7 where 0 and 7 both mean Sunday. Extended cron syntax - seconds or year fields, and the special characters L, W, #, and ? - is not supported, nor are predefined shortcuts (@daily).
-
type
final BetaManagedAgentsSchedule.Type type()
-
lastRunAt
final Optional<OffsetDateTime> lastRunAt()
A timestamp in RFC 3339 format
-
upcomingRunsAt
final Optional<List<OffsetDateTime>> upcomingRunsAt()
Up to 5 timestamps of upcoming cron occurrences. Non-empty for active and paused deployments (reflects what the schedule would do if unpaused); empty once the deployment is archived (
archived_atset). Each fire is offset by a small per-schedule jitter, so a run will actually start at or shortly after its listed time.
-
_expression
final JsonField<String> _expression()
Returns the raw JSON value of expression.
Unlike expression, this method doesn't throw if the JSON field has an unexpected type.
-
_timezone
final JsonField<String> _timezone()
Returns the raw JSON value of timezone.
Unlike timezone, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<BetaManagedAgentsSchedule.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_lastRunAt
final JsonField<OffsetDateTime> _lastRunAt()
Returns the raw JSON value of lastRunAt.
Unlike lastRunAt, this method doesn't throw if the JSON field has an unexpected type.
-
_upcomingRunsAt
final JsonField<List<OffsetDateTime>> _upcomingRunsAt()
Returns the raw JSON value of upcomingRunsAt.
Unlike upcomingRunsAt, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsSchedule.Builder toBuilder()
-
validate
final BetaManagedAgentsSchedule validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BetaManagedAgentsSchedule.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsSchedule.
The following fields are required:
.expression() .timezone() .type()
-
-
-
-