@Stability(value=Experimental) public static final class ScheduledTaskImageProps.Builder extends Object implements software.amazon.jsii.Builder<ScheduledTaskImageProps>
ScheduledTaskImageProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ScheduledTaskImageProps |
build()
Builds the configured instance.
|
ScheduledTaskImageProps.Builder |
command(List<String> command)
Sets the value of
ScheduledTaskImageProps.getCommand() |
ScheduledTaskImageProps.Builder |
environment(Map<String,String> environment)
Sets the value of
ScheduledTaskImageProps.getEnvironment() |
ScheduledTaskImageProps.Builder |
image(ContainerImage image)
Sets the value of
ScheduledTaskImageProps.getImage() |
ScheduledTaskImageProps.Builder |
logDriver(LogDriver logDriver)
Sets the value of
ScheduledTaskImageProps.getLogDriver() |
ScheduledTaskImageProps.Builder |
secrets(Map<String,? extends Secret> secrets)
Sets the value of
ScheduledTaskImageProps.getSecrets() |
@Stability(value=Experimental) public ScheduledTaskImageProps.Builder image(ContainerImage image)
ScheduledTaskImageProps.getImage()image - The image used to start a container. This parameter is required.
Image or taskDefinition must be specified, but not both.this@Stability(value=Experimental) public ScheduledTaskImageProps.Builder command(List<String> command)
ScheduledTaskImageProps.getCommand()command - The command that is passed to the container.
If you provide a shell command as a single string, you have to quote command-line arguments.this@Stability(value=Experimental) public ScheduledTaskImageProps.Builder environment(Map<String,String> environment)
ScheduledTaskImageProps.getEnvironment()environment - The environment variables to pass to the container.this@Stability(value=Experimental) public ScheduledTaskImageProps.Builder logDriver(LogDriver logDriver)
ScheduledTaskImageProps.getLogDriver()logDriver - The log driver to use.this@Stability(value=Experimental) public ScheduledTaskImageProps.Builder secrets(Map<String,? extends Secret> secrets)
ScheduledTaskImageProps.getSecrets()secrets - The secret to expose to the container as an environment variable.this@Stability(value=Experimental) public ScheduledTaskImageProps build()
build in interface software.amazon.jsii.Builder<ScheduledTaskImageProps>ScheduledTaskImagePropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.