@Stability(value=Experimental) public static final class ScheduledEc2TaskDefinitionOptions.Builder extends Object implements software.amazon.jsii.Builder<ScheduledEc2TaskDefinitionOptions>
ScheduledEc2TaskDefinitionOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ScheduledEc2TaskDefinitionOptions |
build()
Builds the configured instance.
|
ScheduledEc2TaskDefinitionOptions.Builder |
taskDefinition(Ec2TaskDefinition taskDefinition)
Sets the value of
ScheduledEc2TaskDefinitionOptions.getTaskDefinition() |
@Stability(value=Experimental) public ScheduledEc2TaskDefinitionOptions.Builder taskDefinition(Ec2TaskDefinition taskDefinition)
ScheduledEc2TaskDefinitionOptions.getTaskDefinition()taskDefinition - The task definition to use for tasks in the service. One of image or taskDefinition must be specified. This parameter is required.
[disable-awslint:ref-via-interface]this@Stability(value=Experimental) public ScheduledEc2TaskDefinitionOptions build()
build in interface software.amazon.jsii.Builder<ScheduledEc2TaskDefinitionOptions>ScheduledEc2TaskDefinitionOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.