Class CfnContainer.ContainerServiceDeploymentProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lightsail.CfnContainer.ContainerServiceDeploymentProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnContainer.ContainerServiceDeploymentProperty>
- Enclosing interface:
CfnContainer.ContainerServiceDeploymentProperty
@Stability(Stable)
public static final class CfnContainer.ContainerServiceDeploymentProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnContainer.ContainerServiceDeploymentProperty>
A builder for
CfnContainer.ContainerServiceDeploymentProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.containers(List<? extends Object> containers) Sets the value ofCfnContainer.ContainerServiceDeploymentProperty.getContainers()containers(IResolvable containers) Sets the value ofCfnContainer.ContainerServiceDeploymentProperty.getContainers()publicEndpoint(IResolvable publicEndpoint) Sets the value ofCfnContainer.ContainerServiceDeploymentProperty.getPublicEndpoint()publicEndpoint(CfnContainer.PublicEndpointProperty publicEndpoint) Sets the value ofCfnContainer.ContainerServiceDeploymentProperty.getPublicEndpoint()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
containers
@Stability(Stable) public CfnContainer.ContainerServiceDeploymentProperty.Builder containers(IResolvable containers) Sets the value ofCfnContainer.ContainerServiceDeploymentProperty.getContainers()- Parameters:
containers- An object that describes the configuration for the containers of the deployment.- Returns:
this
-
containers
@Stability(Stable) public CfnContainer.ContainerServiceDeploymentProperty.Builder containers(List<? extends Object> containers) Sets the value ofCfnContainer.ContainerServiceDeploymentProperty.getContainers()- Parameters:
containers- An object that describes the configuration for the containers of the deployment.- Returns:
this
-
publicEndpoint
@Stability(Stable) public CfnContainer.ContainerServiceDeploymentProperty.Builder publicEndpoint(IResolvable publicEndpoint) Sets the value ofCfnContainer.ContainerServiceDeploymentProperty.getPublicEndpoint()- Parameters:
publicEndpoint- An object that describes the endpoint of the deployment.- Returns:
this
-
publicEndpoint
@Stability(Stable) public CfnContainer.ContainerServiceDeploymentProperty.Builder publicEndpoint(CfnContainer.PublicEndpointProperty publicEndpoint) Sets the value ofCfnContainer.ContainerServiceDeploymentProperty.getPublicEndpoint()- Parameters:
publicEndpoint- An object that describes the endpoint of the deployment.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnContainer.ContainerServiceDeploymentProperty>- Returns:
- a new instance of
CfnContainer.ContainerServiceDeploymentProperty - Throws:
NullPointerException- if any required attribute was not provided
-