Interface UpdateDeploymentGroupRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeDeployRequest.Builder,CopyableBuilder<UpdateDeploymentGroupRequest.Builder,UpdateDeploymentGroupRequest>,SdkBuilder<UpdateDeploymentGroupRequest.Builder,UpdateDeploymentGroupRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateDeploymentGroupRequest
public static interface UpdateDeploymentGroupRequest.Builder extends CodeDeployRequest.Builder, SdkPojo, CopyableBuilder<UpdateDeploymentGroupRequest.Builder,UpdateDeploymentGroupRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default UpdateDeploymentGroupRequest.BuilderalarmConfiguration(Consumer<AlarmConfiguration.Builder> alarmConfiguration)Information to add or change about Amazon CloudWatch alarms when the deployment group is updated.UpdateDeploymentGroupRequest.BuilderalarmConfiguration(AlarmConfiguration alarmConfiguration)Information to add or change about Amazon CloudWatch alarms when the deployment group is updated.UpdateDeploymentGroupRequest.BuilderapplicationName(String applicationName)The application name that corresponds to the deployment group to update.default UpdateDeploymentGroupRequest.BuilderautoRollbackConfiguration(Consumer<AutoRollbackConfiguration.Builder> autoRollbackConfiguration)Information for an automatic rollback configuration that is added or changed when a deployment group is updated.UpdateDeploymentGroupRequest.BuilderautoRollbackConfiguration(AutoRollbackConfiguration autoRollbackConfiguration)Information for an automatic rollback configuration that is added or changed when a deployment group is updated.UpdateDeploymentGroupRequest.BuilderautoScalingGroups(String... autoScalingGroups)The replacement list of Auto Scaling groups to be included in the deployment group, if you want to change them.UpdateDeploymentGroupRequest.BuilderautoScalingGroups(Collection<String> autoScalingGroups)The replacement list of Auto Scaling groups to be included in the deployment group, if you want to change them.default UpdateDeploymentGroupRequest.BuilderblueGreenDeploymentConfiguration(Consumer<BlueGreenDeploymentConfiguration.Builder> blueGreenDeploymentConfiguration)Information about blue/green deployment options for a deployment group.UpdateDeploymentGroupRequest.BuilderblueGreenDeploymentConfiguration(BlueGreenDeploymentConfiguration blueGreenDeploymentConfiguration)Information about blue/green deployment options for a deployment group.UpdateDeploymentGroupRequest.BuildercurrentDeploymentGroupName(String currentDeploymentGroupName)The current name of the deployment group.UpdateDeploymentGroupRequest.BuilderdeploymentConfigName(String deploymentConfigName)The replacement deployment configuration name to use, if you want to change it.default UpdateDeploymentGroupRequest.BuilderdeploymentStyle(Consumer<DeploymentStyle.Builder> 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.BuilderdeploymentStyle(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.Builderec2TagFilters(Collection<EC2TagFilter> ec2TagFilters)The replacement set of Amazon EC2 tags on which to filter, if you want to change them.UpdateDeploymentGroupRequest.Builderec2TagFilters(Consumer<EC2TagFilter.Builder>... ec2TagFilters)The replacement set of Amazon EC2 tags on which to filter, if you want to change them.UpdateDeploymentGroupRequest.Builderec2TagFilters(EC2TagFilter... ec2TagFilters)The replacement set of Amazon EC2 tags on which to filter, if you want to change them.default UpdateDeploymentGroupRequest.Builderec2TagSet(Consumer<EC2TagSet.Builder> ec2TagSet)Information about groups of tags applied to on-premises instances.UpdateDeploymentGroupRequest.Builderec2TagSet(EC2TagSet ec2TagSet)Information about groups of tags applied to on-premises instances.UpdateDeploymentGroupRequest.BuilderecsServices(Collection<ECSService> ecsServices)The target Amazon ECS services in the deployment group.UpdateDeploymentGroupRequest.BuilderecsServices(Consumer<ECSService.Builder>... ecsServices)The target Amazon ECS services in the deployment group.UpdateDeploymentGroupRequest.BuilderecsServices(ECSService... ecsServices)The target Amazon ECS services in the deployment group.default UpdateDeploymentGroupRequest.BuilderloadBalancerInfo(Consumer<LoadBalancerInfo.Builder> loadBalancerInfo)Information about the load balancer used in a deployment.UpdateDeploymentGroupRequest.BuilderloadBalancerInfo(LoadBalancerInfo loadBalancerInfo)Information about the load balancer used in a deployment.UpdateDeploymentGroupRequest.BuildernewDeploymentGroupName(String newDeploymentGroupName)The new name of the deployment group, if you want to change it.UpdateDeploymentGroupRequest.BuilderonPremisesInstanceTagFilters(Collection<TagFilter> onPremisesInstanceTagFilters)The replacement set of on-premises instance tags on which to filter, if you want to change them.UpdateDeploymentGroupRequest.BuilderonPremisesInstanceTagFilters(Consumer<TagFilter.Builder>... onPremisesInstanceTagFilters)The replacement set of on-premises instance tags on which to filter, if you want to change them.UpdateDeploymentGroupRequest.BuilderonPremisesInstanceTagFilters(TagFilter... onPremisesInstanceTagFilters)The replacement set of on-premises instance tags on which to filter, if you want to change them.default UpdateDeploymentGroupRequest.BuilderonPremisesTagSet(Consumer<OnPremisesTagSet.Builder> onPremisesTagSet)Information about an on-premises instance tag set.UpdateDeploymentGroupRequest.BuilderonPremisesTagSet(OnPremisesTagSet onPremisesTagSet)Information about an on-premises instance tag set.UpdateDeploymentGroupRequest.BuilderoutdatedInstancesStrategy(String outdatedInstancesStrategy)Indicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the deployed application revision.UpdateDeploymentGroupRequest.BuilderoutdatedInstancesStrategy(OutdatedInstancesStrategy outdatedInstancesStrategy)Indicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the deployed application revision.UpdateDeploymentGroupRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateDeploymentGroupRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateDeploymentGroupRequest.BuilderserviceRoleArn(String serviceRoleArn)A replacement ARN for the service role, if you want to change it.UpdateDeploymentGroupRequest.BuilderterminationHookEnabled(Boolean terminationHookEnabled)This parameter only applies if you are using CodeDeploy with Amazon EC2 Auto Scaling.UpdateDeploymentGroupRequest.BuildertriggerConfigurations(Collection<TriggerConfig> triggerConfigurations)Information about triggers to change when the deployment group is updated.UpdateDeploymentGroupRequest.BuildertriggerConfigurations(Consumer<TriggerConfig.Builder>... triggerConfigurations)Information about triggers to change when the deployment group is updated.UpdateDeploymentGroupRequest.BuildertriggerConfigurations(TriggerConfig... triggerConfigurations)Information about triggers to change when the deployment group is updated.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.codedeploy.model.CodeDeployRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
applicationName
UpdateDeploymentGroupRequest.Builder applicationName(String applicationName)
The application name that corresponds to the deployment group to update.
- Parameters:
applicationName- The application name that corresponds to the deployment group to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentDeploymentGroupName
UpdateDeploymentGroupRequest.Builder currentDeploymentGroupName(String currentDeploymentGroupName)
The current name of the deployment group.
- Parameters:
currentDeploymentGroupName- The current name of the deployment group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
newDeploymentGroupName
UpdateDeploymentGroupRequest.Builder newDeploymentGroupName(String newDeploymentGroupName)
The new name of the deployment group, if you want to change it.
- Parameters:
newDeploymentGroupName- The new name of the deployment group, if you want to change it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentConfigName
UpdateDeploymentGroupRequest.Builder deploymentConfigName(String deploymentConfigName)
The replacement deployment configuration name to use, if you want to change it.
- Parameters:
deploymentConfigName- The replacement deployment configuration name to use, if you want to change it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2TagFilters
UpdateDeploymentGroupRequest.Builder ec2TagFilters(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2TagFilters
UpdateDeploymentGroupRequest.Builder ec2TagFilters(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2TagFilters
UpdateDeploymentGroupRequest.Builder ec2TagFilters(Consumer<EC2TagFilter.Builder>... 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.
This is a convenience method that creates an instance of theEC2TagFilter.Builderavoiding the need to create one manually viaEC2TagFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#ec2TagFilters(List.) - Parameters:
ec2TagFilters- a consumer that will call methods onEC2TagFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#ec2TagFilters(java.util.Collection)
-
onPremisesInstanceTagFilters
UpdateDeploymentGroupRequest.Builder onPremisesInstanceTagFilters(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onPremisesInstanceTagFilters
UpdateDeploymentGroupRequest.Builder onPremisesInstanceTagFilters(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onPremisesInstanceTagFilters
UpdateDeploymentGroupRequest.Builder onPremisesInstanceTagFilters(Consumer<TagFilter.Builder>... 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.
This is a convenience method that creates an instance of theTagFilter.Builderavoiding the need to create one manually viaTagFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#onPremisesInstanceTagFilters(List.) - Parameters:
onPremisesInstanceTagFilters- a consumer that will call methods onTagFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#onPremisesInstanceTagFilters(java.util.Collection)
-
autoScalingGroups
UpdateDeploymentGroupRequest.Builder autoScalingGroups(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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
autoScalingGroups
UpdateDeploymentGroupRequest.Builder autoScalingGroups(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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
serviceRoleArn
UpdateDeploymentGroupRequest.Builder serviceRoleArn(String serviceRoleArn)
A replacement ARN for the service role, if you want to change it.
- Parameters:
serviceRoleArn- A replacement ARN for the service role, if you want to change it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
triggerConfigurations
UpdateDeploymentGroupRequest.Builder triggerConfigurations(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
triggerConfigurations
UpdateDeploymentGroupRequest.Builder triggerConfigurations(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
triggerConfigurations
UpdateDeploymentGroupRequest.Builder triggerConfigurations(Consumer<TriggerConfig.Builder>... 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.
This is a convenience method that creates an instance of theTriggerConfig.Builderavoiding the need to create one manually viaTriggerConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#triggerConfigurations(List.) - Parameters:
triggerConfigurations- a consumer that will call methods onTriggerConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#triggerConfigurations(java.util.Collection)
-
alarmConfiguration
UpdateDeploymentGroupRequest.Builder alarmConfiguration(AlarmConfiguration alarmConfiguration)
Information to add or change about Amazon CloudWatch alarms when the deployment group is updated.
- Parameters:
alarmConfiguration- Information to add or change about Amazon CloudWatch alarms when the deployment group is updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alarmConfiguration
default UpdateDeploymentGroupRequest.Builder alarmConfiguration(Consumer<AlarmConfiguration.Builder> alarmConfiguration)
Information to add or change about Amazon CloudWatch alarms when the deployment group is updated.
This is a convenience method that creates an instance of theAlarmConfiguration.Builderavoiding the need to create one manually viaAlarmConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toalarmConfiguration(AlarmConfiguration).- Parameters:
alarmConfiguration- a consumer that will call methods onAlarmConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
alarmConfiguration(AlarmConfiguration)
-
autoRollbackConfiguration
UpdateDeploymentGroupRequest.Builder autoRollbackConfiguration(AutoRollbackConfiguration autoRollbackConfiguration)
Information for an automatic rollback configuration that is added or changed when a deployment group is updated.
- Parameters:
autoRollbackConfiguration- Information for an automatic rollback configuration that is added or changed when a deployment group is updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoRollbackConfiguration
default UpdateDeploymentGroupRequest.Builder autoRollbackConfiguration(Consumer<AutoRollbackConfiguration.Builder> autoRollbackConfiguration)
Information for an automatic rollback configuration that is added or changed when a deployment group is updated.
This is a convenience method that creates an instance of theAutoRollbackConfiguration.Builderavoiding the need to create one manually viaAutoRollbackConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toautoRollbackConfiguration(AutoRollbackConfiguration).- Parameters:
autoRollbackConfiguration- a consumer that will call methods onAutoRollbackConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
autoRollbackConfiguration(AutoRollbackConfiguration)
-
outdatedInstancesStrategy
UpdateDeploymentGroupRequest.Builder outdatedInstancesStrategy(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
UPDATEor 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.- Parameters:
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
UPDATEor 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
OutdatedInstancesStrategy,OutdatedInstancesStrategy
-
outdatedInstancesStrategy
UpdateDeploymentGroupRequest.Builder outdatedInstancesStrategy(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
UPDATEor 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.- Parameters:
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
UPDATEor 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
OutdatedInstancesStrategy,OutdatedInstancesStrategy
-
deploymentStyle
UpdateDeploymentGroupRequest.Builder deploymentStyle(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentStyle
default UpdateDeploymentGroupRequest.Builder deploymentStyle(Consumer<DeploymentStyle.Builder> 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.
This is a convenience method that creates an instance of theDeploymentStyle.Builderavoiding the need to create one manually viaDeploymentStyle.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todeploymentStyle(DeploymentStyle).- Parameters:
deploymentStyle- a consumer that will call methods onDeploymentStyle.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
deploymentStyle(DeploymentStyle)
-
blueGreenDeploymentConfiguration
UpdateDeploymentGroupRequest.Builder blueGreenDeploymentConfiguration(BlueGreenDeploymentConfiguration blueGreenDeploymentConfiguration)
Information about blue/green deployment options for a deployment group.
- Parameters:
blueGreenDeploymentConfiguration- Information about blue/green deployment options for a deployment group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blueGreenDeploymentConfiguration
default UpdateDeploymentGroupRequest.Builder blueGreenDeploymentConfiguration(Consumer<BlueGreenDeploymentConfiguration.Builder> blueGreenDeploymentConfiguration)
Information about blue/green deployment options for a deployment group.
This is a convenience method that creates an instance of theBlueGreenDeploymentConfiguration.Builderavoiding the need to create one manually viaBlueGreenDeploymentConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toblueGreenDeploymentConfiguration(BlueGreenDeploymentConfiguration).- Parameters:
blueGreenDeploymentConfiguration- a consumer that will call methods onBlueGreenDeploymentConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
blueGreenDeploymentConfiguration(BlueGreenDeploymentConfiguration)
-
loadBalancerInfo
UpdateDeploymentGroupRequest.Builder loadBalancerInfo(LoadBalancerInfo loadBalancerInfo)
Information about the load balancer used in a deployment.
- Parameters:
loadBalancerInfo- Information about the load balancer used in a deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loadBalancerInfo
default UpdateDeploymentGroupRequest.Builder loadBalancerInfo(Consumer<LoadBalancerInfo.Builder> loadBalancerInfo)
Information about the load balancer used in a deployment.
This is a convenience method that creates an instance of theLoadBalancerInfo.Builderavoiding the need to create one manually viaLoadBalancerInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toloadBalancerInfo(LoadBalancerInfo).- Parameters:
loadBalancerInfo- a consumer that will call methods onLoadBalancerInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
loadBalancerInfo(LoadBalancerInfo)
-
ec2TagSet
UpdateDeploymentGroupRequest.Builder ec2TagSet(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2TagSet
default UpdateDeploymentGroupRequest.Builder ec2TagSet(Consumer<EC2TagSet.Builder> 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.
This is a convenience method that creates an instance of theEC2TagSet.Builderavoiding the need to create one manually viaEC2TagSet.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toec2TagSet(EC2TagSet).- Parameters:
ec2TagSet- a consumer that will call methods onEC2TagSet.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ec2TagSet(EC2TagSet)
-
ecsServices
UpdateDeploymentGroupRequest.Builder ecsServices(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>.- Parameters:
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>.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ecsServices
UpdateDeploymentGroupRequest.Builder ecsServices(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>.- Parameters:
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>.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ecsServices
UpdateDeploymentGroupRequest.Builder ecsServices(Consumer<ECSService.Builder>... 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
This is a convenience method that creates an instance of the<clustername>:<servicename>.ECSService.Builderavoiding the need to create one manually viaECSService.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#ecsServices(List.) - Parameters:
ecsServices- a consumer that will call methods onECSService.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#ecsServices(java.util.Collection)
-
onPremisesTagSet
UpdateDeploymentGroupRequest.Builder onPremisesTagSet(OnPremisesTagSet onPremisesTagSet)
Information about an on-premises instance tag set. The deployment group includes only on-premises instances identified by all the tag groups.
- Parameters:
onPremisesTagSet- Information about an on-premises instance tag set. The deployment group includes only on-premises instances identified by all the tag groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onPremisesTagSet
default UpdateDeploymentGroupRequest.Builder onPremisesTagSet(Consumer<OnPremisesTagSet.Builder> onPremisesTagSet)
Information about an on-premises instance tag set. The deployment group includes only on-premises instances identified by all the tag groups.
This is a convenience method that creates an instance of theOnPremisesTagSet.Builderavoiding the need to create one manually viaOnPremisesTagSet.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toonPremisesTagSet(OnPremisesTagSet).- Parameters:
onPremisesTagSet- a consumer that will call methods onOnPremisesTagSet.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
onPremisesTagSet(OnPremisesTagSet)
-
terminationHookEnabled
UpdateDeploymentGroupRequest.Builder terminationHookEnabled(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
terminationHookEnabledtotrueto 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.
- Parameters:
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
terminationHookEnabledtotrueto 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateDeploymentGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateDeploymentGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-