Interface CreateDeploymentGroupRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CodeDeployRequest.Builder
,CopyableBuilder<CreateDeploymentGroupRequest.Builder,
,CreateDeploymentGroupRequest> SdkBuilder<CreateDeploymentGroupRequest.Builder,
,CreateDeploymentGroupRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateDeploymentGroupRequest
-
Method Summary
Modifier and TypeMethodDescriptionalarmConfiguration
(Consumer<AlarmConfiguration.Builder> alarmConfiguration) Information to add about Amazon CloudWatch alarms when the deployment group is created.alarmConfiguration
(AlarmConfiguration alarmConfiguration) Information to add about Amazon CloudWatch alarms when the deployment group is created.applicationName
(String applicationName) The name of an CodeDeploy application associated with the user or Amazon Web Services account.autoRollbackConfiguration
(Consumer<AutoRollbackConfiguration.Builder> autoRollbackConfiguration) Configuration information for an automatic rollback that is added when a deployment group is created.autoRollbackConfiguration
(AutoRollbackConfiguration autoRollbackConfiguration) Configuration information for an automatic rollback that is added when a deployment group is created.autoScalingGroups
(String... autoScalingGroups) A list of associated Amazon EC2 Auto Scaling groups.autoScalingGroups
(Collection<String> autoScalingGroups) A list of associated Amazon EC2 Auto Scaling groups.blueGreenDeploymentConfiguration
(Consumer<BlueGreenDeploymentConfiguration.Builder> blueGreenDeploymentConfiguration) Information about blue/green deployment options for a deployment group.blueGreenDeploymentConfiguration
(BlueGreenDeploymentConfiguration blueGreenDeploymentConfiguration) Information about blue/green deployment options for a deployment group.deploymentConfigName
(String deploymentConfigName) If specified, the deployment configuration name can be either one of the predefined configurations provided with CodeDeploy or a custom deployment configuration that you create by calling the create deployment configuration operation.deploymentGroupName
(String deploymentGroupName) The name of a new deployment group for the specified application.deploymentStyle
(Consumer<DeploymentStyle.Builder> deploymentStyle) Information about the type of deployment, in-place or blue/green, that you want to run and whether to route deployment traffic behind a load balancer.deploymentStyle
(DeploymentStyle deploymentStyle) Information about the type of deployment, in-place or blue/green, that you want to run and whether to route deployment traffic behind a load balancer.ec2TagFilters
(Collection<EC2TagFilter> ec2TagFilters) The Amazon EC2 tags on which to filter.ec2TagFilters
(Consumer<EC2TagFilter.Builder>... ec2TagFilters) The Amazon EC2 tags on which to filter.ec2TagFilters
(EC2TagFilter... ec2TagFilters) The Amazon EC2 tags on which to filter.ec2TagSet
(Consumer<EC2TagSet.Builder> ec2TagSet) Information about groups of tags applied to Amazon EC2 instances.Information about groups of tags applied to Amazon EC2 instances.ecsServices
(Collection<ECSService> ecsServices) The target Amazon ECS services in the deployment group.ecsServices
(Consumer<ECSService.Builder>... ecsServices) The target Amazon ECS services in the deployment group.ecsServices
(ECSService... ecsServices) The target Amazon ECS services in the deployment group.loadBalancerInfo
(Consumer<LoadBalancerInfo.Builder> loadBalancerInfo) Information about the load balancer used in a deployment.loadBalancerInfo
(LoadBalancerInfo loadBalancerInfo) Information about the load balancer used in a deployment.onPremisesInstanceTagFilters
(Collection<TagFilter> onPremisesInstanceTagFilters) The on-premises instance tags on which to filter.onPremisesInstanceTagFilters
(Consumer<TagFilter.Builder>... onPremisesInstanceTagFilters) The on-premises instance tags on which to filter.onPremisesInstanceTagFilters
(TagFilter... onPremisesInstanceTagFilters) The on-premises instance tags on which to filter.onPremisesTagSet
(Consumer<OnPremisesTagSet.Builder> onPremisesTagSet) Information about groups of tags applied to on-premises instances.onPremisesTagSet
(OnPremisesTagSet onPremisesTagSet) Information about groups of tags applied to on-premises instances.outdatedInstancesStrategy
(String outdatedInstancesStrategy) Indicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the deployed application revision.outdatedInstancesStrategy
(OutdatedInstancesStrategy outdatedInstancesStrategy) Indicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the deployed application revision.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.serviceRoleArn
(String serviceRoleArn) A service role Amazon Resource Name (ARN) that allows CodeDeploy to act on the user's behalf when interacting with Amazon Web Services services.tags
(Collection<Tag> tags) The metadata that you apply to CodeDeploy deployment groups to help you organize and categorize them.tags
(Consumer<Tag.Builder>... tags) The metadata that you apply to CodeDeploy deployment groups to help you organize and categorize them.The metadata that you apply to CodeDeploy deployment groups to help you organize and categorize them.terminationHookEnabled
(Boolean terminationHookEnabled) This parameter only applies if you are using CodeDeploy with Amazon EC2 Auto Scaling.triggerConfigurations
(Collection<TriggerConfig> triggerConfigurations) Information about triggers to create when the deployment group is created.triggerConfigurations
(Consumer<TriggerConfig.Builder>... triggerConfigurations) Information about triggers to create when the deployment group is created.triggerConfigurations
(TriggerConfig... triggerConfigurations) Information about triggers to create when the deployment group is created.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, sdkFields
-
Method Details
-
applicationName
The name of an CodeDeploy application associated with the user or Amazon Web Services account.
- Parameters:
applicationName
- The name of an CodeDeploy application associated with the user or Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentGroupName
The name of a new deployment group for the specified application.
- Parameters:
deploymentGroupName
- The name of a new deployment group for the specified application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentConfigName
If specified, the deployment configuration name can be either one of the predefined configurations provided with CodeDeploy or a custom deployment configuration that you create by calling the create deployment configuration operation.
CodeDeployDefault.OneAtATime
is the default deployment configuration. It is used if a configuration isn't specified for the deployment or deployment group.For more information about the predefined deployment configurations in CodeDeploy, see Working with Deployment Configurations in CodeDeploy in the CodeDeploy User Guide.
- Parameters:
deploymentConfigName
- If specified, the deployment configuration name can be either one of the predefined configurations provided with CodeDeploy or a custom deployment configuration that you create by calling the create deployment configuration operation.CodeDeployDefault.OneAtATime
is the default deployment configuration. It is used if a configuration isn't specified for the deployment or deployment group.For more information about the predefined deployment configurations in CodeDeploy, see Working with Deployment Configurations in CodeDeploy in the CodeDeploy User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2TagFilters
The Amazon EC2 tags on which to filter. The deployment group includes Amazon EC2 instances with any of the specified tags. Cannot be used in the same call as ec2TagSet.
- Parameters:
ec2TagFilters
- The Amazon EC2 tags on which to filter. The deployment group includes Amazon EC2 instances with any of the specified tags. Cannot be used in the same call as ec2TagSet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2TagFilters
The Amazon EC2 tags on which to filter. The deployment group includes Amazon EC2 instances with any of the specified tags. Cannot be used in the same call as ec2TagSet.
- Parameters:
ec2TagFilters
- The Amazon EC2 tags on which to filter. The deployment group includes Amazon EC2 instances with any of the specified tags. Cannot be used in the same call as ec2TagSet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2TagFilters
The Amazon EC2 tags on which to filter. The deployment group includes Amazon EC2 instances with any of the specified tags. Cannot be used in the same call as ec2TagSet.
This is a convenience method that creates an instance of theEC2TagFilter.Builder
avoiding the need to create one manually viaEC2TagFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toec2TagFilters(List<EC2TagFilter>)
.- 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:
-
onPremisesInstanceTagFilters
CreateDeploymentGroupRequest.Builder onPremisesInstanceTagFilters(Collection<TagFilter> onPremisesInstanceTagFilters) The on-premises instance tags on which to filter. The deployment group includes on-premises instances with any of the specified tags. Cannot be used in the same call as
OnPremisesTagSet
.- Parameters:
onPremisesInstanceTagFilters
- The on-premises instance tags on which to filter. The deployment group includes on-premises instances with any of the specified tags. Cannot be used in the same call asOnPremisesTagSet
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onPremisesInstanceTagFilters
CreateDeploymentGroupRequest.Builder onPremisesInstanceTagFilters(TagFilter... onPremisesInstanceTagFilters) The on-premises instance tags on which to filter. The deployment group includes on-premises instances with any of the specified tags. Cannot be used in the same call as
OnPremisesTagSet
.- Parameters:
onPremisesInstanceTagFilters
- The on-premises instance tags on which to filter. The deployment group includes on-premises instances with any of the specified tags. Cannot be used in the same call asOnPremisesTagSet
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onPremisesInstanceTagFilters
CreateDeploymentGroupRequest.Builder onPremisesInstanceTagFilters(Consumer<TagFilter.Builder>... onPremisesInstanceTagFilters) The on-premises instance tags on which to filter. The deployment group includes on-premises instances with any of the specified tags. Cannot be used in the same call as
This is a convenience method that creates an instance of theOnPremisesTagSet
.TagFilter.Builder
avoiding the need to create one manually viaTagFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toonPremisesInstanceTagFilters(List<TagFilter>)
.- 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:
-
autoScalingGroups
A list of associated Amazon EC2 Auto Scaling groups.
- Parameters:
autoScalingGroups
- A list of associated Amazon EC2 Auto Scaling groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoScalingGroups
A list of associated Amazon EC2 Auto Scaling groups.
- Parameters:
autoScalingGroups
- A list of associated Amazon EC2 Auto Scaling groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceRoleArn
A service role Amazon Resource Name (ARN) that allows CodeDeploy to act on the user's behalf when interacting with Amazon Web Services services.
- Parameters:
serviceRoleArn
- A service role Amazon Resource Name (ARN) that allows CodeDeploy to act on the user's behalf when interacting with Amazon Web Services services.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
triggerConfigurations
CreateDeploymentGroupRequest.Builder triggerConfigurations(Collection<TriggerConfig> triggerConfigurations) Information about triggers to create when the deployment group is created. For examples, see Create a Trigger for an CodeDeploy Event in the CodeDeploy User Guide.
- Parameters:
triggerConfigurations
- Information about triggers to create when the deployment group is created. For examples, see Create a Trigger for an CodeDeploy Event in the CodeDeploy User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
triggerConfigurations
Information about triggers to create when the deployment group is created. For examples, see Create a Trigger for an CodeDeploy Event in the CodeDeploy User Guide.
- Parameters:
triggerConfigurations
- Information about triggers to create when the deployment group is created. For examples, see Create a Trigger for an CodeDeploy Event in the CodeDeploy User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
triggerConfigurations
CreateDeploymentGroupRequest.Builder triggerConfigurations(Consumer<TriggerConfig.Builder>... triggerConfigurations) Information about triggers to create when the deployment group is created. For examples, see Create a Trigger for an CodeDeploy Event in the CodeDeploy User Guide.
This is a convenience method that creates an instance of theTriggerConfig.Builder
avoiding the need to create one manually viaTriggerConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totriggerConfigurations(List<TriggerConfig>)
.- 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:
-
alarmConfiguration
Information to add about Amazon CloudWatch alarms when the deployment group is created.
- Parameters:
alarmConfiguration
- Information to add about Amazon CloudWatch alarms when the deployment group is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alarmConfiguration
default CreateDeploymentGroupRequest.Builder alarmConfiguration(Consumer<AlarmConfiguration.Builder> alarmConfiguration) Information to add about Amazon CloudWatch alarms when the deployment group is created.
This is a convenience method that creates an instance of theAlarmConfiguration.Builder
avoiding the need to create one manually viaAlarmConfiguration.builder()
.When the
Consumer
completes,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:
-
autoRollbackConfiguration
CreateDeploymentGroupRequest.Builder autoRollbackConfiguration(AutoRollbackConfiguration autoRollbackConfiguration) Configuration information for an automatic rollback that is added when a deployment group is created.
- Parameters:
autoRollbackConfiguration
- Configuration information for an automatic rollback that is added when a deployment group is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoRollbackConfiguration
default CreateDeploymentGroupRequest.Builder autoRollbackConfiguration(Consumer<AutoRollbackConfiguration.Builder> autoRollbackConfiguration) Configuration information for an automatic rollback that is added when a deployment group is created.
This is a convenience method that creates an instance of theAutoRollbackConfiguration.Builder
avoiding the need to create one manually viaAutoRollbackConfiguration.builder()
.When the
Consumer
completes,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:
-
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.- 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
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outdatedInstancesStrategy
CreateDeploymentGroupRequest.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
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.- 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
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deploymentStyle
Information about the type of deployment, in-place or blue/green, that you want to run and whether to route deployment traffic behind a load balancer.
- Parameters:
deploymentStyle
- Information about the type of deployment, in-place or blue/green, that 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 CreateDeploymentGroupRequest.Builder deploymentStyle(Consumer<DeploymentStyle.Builder> deploymentStyle) Information about the type of deployment, in-place or blue/green, that 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.Builder
avoiding the need to create one manually viaDeploymentStyle.builder()
.When the
Consumer
completes,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:
-
blueGreenDeploymentConfiguration
CreateDeploymentGroupRequest.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 CreateDeploymentGroupRequest.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.Builder
avoiding the need to create one manually viaBlueGreenDeploymentConfiguration.builder()
.When the
Consumer
completes,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:
-
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 CreateDeploymentGroupRequest.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.Builder
avoiding the need to create one manually viaLoadBalancerInfo.builder()
.When the
Consumer
completes,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:
-
ec2TagSet
Information about groups of tags applied to Amazon EC2 instances. The deployment group includes only Amazon EC2 instances identified by all the tag groups. Cannot be used in the same call as
ec2TagFilters
.- Parameters:
ec2TagSet
- Information about groups of tags applied to Amazon EC2 instances. The deployment group includes only Amazon EC2 instances identified by all the tag groups. Cannot be used in the same call asec2TagFilters
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2TagSet
Information about groups of tags applied to Amazon EC2 instances. The deployment group includes only Amazon EC2 instances identified by all the tag groups. Cannot be used in the same call as
This is a convenience method that creates an instance of theec2TagFilters
.EC2TagSet.Builder
avoiding the need to create one manually viaEC2TagSet.builder()
.When the
Consumer
completes,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:
-
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
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
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.Builder
avoiding the need to create one manually viaECSService.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toecsServices(List<ECSService>)
.- 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:
-
onPremisesTagSet
Information about groups of tags applied to on-premises instances. The deployment group includes only on-premises instances identified by all of the tag groups. Cannot be used in the same call as
onPremisesInstanceTagFilters
.- Parameters:
onPremisesTagSet
- Information about groups of tags applied to on-premises instances. The deployment group includes only on-premises instances identified by all of the tag groups. Cannot be used in the same call asonPremisesInstanceTagFilters
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onPremisesTagSet
default CreateDeploymentGroupRequest.Builder onPremisesTagSet(Consumer<OnPremisesTagSet.Builder> onPremisesTagSet) Information about groups of tags applied to on-premises instances. The deployment group includes only on-premises instances identified by all of the tag groups. Cannot be used in the same call as
This is a convenience method that creates an instance of theonPremisesInstanceTagFilters
.OnPremisesTagSet.Builder
avoiding the need to create one manually viaOnPremisesTagSet.builder()
.When the
Consumer
completes,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:
-
tags
The metadata that you apply to CodeDeploy deployment groups to help you organize and categorize them. Each tag consists of a key and an optional value, both of which you define.
- Parameters:
tags
- The metadata that you apply to CodeDeploy deployment groups to help you organize and categorize them. Each tag consists of a key and an optional value, both of which you define.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The metadata that you apply to CodeDeploy deployment groups to help you organize and categorize them. Each tag consists of a key and an optional value, both of which you define.
- Parameters:
tags
- The metadata that you apply to CodeDeploy deployment groups to help you organize and categorize them. Each tag consists of a key and an optional value, both of which you define.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The metadata that you apply to CodeDeploy deployment groups to help you organize and categorize them. Each tag consists of a key and an optional value, both of which you define.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
totrue
to have CodeDeploy install a termination hook into your Auto Scaling group when you create 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
terminationHookEnabled
totrue
to have CodeDeploy install a termination hook into your Auto Scaling group when you create 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
CreateDeploymentGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateDeploymentGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-