Class CfnContainerPropsMixin.ContainerServiceDeploymentProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lightsail.CfnContainerPropsMixin.ContainerServiceDeploymentProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnContainerPropsMixin.ContainerServiceDeploymentProperty>
- Enclosing interface:
CfnContainerPropsMixin.ContainerServiceDeploymentProperty
@Stability(Stable)
public static final class CfnContainerPropsMixin.ContainerServiceDeploymentProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnContainerPropsMixin.ContainerServiceDeploymentProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.containers(List<? extends Object> containers) containers(IResolvable containers) publicEndpoint(CfnContainerPropsMixin.PublicEndpointProperty publicEndpoint) publicEndpoint(IResolvable publicEndpoint)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
containers
@Stability(Stable) public CfnContainerPropsMixin.ContainerServiceDeploymentProperty.Builder containers(IResolvable containers) - Parameters:
containers- An object that describes the configuration for the containers of the deployment.- Returns:
this
-
containers
@Stability(Stable) public CfnContainerPropsMixin.ContainerServiceDeploymentProperty.Builder containers(List<? extends Object> containers) - Parameters:
containers- An object that describes the configuration for the containers of the deployment.- Returns:
this
-
publicEndpoint
@Stability(Stable) public CfnContainerPropsMixin.ContainerServiceDeploymentProperty.Builder publicEndpoint(IResolvable publicEndpoint) - Parameters:
publicEndpoint- An object that describes the endpoint of the deployment.- Returns:
this
-
publicEndpoint
@Stability(Stable) public CfnContainerPropsMixin.ContainerServiceDeploymentProperty.Builder publicEndpoint(CfnContainerPropsMixin.PublicEndpointProperty publicEndpoint) - 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<CfnContainerPropsMixin.ContainerServiceDeploymentProperty>- Returns:
- a new instance of
CfnContainerPropsMixin.ContainerServiceDeploymentProperty - Throws:
NullPointerException- if any required attribute was not provided
-