Package com.pulumi.aws.scheduler.inputs
Class ScheduleState.Builder
- java.lang.Object
-
- com.pulumi.aws.scheduler.inputs.ScheduleState.Builder
-
- Enclosing class:
- ScheduleState
public static final class ScheduleState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(ScheduleState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScheduleState.BuilderactionAfterCompletion(com.pulumi.core.Output<java.lang.String> actionAfterCompletion)ScheduleState.BuilderactionAfterCompletion(java.lang.String actionAfterCompletion)ScheduleState.Builderarn(com.pulumi.core.Output<java.lang.String> arn)ScheduleState.Builderarn(java.lang.String arn)ScheduleStatebuild()ScheduleState.Builderdescription(com.pulumi.core.Output<java.lang.String> description)ScheduleState.Builderdescription(java.lang.String description)ScheduleState.BuilderendDate(com.pulumi.core.Output<java.lang.String> endDate)ScheduleState.BuilderendDate(java.lang.String endDate)ScheduleState.BuilderflexibleTimeWindow(ScheduleFlexibleTimeWindowArgs flexibleTimeWindow)ScheduleState.BuilderflexibleTimeWindow(com.pulumi.core.Output<ScheduleFlexibleTimeWindowArgs> flexibleTimeWindow)ScheduleState.BuildergroupName(com.pulumi.core.Output<java.lang.String> groupName)ScheduleState.BuildergroupName(java.lang.String groupName)ScheduleState.BuilderkmsKeyArn(com.pulumi.core.Output<java.lang.String> kmsKeyArn)ScheduleState.BuilderkmsKeyArn(java.lang.String kmsKeyArn)ScheduleState.Buildername(com.pulumi.core.Output<java.lang.String> name)ScheduleState.Buildername(java.lang.String name)ScheduleState.BuildernamePrefix(com.pulumi.core.Output<java.lang.String> namePrefix)ScheduleState.BuildernamePrefix(java.lang.String namePrefix)ScheduleState.Builderregion(com.pulumi.core.Output<java.lang.String> region)ScheduleState.Builderregion(java.lang.String region)ScheduleState.BuilderscheduleExpression(com.pulumi.core.Output<java.lang.String> scheduleExpression)ScheduleState.BuilderscheduleExpression(java.lang.String scheduleExpression)ScheduleState.BuilderscheduleExpressionTimezone(com.pulumi.core.Output<java.lang.String> scheduleExpressionTimezone)ScheduleState.BuilderscheduleExpressionTimezone(java.lang.String scheduleExpressionTimezone)ScheduleState.BuilderstartDate(com.pulumi.core.Output<java.lang.String> startDate)ScheduleState.BuilderstartDate(java.lang.String startDate)ScheduleState.Builderstate(com.pulumi.core.Output<java.lang.String> state)ScheduleState.Builderstate(java.lang.String state)ScheduleState.Buildertarget(ScheduleTargetArgs target)ScheduleState.Buildertarget(com.pulumi.core.Output<ScheduleTargetArgs> target)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ScheduleState defaults)
-
-
Method Detail
-
actionAfterCompletion
public ScheduleState.Builder actionAfterCompletion(@Nullable com.pulumi.core.Output<java.lang.String> actionAfterCompletion)
- Parameters:
actionAfterCompletion- Action that applies to the schedule after completing invocation of the target. Valid values are `NONE` and `DELETE`. Defaults to `NONE`.- Returns:
- builder
-
actionAfterCompletion
public ScheduleState.Builder actionAfterCompletion(java.lang.String actionAfterCompletion)
- Parameters:
actionAfterCompletion- Action that applies to the schedule after completing invocation of the target. Valid values are `NONE` and `DELETE`. Defaults to `NONE`.- Returns:
- builder
-
arn
public ScheduleState.Builder arn(@Nullable com.pulumi.core.Output<java.lang.String> arn)
- Parameters:
arn- ARN of the schedule.- Returns:
- builder
-
arn
public ScheduleState.Builder arn(java.lang.String arn)
- Parameters:
arn- ARN of the schedule.- Returns:
- builder
-
description
public ScheduleState.Builder description(@Nullable com.pulumi.core.Output<java.lang.String> description)
- Parameters:
description- Brief description of the schedule.- Returns:
- builder
-
description
public ScheduleState.Builder description(java.lang.String description)
- Parameters:
description- Brief description of the schedule.- Returns:
- builder
-
endDate
public ScheduleState.Builder endDate(@Nullable com.pulumi.core.Output<java.lang.String> endDate)
- Parameters:
endDate- The date, in UTC, before which the schedule can invoke its target. Depending on the schedule's recurrence expression, invocations might stop on, or before, the end date you specify. EventBridge Scheduler ignores the end date for one-time schedules. Example: `2030-01-01T01:00:00Z`.- Returns:
- builder
-
endDate
public ScheduleState.Builder endDate(java.lang.String endDate)
- Parameters:
endDate- The date, in UTC, before which the schedule can invoke its target. Depending on the schedule's recurrence expression, invocations might stop on, or before, the end date you specify. EventBridge Scheduler ignores the end date for one-time schedules. Example: `2030-01-01T01:00:00Z`.- Returns:
- builder
-
flexibleTimeWindow
public ScheduleState.Builder flexibleTimeWindow(@Nullable com.pulumi.core.Output<ScheduleFlexibleTimeWindowArgs> flexibleTimeWindow)
- Parameters:
flexibleTimeWindow- Configures a time window during which EventBridge Scheduler invokes the schedule. Detailed below.- Returns:
- builder
-
flexibleTimeWindow
public ScheduleState.Builder flexibleTimeWindow(ScheduleFlexibleTimeWindowArgs flexibleTimeWindow)
- Parameters:
flexibleTimeWindow- Configures a time window during which EventBridge Scheduler invokes the schedule. Detailed below.- Returns:
- builder
-
groupName
public ScheduleState.Builder groupName(@Nullable com.pulumi.core.Output<java.lang.String> groupName)
- Parameters:
groupName- Name of the schedule group to associate with this schedule. When omitted, the `default` schedule group is used.- Returns:
- builder
-
groupName
public ScheduleState.Builder groupName(java.lang.String groupName)
- Parameters:
groupName- Name of the schedule group to associate with this schedule. When omitted, the `default` schedule group is used.- Returns:
- builder
-
kmsKeyArn
public ScheduleState.Builder kmsKeyArn(@Nullable com.pulumi.core.Output<java.lang.String> kmsKeyArn)
- Parameters:
kmsKeyArn- ARN for the customer managed KMS key that EventBridge Scheduler will use to encrypt and decrypt your data.- Returns:
- builder
-
kmsKeyArn
public ScheduleState.Builder kmsKeyArn(java.lang.String kmsKeyArn)
- Parameters:
kmsKeyArn- ARN for the customer managed KMS key that EventBridge Scheduler will use to encrypt and decrypt your data.- Returns:
- builder
-
name
public ScheduleState.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name- Name of the schedule. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`.- Returns:
- builder
-
name
public ScheduleState.Builder name(java.lang.String name)
- Parameters:
name- Name of the schedule. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`.- Returns:
- builder
-
namePrefix
public ScheduleState.Builder namePrefix(@Nullable com.pulumi.core.Output<java.lang.String> namePrefix)
- Parameters:
namePrefix- Creates a unique name beginning with the specified prefix. Conflicts with `name`.- Returns:
- builder
-
namePrefix
public ScheduleState.Builder namePrefix(java.lang.String namePrefix)
- Parameters:
namePrefix- Creates a unique name beginning with the specified prefix. Conflicts with `name`.- Returns:
- builder
-
region
public ScheduleState.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public ScheduleState.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
scheduleExpression
public ScheduleState.Builder scheduleExpression(@Nullable com.pulumi.core.Output<java.lang.String> scheduleExpression)
- Parameters:
scheduleExpression- Defines when the schedule runs. Read more in [Schedule types on EventBridge Scheduler](https://docs.aws.amazon.com/scheduler/latest/UserGuide/schedule-types.html).- Returns:
- builder
-
scheduleExpression
public ScheduleState.Builder scheduleExpression(java.lang.String scheduleExpression)
- Parameters:
scheduleExpression- Defines when the schedule runs. Read more in [Schedule types on EventBridge Scheduler](https://docs.aws.amazon.com/scheduler/latest/UserGuide/schedule-types.html).- Returns:
- builder
-
scheduleExpressionTimezone
public ScheduleState.Builder scheduleExpressionTimezone(@Nullable com.pulumi.core.Output<java.lang.String> scheduleExpressionTimezone)
- Parameters:
scheduleExpressionTimezone- Timezone in which the scheduling expression is evaluated. Defaults to `UTC`. Example: `Australia/Sydney`.- Returns:
- builder
-
scheduleExpressionTimezone
public ScheduleState.Builder scheduleExpressionTimezone(java.lang.String scheduleExpressionTimezone)
- Parameters:
scheduleExpressionTimezone- Timezone in which the scheduling expression is evaluated. Defaults to `UTC`. Example: `Australia/Sydney`.- Returns:
- builder
-
startDate
public ScheduleState.Builder startDate(@Nullable com.pulumi.core.Output<java.lang.String> startDate)
- Parameters:
startDate- The date, in UTC, after which the schedule can begin invoking its target. Depending on the schedule's recurrence expression, invocations might occur on, or after, the start date you specify. EventBridge Scheduler ignores the start date for one-time schedules. Example: `2030-01-01T01:00:00Z`.- Returns:
- builder
-
startDate
public ScheduleState.Builder startDate(java.lang.String startDate)
- Parameters:
startDate- The date, in UTC, after which the schedule can begin invoking its target. Depending on the schedule's recurrence expression, invocations might occur on, or after, the start date you specify. EventBridge Scheduler ignores the start date for one-time schedules. Example: `2030-01-01T01:00:00Z`.- Returns:
- builder
-
state
public ScheduleState.Builder state(@Nullable com.pulumi.core.Output<java.lang.String> state)
- Parameters:
state- Specifies whether the schedule is enabled or disabled. One of: `ENABLED` (default), `DISABLED`.- Returns:
- builder
-
state
public ScheduleState.Builder state(java.lang.String state)
- Parameters:
state- Specifies whether the schedule is enabled or disabled. One of: `ENABLED` (default), `DISABLED`.- Returns:
- builder
-
target
public ScheduleState.Builder target(@Nullable com.pulumi.core.Output<ScheduleTargetArgs> target)
- Parameters:
target- Configures the target of the schedule. Detailed below. The following arguments are optional:- Returns:
- builder
-
target
public ScheduleState.Builder target(ScheduleTargetArgs target)
- Parameters:
target- Configures the target of the schedule. Detailed below. The following arguments are optional:- Returns:
- builder
-
build
public ScheduleState build()
-
-