Package com.pulumi.aws.lightsail.inputs
Class ContainerServiceDeploymentVersionContainerArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.lightsail.inputs.ContainerServiceDeploymentVersionContainerArgs.Builder
-
- Enclosing class:
- ContainerServiceDeploymentVersionContainerArgs
public static final class ContainerServiceDeploymentVersionContainerArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(ContainerServiceDeploymentVersionContainerArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ContainerServiceDeploymentVersionContainerArgs defaults)
-
-
Method Detail
-
commands
public ContainerServiceDeploymentVersionContainerArgs.Builder commands(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> commands)
- Parameters:
commands
- The launch command for the container. A list of string.- Returns:
- builder
-
commands
public ContainerServiceDeploymentVersionContainerArgs.Builder commands(java.util.List<java.lang.String> commands)
- Parameters:
commands
- The launch command for the container. A list of string.- Returns:
- builder
-
commands
public ContainerServiceDeploymentVersionContainerArgs.Builder commands(java.lang.String... commands)
- Parameters:
commands
- The launch command for the container. A list of string.- Returns:
- builder
-
containerName
public ContainerServiceDeploymentVersionContainerArgs.Builder containerName(com.pulumi.core.Output<java.lang.String> containerName)
- Parameters:
containerName
- The name for the container.- Returns:
- builder
-
containerName
public ContainerServiceDeploymentVersionContainerArgs.Builder containerName(java.lang.String containerName)
- Parameters:
containerName
- The name for the container.- Returns:
- builder
-
environment
public ContainerServiceDeploymentVersionContainerArgs.Builder environment(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> environment)
- Parameters:
environment
- A key-value map of the environment variables of the container.- Returns:
- builder
-
environment
public ContainerServiceDeploymentVersionContainerArgs.Builder environment(java.util.Map<java.lang.String,java.lang.String> environment)
- Parameters:
environment
- A key-value map of the environment variables of the container.- Returns:
- builder
-
image
public ContainerServiceDeploymentVersionContainerArgs.Builder image(com.pulumi.core.Output<java.lang.String> image)
- Parameters:
image
- The name of the image used for the container. Container images sourced from your Lightsail container service, that are registered and stored on your service, start with a colon (`:`). For example, `:container-service-1.mystaticwebsite.1`. Container images sourced from a public registry like Docker Hub don't start with a colon. For example, `nginx:latest` or `nginx`.- Returns:
- builder
-
image
public ContainerServiceDeploymentVersionContainerArgs.Builder image(java.lang.String image)
- Parameters:
image
- The name of the image used for the container. Container images sourced from your Lightsail container service, that are registered and stored on your service, start with a colon (`:`). For example, `:container-service-1.mystaticwebsite.1`. Container images sourced from a public registry like Docker Hub don't start with a colon. For example, `nginx:latest` or `nginx`.- Returns:
- builder
-
ports
public ContainerServiceDeploymentVersionContainerArgs.Builder ports(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> ports)
- Parameters:
ports
- A key-value map of the open firewall ports of the container. Valid values: `HTTP`, `HTTPS`, `TCP`, `UDP`.- Returns:
- builder
-
ports
public ContainerServiceDeploymentVersionContainerArgs.Builder ports(java.util.Map<java.lang.String,java.lang.String> ports)
- Parameters:
ports
- A key-value map of the open firewall ports of the container. Valid values: `HTTP`, `HTTPS`, `TCP`, `UDP`.- Returns:
- builder
-
build
public ContainerServiceDeploymentVersionContainerArgs build()
-
-