@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateDeploymentGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of an UpdateDeploymentGroup
operation.
NOOP
Constructor and Description |
---|
UpdateDeploymentGroupRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateDeploymentGroupRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
AlarmConfiguration |
getAlarmConfiguration()
Information to add or change about Amazon CloudWatch alarms when the deployment group is updated.
|
String |
getApplicationName()
The application name that corresponds to the deployment group to update.
|
AutoRollbackConfiguration |
getAutoRollbackConfiguration()
Information for an automatic rollback configuration that is added or changed when a deployment group is updated.
|
List<String> |
getAutoScalingGroups()
The replacement list of Auto Scaling groups to be included in the deployment group, if you want to change them.
|
BlueGreenDeploymentConfiguration |
getBlueGreenDeploymentConfiguration()
Information about blue/green deployment options for a deployment group.
|
String |
getCurrentDeploymentGroupName()
The current name of the deployment group.
|
String |
getDeploymentConfigName()
The replacement deployment configuration name to use, if you want to change it.
|
DeploymentStyle |
getDeploymentStyle()
Information about the type of deployment, either in-place or blue/green, you want to run and whether to route
deployment traffic behind a load balancer.
|
List<EC2TagFilter> |
getEc2TagFilters()
The replacement set of Amazon EC2 tags on which to filter, if you want to change them.
|
EC2TagSet |
getEc2TagSet()
Information about groups of tags applied to on-premises instances.
|
List<ECSService> |
getEcsServices()
The target Amazon ECS services in the deployment group.
|
LoadBalancerInfo |
getLoadBalancerInfo()
Information about the load balancer used in a deployment.
|
String |
getNewDeploymentGroupName()
The new name of the deployment group, if you want to change it.
|
List<TagFilter> |
getOnPremisesInstanceTagFilters()
The replacement set of on-premises instance tags on which to filter, if you want to change them.
|
OnPremisesTagSet |
getOnPremisesTagSet()
Information about an on-premises instance tag set.
|
String |
getOutdatedInstancesStrategy()
Indicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the deployed
application revision.
|
String |
getServiceRoleArn()
A replacement ARN for the service role, if you want to change it.
|
Boolean |
getTerminationHookEnabled()
This parameter only applies if you are using CodeDeploy with Amazon EC2 Auto Scaling.
|
List<TriggerConfig> |
getTriggerConfigurations()
Information about triggers to change when the deployment group is updated.
|
int |
hashCode() |
Boolean |
isTerminationHookEnabled()
This parameter only applies if you are using CodeDeploy with Amazon EC2 Auto Scaling.
|
void |
setAlarmConfiguration(AlarmConfiguration alarmConfiguration)
Information to add or change about Amazon CloudWatch alarms when the deployment group is updated.
|
void |
setApplicationName(String applicationName)
The application name that corresponds to the deployment group to update.
|
void |
setAutoRollbackConfiguration(AutoRollbackConfiguration autoRollbackConfiguration)
Information for an automatic rollback configuration that is added or changed when a deployment group is updated.
|
void |
setAutoScalingGroups(Collection<String> autoScalingGroups)
The replacement list of Auto Scaling groups to be included in the deployment group, if you want to change them.
|
void |
setBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfiguration blueGreenDeploymentConfiguration)
Information about blue/green deployment options for a deployment group.
|
void |
setCurrentDeploymentGroupName(String currentDeploymentGroupName)
The current name of the deployment group.
|
void |
setDeploymentConfigName(String deploymentConfigName)
The replacement deployment configuration name to use, if you want to change it.
|
void |
setDeploymentStyle(DeploymentStyle deploymentStyle)
Information about the type of deployment, either in-place or blue/green, you want to run and whether to route
deployment traffic behind a load balancer.
|
void |
setEc2TagFilters(Collection<EC2TagFilter> ec2TagFilters)
The replacement set of Amazon EC2 tags on which to filter, if you want to change them.
|
void |
setEc2TagSet(EC2TagSet ec2TagSet)
Information about groups of tags applied to on-premises instances.
|
void |
setEcsServices(Collection<ECSService> ecsServices)
The target Amazon ECS services in the deployment group.
|
void |
setLoadBalancerInfo(LoadBalancerInfo loadBalancerInfo)
Information about the load balancer used in a deployment.
|
void |
setNewDeploymentGroupName(String newDeploymentGroupName)
The new name of the deployment group, if you want to change it.
|
void |
setOnPremisesInstanceTagFilters(Collection<TagFilter> onPremisesInstanceTagFilters)
The replacement set of on-premises instance tags on which to filter, if you want to change them.
|
void |
setOnPremisesTagSet(OnPremisesTagSet onPremisesTagSet)
Information about an on-premises instance tag set.
|
void |
setOutdatedInstancesStrategy(String outdatedInstancesStrategy)
Indicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the deployed
application revision.
|
void |
setServiceRoleArn(String serviceRoleArn)
A replacement ARN for the service role, if you want to change it.
|
void |
setTerminationHookEnabled(Boolean terminationHookEnabled)
This parameter only applies if you are using CodeDeploy with Amazon EC2 Auto Scaling.
|
void |
setTriggerConfigurations(Collection<TriggerConfig> triggerConfigurations)
Information about triggers to change when the deployment group is updated.
|
String |
toString()
Returns a string representation of this object.
|
UpdateDeploymentGroupRequest |
withAlarmConfiguration(AlarmConfiguration alarmConfiguration)
Information to add or change about Amazon CloudWatch alarms when the deployment group is updated.
|
UpdateDeploymentGroupRequest |
withApplicationName(String applicationName)
The application name that corresponds to the deployment group to update.
|
UpdateDeploymentGroupRequest |
withAutoRollbackConfiguration(AutoRollbackConfiguration autoRollbackConfiguration)
Information for an automatic rollback configuration that is added or changed when a deployment group is updated.
|
UpdateDeploymentGroupRequest |
withAutoScalingGroups(Collection<String> autoScalingGroups)
The replacement list of Auto Scaling groups to be included in the deployment group, if you want to change them.
|
UpdateDeploymentGroupRequest |
withAutoScalingGroups(String... autoScalingGroups)
The replacement list of Auto Scaling groups to be included in the deployment group, if you want to change them.
|
UpdateDeploymentGroupRequest |
withBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfiguration blueGreenDeploymentConfiguration)
Information about blue/green deployment options for a deployment group.
|
UpdateDeploymentGroupRequest |
withCurrentDeploymentGroupName(String currentDeploymentGroupName)
The current name of the deployment group.
|
UpdateDeploymentGroupRequest |
withDeploymentConfigName(String deploymentConfigName)
The replacement deployment configuration name to use, if you want to change it.
|
UpdateDeploymentGroupRequest |
withDeploymentStyle(DeploymentStyle deploymentStyle)
Information about the type of deployment, either in-place or blue/green, you want to run and whether to route
deployment traffic behind a load balancer.
|
UpdateDeploymentGroupRequest |
withEc2TagFilters(Collection<EC2TagFilter> ec2TagFilters)
The replacement set of Amazon EC2 tags on which to filter, if you want to change them.
|
UpdateDeploymentGroupRequest |
withEc2TagFilters(EC2TagFilter... ec2TagFilters)
The replacement set of Amazon EC2 tags on which to filter, if you want to change them.
|
UpdateDeploymentGroupRequest |
withEc2TagSet(EC2TagSet ec2TagSet)
Information about groups of tags applied to on-premises instances.
|
UpdateDeploymentGroupRequest |
withEcsServices(Collection<ECSService> ecsServices)
The target Amazon ECS services in the deployment group.
|
UpdateDeploymentGroupRequest |
withEcsServices(ECSService... ecsServices)
The target Amazon ECS services in the deployment group.
|
UpdateDeploymentGroupRequest |
withLoadBalancerInfo(LoadBalancerInfo loadBalancerInfo)
Information about the load balancer used in a deployment.
|
UpdateDeploymentGroupRequest |
withNewDeploymentGroupName(String newDeploymentGroupName)
The new name of the deployment group, if you want to change it.
|
UpdateDeploymentGroupRequest |
withOnPremisesInstanceTagFilters(Collection<TagFilter> onPremisesInstanceTagFilters)
The replacement set of on-premises instance tags on which to filter, if you want to change them.
|
UpdateDeploymentGroupRequest |
withOnPremisesInstanceTagFilters(TagFilter... onPremisesInstanceTagFilters)
The replacement set of on-premises instance tags on which to filter, if you want to change them.
|
UpdateDeploymentGroupRequest |
withOnPremisesTagSet(OnPremisesTagSet onPremisesTagSet)
Information about an on-premises instance tag set.
|
UpdateDeploymentGroupRequest |
withOutdatedInstancesStrategy(OutdatedInstancesStrategy outdatedInstancesStrategy)
Indicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the deployed
application revision.
|
UpdateDeploymentGroupRequest |
withOutdatedInstancesStrategy(String outdatedInstancesStrategy)
Indicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the deployed
application revision.
|
UpdateDeploymentGroupRequest |
withServiceRoleArn(String serviceRoleArn)
A replacement ARN for the service role, if you want to change it.
|
UpdateDeploymentGroupRequest |
withTerminationHookEnabled(Boolean terminationHookEnabled)
This parameter only applies if you are using CodeDeploy with Amazon EC2 Auto Scaling.
|
UpdateDeploymentGroupRequest |
withTriggerConfigurations(Collection<TriggerConfig> triggerConfigurations)
Information about triggers to change when the deployment group is updated.
|
UpdateDeploymentGroupRequest |
withTriggerConfigurations(TriggerConfig... triggerConfigurations)
Information about triggers to change when the deployment group is updated.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setApplicationName(String applicationName)
The application name that corresponds to the deployment group to update.
applicationName
- The application name that corresponds to the deployment group to update.public String getApplicationName()
The application name that corresponds to the deployment group to update.
public UpdateDeploymentGroupRequest withApplicationName(String applicationName)
The application name that corresponds to the deployment group to update.
applicationName
- The application name that corresponds to the deployment group to update.public void setCurrentDeploymentGroupName(String currentDeploymentGroupName)
The current name of the deployment group.
currentDeploymentGroupName
- The current name of the deployment group.public String getCurrentDeploymentGroupName()
The current name of the deployment group.
public UpdateDeploymentGroupRequest withCurrentDeploymentGroupName(String currentDeploymentGroupName)
The current name of the deployment group.
currentDeploymentGroupName
- The current name of the deployment group.public void setNewDeploymentGroupName(String newDeploymentGroupName)
The new name of the deployment group, if you want to change it.
newDeploymentGroupName
- The new name of the deployment group, if you want to change it.public String getNewDeploymentGroupName()
The new name of the deployment group, if you want to change it.
public UpdateDeploymentGroupRequest withNewDeploymentGroupName(String newDeploymentGroupName)
The new name of the deployment group, if you want to change it.
newDeploymentGroupName
- The new name of the deployment group, if you want to change it.public void setDeploymentConfigName(String deploymentConfigName)
The replacement deployment configuration name to use, if you want to change it.
deploymentConfigName
- The replacement deployment configuration name to use, if you want to change it.public String getDeploymentConfigName()
The replacement deployment configuration name to use, if you want to change it.
public UpdateDeploymentGroupRequest withDeploymentConfigName(String deploymentConfigName)
The replacement deployment configuration name to use, if you want to change it.
deploymentConfigName
- The replacement deployment configuration name to use, if you want to change it.public List<EC2TagFilter> getEc2TagFilters()
The replacement set of Amazon EC2 tags on which to filter, if you want to change them. To keep the existing tags, enter their names. To remove tags, do not enter any tag names.
public void setEc2TagFilters(Collection<EC2TagFilter> ec2TagFilters)
The replacement set of Amazon EC2 tags on which to filter, if you want to change them. To keep the existing tags, enter their names. To remove tags, do not enter any tag names.
ec2TagFilters
- The replacement set of Amazon EC2 tags on which to filter, if you want to change them. To keep the
existing tags, enter their names. To remove tags, do not enter any tag names.public UpdateDeploymentGroupRequest withEc2TagFilters(EC2TagFilter... ec2TagFilters)
The replacement set of Amazon EC2 tags on which to filter, if you want to change them. To keep the existing tags, enter their names. To remove tags, do not enter any tag names.
NOTE: This method appends the values to the existing list (if any). Use
setEc2TagFilters(java.util.Collection)
or withEc2TagFilters(java.util.Collection)
if you want
to override the existing values.
ec2TagFilters
- The replacement set of Amazon EC2 tags on which to filter, if you want to change them. To keep the
existing tags, enter their names. To remove tags, do not enter any tag names.public UpdateDeploymentGroupRequest withEc2TagFilters(Collection<EC2TagFilter> ec2TagFilters)
The replacement set of Amazon EC2 tags on which to filter, if you want to change them. To keep the existing tags, enter their names. To remove tags, do not enter any tag names.
ec2TagFilters
- The replacement set of Amazon EC2 tags on which to filter, if you want to change them. To keep the
existing tags, enter their names. To remove tags, do not enter any tag names.public List<TagFilter> getOnPremisesInstanceTagFilters()
The replacement set of on-premises instance tags on which to filter, if you want to change them. To keep the existing tags, enter their names. To remove tags, do not enter any tag names.
public void setOnPremisesInstanceTagFilters(Collection<TagFilter> onPremisesInstanceTagFilters)
The replacement set of on-premises instance tags on which to filter, if you want to change them. To keep the existing tags, enter their names. To remove tags, do not enter any tag names.
onPremisesInstanceTagFilters
- The replacement set of on-premises instance tags on which to filter, if you want to change them. To keep
the existing tags, enter their names. To remove tags, do not enter any tag names.public UpdateDeploymentGroupRequest withOnPremisesInstanceTagFilters(TagFilter... onPremisesInstanceTagFilters)
The replacement set of on-premises instance tags on which to filter, if you want to change them. To keep the existing tags, enter their names. To remove tags, do not enter any tag names.
NOTE: This method appends the values to the existing list (if any). Use
setOnPremisesInstanceTagFilters(java.util.Collection)
or
withOnPremisesInstanceTagFilters(java.util.Collection)
if you want to override the existing values.
onPremisesInstanceTagFilters
- The replacement set of on-premises instance tags on which to filter, if you want to change them. To keep
the existing tags, enter their names. To remove tags, do not enter any tag names.public UpdateDeploymentGroupRequest withOnPremisesInstanceTagFilters(Collection<TagFilter> onPremisesInstanceTagFilters)
The replacement set of on-premises instance tags on which to filter, if you want to change them. To keep the existing tags, enter their names. To remove tags, do not enter any tag names.
onPremisesInstanceTagFilters
- The replacement set of on-premises instance tags on which to filter, if you want to change them. To keep
the existing tags, enter their names. To remove tags, do not enter any tag names.public List<String> getAutoScalingGroups()
The replacement list of Auto Scaling groups to be included in the deployment group, if you want to change them.
To keep the Auto Scaling groups, enter their names or do not specify this parameter.
To remove Auto Scaling groups, specify a non-null empty list of Auto Scaling group names to detach all CodeDeploy-managed Auto Scaling lifecycle hooks. For examples, see Amazon EC2 instances in an Amazon EC2 Auto Scaling group fail to launch and receive the error "Heartbeat Timeout" in the CodeDeploy User Guide.
To keep the Auto Scaling groups, enter their names or do not specify this parameter.
To remove Auto Scaling groups, specify a non-null empty list of Auto Scaling group names to detach all CodeDeploy-managed Auto Scaling lifecycle hooks. For examples, see Amazon EC2 instances in an Amazon EC2 Auto Scaling group fail to launch and receive the error "Heartbeat Timeout" in the CodeDeploy User Guide.
public void setAutoScalingGroups(Collection<String> autoScalingGroups)
The replacement list of Auto Scaling groups to be included in the deployment group, if you want to change them.
To keep the Auto Scaling groups, enter their names or do not specify this parameter.
To remove Auto Scaling groups, specify a non-null empty list of Auto Scaling group names to detach all CodeDeploy-managed Auto Scaling lifecycle hooks. For examples, see Amazon EC2 instances in an Amazon EC2 Auto Scaling group fail to launch and receive the error "Heartbeat Timeout" in the CodeDeploy User Guide.
autoScalingGroups
- The replacement list of Auto Scaling groups to be included in the deployment group, if you want to change
them.
To keep the Auto Scaling groups, enter their names or do not specify this parameter.
To remove Auto Scaling groups, specify a non-null empty list of Auto Scaling group names to detach all CodeDeploy-managed Auto Scaling lifecycle hooks. For examples, see Amazon EC2 instances in an Amazon EC2 Auto Scaling group fail to launch and receive the error "Heartbeat Timeout" in the CodeDeploy User Guide.
public UpdateDeploymentGroupRequest withAutoScalingGroups(String... autoScalingGroups)
The replacement list of Auto Scaling groups to be included in the deployment group, if you want to change them.
To keep the Auto Scaling groups, enter their names or do not specify this parameter.
To remove Auto Scaling groups, specify a non-null empty list of Auto Scaling group names to detach all CodeDeploy-managed Auto Scaling lifecycle hooks. For examples, see Amazon EC2 instances in an Amazon EC2 Auto Scaling group fail to launch and receive the error "Heartbeat Timeout" in the CodeDeploy User Guide.
NOTE: This method appends the values to the existing list (if any). Use
setAutoScalingGroups(java.util.Collection)
or withAutoScalingGroups(java.util.Collection)
if
you want to override the existing values.
autoScalingGroups
- The replacement list of Auto Scaling groups to be included in the deployment group, if you want to change
them.
To keep the Auto Scaling groups, enter their names or do not specify this parameter.
To remove Auto Scaling groups, specify a non-null empty list of Auto Scaling group names to detach all CodeDeploy-managed Auto Scaling lifecycle hooks. For examples, see Amazon EC2 instances in an Amazon EC2 Auto Scaling group fail to launch and receive the error "Heartbeat Timeout" in the CodeDeploy User Guide.
public UpdateDeploymentGroupRequest withAutoScalingGroups(Collection<String> autoScalingGroups)
The replacement list of Auto Scaling groups to be included in the deployment group, if you want to change them.
To keep the Auto Scaling groups, enter their names or do not specify this parameter.
To remove Auto Scaling groups, specify a non-null empty list of Auto Scaling group names to detach all CodeDeploy-managed Auto Scaling lifecycle hooks. For examples, see Amazon EC2 instances in an Amazon EC2 Auto Scaling group fail to launch and receive the error "Heartbeat Timeout" in the CodeDeploy User Guide.
autoScalingGroups
- The replacement list of Auto Scaling groups to be included in the deployment group, if you want to change
them.
To keep the Auto Scaling groups, enter their names or do not specify this parameter.
To remove Auto Scaling groups, specify a non-null empty list of Auto Scaling group names to detach all CodeDeploy-managed Auto Scaling lifecycle hooks. For examples, see Amazon EC2 instances in an Amazon EC2 Auto Scaling group fail to launch and receive the error "Heartbeat Timeout" in the CodeDeploy User Guide.
public void setServiceRoleArn(String serviceRoleArn)
A replacement ARN for the service role, if you want to change it.
serviceRoleArn
- A replacement ARN for the service role, if you want to change it.public String getServiceRoleArn()
A replacement ARN for the service role, if you want to change it.
public UpdateDeploymentGroupRequest withServiceRoleArn(String serviceRoleArn)
A replacement ARN for the service role, if you want to change it.
serviceRoleArn
- A replacement ARN for the service role, if you want to change it.public List<TriggerConfig> getTriggerConfigurations()
Information about triggers to change when the deployment group is updated. For examples, see Edit a Trigger in a CodeDeploy Deployment Group in the CodeDeploy User Guide.
public void setTriggerConfigurations(Collection<TriggerConfig> triggerConfigurations)
Information about triggers to change when the deployment group is updated. For examples, see Edit a Trigger in a CodeDeploy Deployment Group in the CodeDeploy User Guide.
triggerConfigurations
- Information about triggers to change when the deployment group is updated. For examples, see Edit a Trigger in a
CodeDeploy Deployment Group in the CodeDeploy User Guide.public UpdateDeploymentGroupRequest withTriggerConfigurations(TriggerConfig... triggerConfigurations)
Information about triggers to change when the deployment group is updated. For examples, see Edit a Trigger in a CodeDeploy Deployment Group in the CodeDeploy User Guide.
NOTE: This method appends the values to the existing list (if any). Use
setTriggerConfigurations(java.util.Collection)
or
withTriggerConfigurations(java.util.Collection)
if you want to override the existing values.
triggerConfigurations
- Information about triggers to change when the deployment group is updated. For examples, see Edit a Trigger in a
CodeDeploy Deployment Group in the CodeDeploy User Guide.public UpdateDeploymentGroupRequest withTriggerConfigurations(Collection<TriggerConfig> triggerConfigurations)
Information about triggers to change when the deployment group is updated. For examples, see Edit a Trigger in a CodeDeploy Deployment Group in the CodeDeploy User Guide.
triggerConfigurations
- Information about triggers to change when the deployment group is updated. For examples, see Edit a Trigger in a
CodeDeploy Deployment Group in the CodeDeploy User Guide.public void setAlarmConfiguration(AlarmConfiguration alarmConfiguration)
Information to add or change about Amazon CloudWatch alarms when the deployment group is updated.
alarmConfiguration
- Information to add or change about Amazon CloudWatch alarms when the deployment group is updated.public AlarmConfiguration getAlarmConfiguration()
Information to add or change about Amazon CloudWatch alarms when the deployment group is updated.
public UpdateDeploymentGroupRequest withAlarmConfiguration(AlarmConfiguration alarmConfiguration)
Information to add or change about Amazon CloudWatch alarms when the deployment group is updated.
alarmConfiguration
- Information to add or change about Amazon CloudWatch alarms when the deployment group is updated.public void setAutoRollbackConfiguration(AutoRollbackConfiguration autoRollbackConfiguration)
Information for an automatic rollback configuration that is added or changed when a deployment group is updated.
autoRollbackConfiguration
- Information for an automatic rollback configuration that is added or changed when a deployment group is
updated.public AutoRollbackConfiguration getAutoRollbackConfiguration()
Information for an automatic rollback configuration that is added or changed when a deployment group is updated.
public UpdateDeploymentGroupRequest withAutoRollbackConfiguration(AutoRollbackConfiguration autoRollbackConfiguration)
Information for an automatic rollback configuration that is added or changed when a deployment group is updated.
autoRollbackConfiguration
- Information for an automatic rollback configuration that is added or changed when a deployment group is
updated.public void setOutdatedInstancesStrategy(String outdatedInstancesStrategy)
Indicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the deployed application revision.
If this option is set to UPDATE
or is unspecified, CodeDeploy initiates one or more 'auto-update
outdated instances' deployments to apply the deployed application revision to the new Amazon EC2 instances.
If this option is set to IGNORE
, CodeDeploy does not initiate a deployment to update the new Amazon
EC2 instances. This may result in instances having different revisions.
outdatedInstancesStrategy
- Indicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the
deployed application revision.
If this option is set to UPDATE
or is unspecified, CodeDeploy initiates one or more
'auto-update outdated instances' deployments to apply the deployed application revision to the new Amazon
EC2 instances.
If this option is set to IGNORE
, CodeDeploy does not initiate a deployment to update the new
Amazon EC2 instances. This may result in instances having different revisions.
OutdatedInstancesStrategy
public String getOutdatedInstancesStrategy()
Indicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the deployed application revision.
If this option is set to UPDATE
or is unspecified, CodeDeploy initiates one or more 'auto-update
outdated instances' deployments to apply the deployed application revision to the new Amazon EC2 instances.
If this option is set to IGNORE
, CodeDeploy does not initiate a deployment to update the new Amazon
EC2 instances. This may result in instances having different revisions.
If this option is set to UPDATE
or is unspecified, CodeDeploy initiates one or more
'auto-update outdated instances' deployments to apply the deployed application revision to the new Amazon
EC2 instances.
If this option is set to IGNORE
, CodeDeploy does not initiate a deployment to update the new
Amazon EC2 instances. This may result in instances having different revisions.
OutdatedInstancesStrategy
public UpdateDeploymentGroupRequest withOutdatedInstancesStrategy(String outdatedInstancesStrategy)
Indicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the deployed application revision.
If this option is set to UPDATE
or is unspecified, CodeDeploy initiates one or more 'auto-update
outdated instances' deployments to apply the deployed application revision to the new Amazon EC2 instances.
If this option is set to IGNORE
, CodeDeploy does not initiate a deployment to update the new Amazon
EC2 instances. This may result in instances having different revisions.
outdatedInstancesStrategy
- Indicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the
deployed application revision.
If this option is set to UPDATE
or is unspecified, CodeDeploy initiates one or more
'auto-update outdated instances' deployments to apply the deployed application revision to the new Amazon
EC2 instances.
If this option is set to IGNORE
, CodeDeploy does not initiate a deployment to update the new
Amazon EC2 instances. This may result in instances having different revisions.
OutdatedInstancesStrategy
public UpdateDeploymentGroupRequest withOutdatedInstancesStrategy(OutdatedInstancesStrategy outdatedInstancesStrategy)
Indicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the deployed application revision.
If this option is set to UPDATE
or is unspecified, CodeDeploy initiates one or more 'auto-update
outdated instances' deployments to apply the deployed application revision to the new Amazon EC2 instances.
If this option is set to IGNORE
, CodeDeploy does not initiate a deployment to update the new Amazon
EC2 instances. This may result in instances having different revisions.
outdatedInstancesStrategy
- Indicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the
deployed application revision.
If this option is set to UPDATE
or is unspecified, CodeDeploy initiates one or more
'auto-update outdated instances' deployments to apply the deployed application revision to the new Amazon
EC2 instances.
If this option is set to IGNORE
, CodeDeploy does not initiate a deployment to update the new
Amazon EC2 instances. This may result in instances having different revisions.
OutdatedInstancesStrategy
public void setDeploymentStyle(DeploymentStyle deploymentStyle)
Information about the type of deployment, either in-place or blue/green, you want to run and whether to route deployment traffic behind a load balancer.
deploymentStyle
- Information about the type of deployment, either in-place or blue/green, you want to run and whether to
route deployment traffic behind a load balancer.public DeploymentStyle getDeploymentStyle()
Information about the type of deployment, either in-place or blue/green, you want to run and whether to route deployment traffic behind a load balancer.
public UpdateDeploymentGroupRequest withDeploymentStyle(DeploymentStyle deploymentStyle)
Information about the type of deployment, either in-place or blue/green, you want to run and whether to route deployment traffic behind a load balancer.
deploymentStyle
- Information about the type of deployment, either in-place or blue/green, you want to run and whether to
route deployment traffic behind a load balancer.public void setBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfiguration blueGreenDeploymentConfiguration)
Information about blue/green deployment options for a deployment group.
blueGreenDeploymentConfiguration
- Information about blue/green deployment options for a deployment group.public BlueGreenDeploymentConfiguration getBlueGreenDeploymentConfiguration()
Information about blue/green deployment options for a deployment group.
public UpdateDeploymentGroupRequest withBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfiguration blueGreenDeploymentConfiguration)
Information about blue/green deployment options for a deployment group.
blueGreenDeploymentConfiguration
- Information about blue/green deployment options for a deployment group.public void setLoadBalancerInfo(LoadBalancerInfo loadBalancerInfo)
Information about the load balancer used in a deployment.
loadBalancerInfo
- Information about the load balancer used in a deployment.public LoadBalancerInfo getLoadBalancerInfo()
Information about the load balancer used in a deployment.
public UpdateDeploymentGroupRequest withLoadBalancerInfo(LoadBalancerInfo loadBalancerInfo)
Information about the load balancer used in a deployment.
loadBalancerInfo
- Information about the load balancer used in a deployment.public void setEc2TagSet(EC2TagSet ec2TagSet)
Information about groups of tags applied to on-premises instances. The deployment group includes only Amazon EC2 instances identified by all the tag groups.
ec2TagSet
- Information about groups of tags applied to on-premises instances. The deployment group includes only
Amazon EC2 instances identified by all the tag groups.public EC2TagSet getEc2TagSet()
Information about groups of tags applied to on-premises instances. The deployment group includes only Amazon EC2 instances identified by all the tag groups.
public UpdateDeploymentGroupRequest withEc2TagSet(EC2TagSet ec2TagSet)
Information about groups of tags applied to on-premises instances. The deployment group includes only Amazon EC2 instances identified by all the tag groups.
ec2TagSet
- Information about groups of tags applied to on-premises instances. The deployment group includes only
Amazon EC2 instances identified by all the tag groups.public List<ECSService> getEcsServices()
The target Amazon ECS services in the deployment group. This applies only to deployment groups that use the
Amazon ECS compute platform. A target Amazon ECS service is specified as an Amazon ECS cluster and service name
pair using the format <clustername>:<servicename>
.
<clustername>:<servicename>
.public void setEcsServices(Collection<ECSService> ecsServices)
The target Amazon ECS services in the deployment group. This applies only to deployment groups that use the
Amazon ECS compute platform. A target Amazon ECS service is specified as an Amazon ECS cluster and service name
pair using the format <clustername>:<servicename>
.
ecsServices
- The target Amazon ECS services in the deployment group. This applies only to deployment groups that use
the Amazon ECS compute platform. A target Amazon ECS service is specified as an Amazon ECS cluster and
service name pair using the format <clustername>:<servicename>
.public UpdateDeploymentGroupRequest withEcsServices(ECSService... ecsServices)
The target Amazon ECS services in the deployment group. This applies only to deployment groups that use the
Amazon ECS compute platform. A target Amazon ECS service is specified as an Amazon ECS cluster and service name
pair using the format <clustername>:<servicename>
.
NOTE: This method appends the values to the existing list (if any). Use
setEcsServices(java.util.Collection)
or withEcsServices(java.util.Collection)
if you want to
override the existing values.
ecsServices
- The target Amazon ECS services in the deployment group. This applies only to deployment groups that use
the Amazon ECS compute platform. A target Amazon ECS service is specified as an Amazon ECS cluster and
service name pair using the format <clustername>:<servicename>
.public UpdateDeploymentGroupRequest withEcsServices(Collection<ECSService> ecsServices)
The target Amazon ECS services in the deployment group. This applies only to deployment groups that use the
Amazon ECS compute platform. A target Amazon ECS service is specified as an Amazon ECS cluster and service name
pair using the format <clustername>:<servicename>
.
ecsServices
- The target Amazon ECS services in the deployment group. This applies only to deployment groups that use
the Amazon ECS compute platform. A target Amazon ECS service is specified as an Amazon ECS cluster and
service name pair using the format <clustername>:<servicename>
.public void setOnPremisesTagSet(OnPremisesTagSet onPremisesTagSet)
Information about an on-premises instance tag set. The deployment group includes only on-premises instances identified by all the tag groups.
onPremisesTagSet
- Information about an on-premises instance tag set. The deployment group includes only on-premises
instances identified by all the tag groups.public OnPremisesTagSet getOnPremisesTagSet()
Information about an on-premises instance tag set. The deployment group includes only on-premises instances identified by all the tag groups.
public UpdateDeploymentGroupRequest withOnPremisesTagSet(OnPremisesTagSet onPremisesTagSet)
Information about an on-premises instance tag set. The deployment group includes only on-premises instances identified by all the tag groups.
onPremisesTagSet
- Information about an on-premises instance tag set. The deployment group includes only on-premises
instances identified by all the tag groups.public void setTerminationHookEnabled(Boolean terminationHookEnabled)
This parameter only applies if you are using CodeDeploy with Amazon EC2 Auto Scaling. For more information, see Integrating CodeDeploy with Amazon EC2 Auto Scaling in the CodeDeploy User Guide.
Set terminationHookEnabled
to true
to have CodeDeploy install a termination hook into
your Auto Scaling group when you update a deployment group. When this hook is installed, CodeDeploy will perform
termination deployments.
For information about termination deployments, see Enabling termination deployments during Auto Scaling scale-in events in the CodeDeploy User Guide.
For more information about Auto Scaling scale-in events, see the Scale in topic in the Amazon EC2 Auto Scaling User Guide.
terminationHookEnabled
- This parameter only applies if you are using CodeDeploy with Amazon EC2 Auto Scaling. For more
information, see Integrating CodeDeploy with Amazon EC2 Auto Scaling in the CodeDeploy User Guide.
Set terminationHookEnabled
to true
to have CodeDeploy install a termination hook
into your Auto Scaling group when you update a deployment group. When this hook is installed, CodeDeploy
will perform termination deployments.
For information about termination deployments, see Enabling termination deployments during Auto Scaling scale-in events in the CodeDeploy User Guide.
For more information about Auto Scaling scale-in events, see the Scale in topic in the Amazon EC2 Auto Scaling User Guide.
public Boolean getTerminationHookEnabled()
This parameter only applies if you are using CodeDeploy with Amazon EC2 Auto Scaling. For more information, see Integrating CodeDeploy with Amazon EC2 Auto Scaling in the CodeDeploy User Guide.
Set terminationHookEnabled
to true
to have CodeDeploy install a termination hook into
your Auto Scaling group when you update a deployment group. When this hook is installed, CodeDeploy will perform
termination deployments.
For information about termination deployments, see Enabling termination deployments during Auto Scaling scale-in events in the CodeDeploy User Guide.
For more information about Auto Scaling scale-in events, see the Scale in topic in the Amazon EC2 Auto Scaling User Guide.
Set terminationHookEnabled
to true
to have CodeDeploy install a termination
hook into your Auto Scaling group when you update a deployment group. When this hook is installed,
CodeDeploy will perform termination deployments.
For information about termination deployments, see Enabling termination deployments during Auto Scaling scale-in events in the CodeDeploy User Guide.
For more information about Auto Scaling scale-in events, see the Scale in topic in the Amazon EC2 Auto Scaling User Guide.
public UpdateDeploymentGroupRequest withTerminationHookEnabled(Boolean terminationHookEnabled)
This parameter only applies if you are using CodeDeploy with Amazon EC2 Auto Scaling. For more information, see Integrating CodeDeploy with Amazon EC2 Auto Scaling in the CodeDeploy User Guide.
Set terminationHookEnabled
to true
to have CodeDeploy install a termination hook into
your Auto Scaling group when you update a deployment group. When this hook is installed, CodeDeploy will perform
termination deployments.
For information about termination deployments, see Enabling termination deployments during Auto Scaling scale-in events in the CodeDeploy User Guide.
For more information about Auto Scaling scale-in events, see the Scale in topic in the Amazon EC2 Auto Scaling User Guide.
terminationHookEnabled
- This parameter only applies if you are using CodeDeploy with Amazon EC2 Auto Scaling. For more
information, see Integrating CodeDeploy with Amazon EC2 Auto Scaling in the CodeDeploy User Guide.
Set terminationHookEnabled
to true
to have CodeDeploy install a termination hook
into your Auto Scaling group when you update a deployment group. When this hook is installed, CodeDeploy
will perform termination deployments.
For information about termination deployments, see Enabling termination deployments during Auto Scaling scale-in events in the CodeDeploy User Guide.
For more information about Auto Scaling scale-in events, see the Scale in topic in the Amazon EC2 Auto Scaling User Guide.
public Boolean isTerminationHookEnabled()
This parameter only applies if you are using CodeDeploy with Amazon EC2 Auto Scaling. For more information, see Integrating CodeDeploy with Amazon EC2 Auto Scaling in the CodeDeploy User Guide.
Set terminationHookEnabled
to true
to have CodeDeploy install a termination hook into
your Auto Scaling group when you update a deployment group. When this hook is installed, CodeDeploy will perform
termination deployments.
For information about termination deployments, see Enabling termination deployments during Auto Scaling scale-in events in the CodeDeploy User Guide.
For more information about Auto Scaling scale-in events, see the Scale in topic in the Amazon EC2 Auto Scaling User Guide.
Set terminationHookEnabled
to true
to have CodeDeploy install a termination
hook into your Auto Scaling group when you update a deployment group. When this hook is installed,
CodeDeploy will perform termination deployments.
For information about termination deployments, see Enabling termination deployments during Auto Scaling scale-in events in the CodeDeploy User Guide.
For more information about Auto Scaling scale-in events, see the Scale in topic in the Amazon EC2 Auto Scaling User Guide.
public String toString()
toString
in class Object
Object.toString()
public UpdateDeploymentGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()