Class CronOptions.Builder
java.lang.Object
software.amazon.awscdk.services.synthetics.alpha.CronOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CronOptions>
- Enclosing interface:
CronOptions
@Stability(Deprecated)
@Deprecated
public static final class CronOptions.Builder
extends Object
implements software.amazon.jsii.Builder<CronOptions>
Deprecated.
A builder for
CronOptions-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.
-
Constructor Details
-
Builder
public Builder()Deprecated.
-
-
Method Details
-
day
Deprecated.Sets the value ofCronOptions.getDay()- Parameters:
day- The day of the month to run this rule at.- Returns:
this
-
hour
Deprecated.Sets the value ofCronOptions.getHour()- Parameters:
hour- The hour to run this rule at.- Returns:
this
-
minute
Deprecated.Sets the value ofCronOptions.getMinute()- Parameters:
minute- The minute to run this rule at.- Returns:
this
-
month
Deprecated.Sets the value ofCronOptions.getMonth()- Parameters:
month- The month to run this rule at.- Returns:
this
-
weekDay
Deprecated.Sets the value ofCronOptions.getWeekDay()- Parameters:
weekDay- The day of the week to run this rule at.- Returns:
this
-
build
Deprecated.Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CronOptions>- Returns:
- a new instance of
CronOptions - Throws:
NullPointerException- if any required attribute was not provided
-