Class SchedulerScheduleConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.scheduler_schedule.SchedulerScheduleConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<SchedulerScheduleConfig>
- Enclosing interface:
- SchedulerScheduleConfig
@Stability(Stable) public static final class SchedulerScheduleConfig.Builder extends Object implements software.amazon.jsii.Builder<SchedulerScheduleConfig>
A builder forSchedulerScheduleConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
flexibleTimeWindow
@Stability(Stable) public SchedulerScheduleConfig.Builder flexibleTimeWindow(SchedulerScheduleFlexibleTimeWindow flexibleTimeWindow)
Sets the value ofSchedulerScheduleConfig.getFlexibleTimeWindow()- Parameters:
flexibleTimeWindow- flexible_time_window block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/scheduler_schedule#flexible_time_window SchedulerSchedule#flexible_time_window}- Returns:
this
-
scheduleExpression
@Stability(Stable) public SchedulerScheduleConfig.Builder scheduleExpression(String scheduleExpression)
Sets the value ofSchedulerScheduleConfig.getScheduleExpression()- Parameters:
scheduleExpression- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/scheduler_schedule#schedule_expression SchedulerSchedule#schedule_expression}. This parameter is required.- Returns:
this
-
target
@Stability(Stable) public SchedulerScheduleConfig.Builder target(SchedulerScheduleTarget target)
Sets the value ofSchedulerScheduleConfig.getTarget()- Parameters:
target- target block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/scheduler_schedule#target SchedulerSchedule#target}- Returns:
this
-
description
@Stability(Stable) public SchedulerScheduleConfig.Builder description(String description)
Sets the value ofSchedulerScheduleConfig.getDescription()- Parameters:
description- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/scheduler_schedule#description SchedulerSchedule#description}.- Returns:
this
-
endDate
@Stability(Stable) public SchedulerScheduleConfig.Builder endDate(String endDate)
Sets the value ofSchedulerScheduleConfig.getEndDate()- Parameters:
endDate- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/scheduler_schedule#end_date SchedulerSchedule#end_date}.- Returns:
this
-
groupName
@Stability(Stable) public SchedulerScheduleConfig.Builder groupName(String groupName)
Sets the value ofSchedulerScheduleConfig.getGroupName()- Parameters:
groupName- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/scheduler_schedule#group_name SchedulerSchedule#group_name}.- Returns:
this
-
id
@Stability(Stable) public SchedulerScheduleConfig.Builder id(String id)
Sets the value ofSchedulerScheduleConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/scheduler_schedule#id SchedulerSchedule#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.- Returns:
this
-
kmsKeyArn
@Stability(Stable) public SchedulerScheduleConfig.Builder kmsKeyArn(String kmsKeyArn)
Sets the value ofSchedulerScheduleConfig.getKmsKeyArn()- Parameters:
kmsKeyArn- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/scheduler_schedule#kms_key_arn SchedulerSchedule#kms_key_arn}.- Returns:
this
-
name
@Stability(Stable) public SchedulerScheduleConfig.Builder name(String name)
Sets the value ofSchedulerScheduleConfig.getName()- Parameters:
name- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/scheduler_schedule#name SchedulerSchedule#name}.- Returns:
this
-
namePrefix
@Stability(Stable) public SchedulerScheduleConfig.Builder namePrefix(String namePrefix)
Sets the value ofSchedulerScheduleConfig.getNamePrefix()- Parameters:
namePrefix- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/scheduler_schedule#name_prefix SchedulerSchedule#name_prefix}.- Returns:
this
-
scheduleExpressionTimezone
@Stability(Stable) public SchedulerScheduleConfig.Builder scheduleExpressionTimezone(String scheduleExpressionTimezone)
Sets the value ofSchedulerScheduleConfig.getScheduleExpressionTimezone()- Parameters:
scheduleExpressionTimezone- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/scheduler_schedule#schedule_expression_timezone SchedulerSchedule#schedule_expression_timezone}.- Returns:
this
-
startDate
@Stability(Stable) public SchedulerScheduleConfig.Builder startDate(String startDate)
Sets the value ofSchedulerScheduleConfig.getStartDate()- Parameters:
startDate- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/scheduler_schedule#start_date SchedulerSchedule#start_date}.- Returns:
this
-
state
@Stability(Stable) public SchedulerScheduleConfig.Builder state(String state)
Sets the value ofSchedulerScheduleConfig.getState()- Parameters:
state- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/scheduler_schedule#state SchedulerSchedule#state}.- Returns:
this
-
connection
@Stability(Experimental) public SchedulerScheduleConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
connection
@Stability(Experimental) public SchedulerScheduleConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public SchedulerScheduleConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public SchedulerScheduleConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
dependsOn
@Stability(Experimental) public SchedulerScheduleConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
Sets the value ofTerraformMetaArguments.getDependsOn()- Parameters:
dependsOn- the value to be set.- Returns:
this
-
forEach
@Stability(Experimental) public SchedulerScheduleConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
Sets the value ofTerraformMetaArguments.getForEach()- Parameters:
forEach- the value to be set.- Returns:
this
-
lifecycle
@Stability(Experimental) public SchedulerScheduleConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
Sets the value ofTerraformMetaArguments.getLifecycle()- Parameters:
lifecycle- the value to be set.- Returns:
this
-
provider
@Stability(Experimental) public SchedulerScheduleConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
Sets the value ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public SchedulerScheduleConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public SchedulerScheduleConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SchedulerScheduleConfig>- Returns:
- a new instance of
SchedulerScheduleConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-