Class DeploymentController.Builder
java.lang.Object
software.amazon.awscdk.services.ecs.DeploymentController.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DeploymentController>
- Enclosing interface:
DeploymentController
@Stability(Stable)
public static final class DeploymentController.Builder
extends Object
implements software.amazon.jsii.Builder<DeploymentController>
A builder for
DeploymentController
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.type
(DeploymentControllerType type) Sets the value ofDeploymentController.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
Sets the value ofDeploymentController.getType()
- Parameters:
type
- The deployment controller type to use.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<DeploymentController>
- Returns:
- a new instance of
DeploymentController
- Throws:
NullPointerException
- if any required attribute was not provided
-