public static final class ServerDeploymentGroupAttributes.Builder
extends java.lang.Object
ServerDeploymentGroupAttributes
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ServerDeploymentGroupAttributes.Builder |
application(IServerApplication application)
Sets the value of
ServerDeploymentGroupAttributes.getApplication() |
ServerDeploymentGroupAttributes |
build()
Builds the configured instance.
|
ServerDeploymentGroupAttributes.Builder |
deploymentConfig(IServerDeploymentConfig deploymentConfig)
Sets the value of
ServerDeploymentGroupAttributes.getDeploymentConfig() |
ServerDeploymentGroupAttributes.Builder |
deploymentGroupName(java.lang.String deploymentGroupName)
Sets the value of
ServerDeploymentGroupAttributes.getDeploymentGroupName() |
public ServerDeploymentGroupAttributes.Builder application(IServerApplication application)
ServerDeploymentGroupAttributes.getApplication()
application
- The reference to the CodeDeploy EC2/on-premise Application that this Deployment Group belongs to. This parameter is required.this
public ServerDeploymentGroupAttributes.Builder deploymentGroupName(java.lang.String deploymentGroupName)
ServerDeploymentGroupAttributes.getDeploymentGroupName()
deploymentGroupName
- The physical, human-readable name of the CodeDeploy EC2/on-premise Deployment Group that we are referencing. This parameter is required.this
public ServerDeploymentGroupAttributes.Builder deploymentConfig(IServerDeploymentConfig deploymentConfig)
ServerDeploymentGroupAttributes.getDeploymentConfig()
deploymentConfig
- The Deployment Configuration this Deployment Group uses.this
public ServerDeploymentGroupAttributes build()
ServerDeploymentGroupAttributes
java.lang.NullPointerException
- if any required attribute was not provided