Interface DeploymentGroupInfo.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DeploymentGroupInfo.Builder,
,DeploymentGroupInfo> SdkBuilder<DeploymentGroupInfo.Builder,
,DeploymentGroupInfo> SdkPojo
- Enclosing class:
DeploymentGroupInfo
-
Method Summary
Modifier and TypeMethodDescriptiondefault DeploymentGroupInfo.Builder
alarmConfiguration
(Consumer<AlarmConfiguration.Builder> alarmConfiguration) A list of alarms associated with the deployment group.alarmConfiguration
(AlarmConfiguration alarmConfiguration) A list of alarms associated with the deployment group.applicationName
(String applicationName) The application name.default DeploymentGroupInfo.Builder
autoRollbackConfiguration
(Consumer<AutoRollbackConfiguration.Builder> autoRollbackConfiguration) Information about the automatic rollback configuration associated with the deployment group.autoRollbackConfiguration
(AutoRollbackConfiguration autoRollbackConfiguration) Information about the automatic rollback configuration associated with the deployment group.autoScalingGroups
(Collection<AutoScalingGroup> autoScalingGroups) A list of associated Auto Scaling groups.autoScalingGroups
(Consumer<AutoScalingGroup.Builder>... autoScalingGroups) A list of associated Auto Scaling groups.autoScalingGroups
(AutoScalingGroup... autoScalingGroups) A list of associated Auto Scaling groups.default DeploymentGroupInfo.Builder
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.computePlatform
(String computePlatform) The destination platform type for the deployment (Lambda
,Server
, orECS
).computePlatform
(ComputePlatform computePlatform) The destination platform type for the deployment (Lambda
,Server
, orECS
).deploymentConfigName
(String deploymentConfigName) The deployment configuration name.deploymentGroupId
(String deploymentGroupId) The deployment group ID.deploymentGroupName
(String deploymentGroupName) The deployment group name.default DeploymentGroupInfo.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.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.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.default DeploymentGroupInfo.Builder
ec2TagSet
(Consumer<EC2TagSet.Builder> ec2TagSet) Information about groups of tags applied to an Amazon EC2 instance.Information about groups of tags applied to an Amazon EC2 instance.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.default DeploymentGroupInfo.Builder
lastAttemptedDeployment
(Consumer<LastDeploymentInfo.Builder> lastAttemptedDeployment) Information about the most recent attempted deployment to the deployment group.lastAttemptedDeployment
(LastDeploymentInfo lastAttemptedDeployment) Information about the most recent attempted deployment to the deployment group.default DeploymentGroupInfo.Builder
lastSuccessfulDeployment
(Consumer<LastDeploymentInfo.Builder> lastSuccessfulDeployment) Information about the most recent successful deployment to the deployment group.lastSuccessfulDeployment
(LastDeploymentInfo lastSuccessfulDeployment) Information about the most recent successful deployment to the deployment group.default DeploymentGroupInfo.Builder
loadBalancerInfo
(Consumer<LoadBalancerInfo.Builder> loadBalancerInfo) Information about the load balancer to use in a deployment.loadBalancerInfo
(LoadBalancerInfo loadBalancerInfo) Information about the load balancer to use 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.default DeploymentGroupInfo.Builder
onPremisesTagSet
(Consumer<OnPremisesTagSet.Builder> onPremisesTagSet) Information about groups of tags applied to an on-premises instance.onPremisesTagSet
(OnPremisesTagSet onPremisesTagSet) Information about groups of tags applied to an on-premises instance.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.serviceRoleArn
(String serviceRoleArn) A service role Amazon Resource Name (ARN) that grants CodeDeploy permission to make calls to Amazon Web Services services on your behalf.default DeploymentGroupInfo.Builder
targetRevision
(Consumer<RevisionLocation.Builder> targetRevision) Information about the deployment group's target revision, including type and location.targetRevision
(RevisionLocation targetRevision) Information about the deployment group's target revision, including type and location.terminationHookEnabled
(Boolean terminationHookEnabled) Indicates whether the deployment group was configured to have CodeDeploy install a termination hook into an Auto Scaling group.triggerConfigurations
(Collection<TriggerConfig> triggerConfigurations) Information about triggers associated with the deployment group.triggerConfigurations
(Consumer<TriggerConfig.Builder>... triggerConfigurations) Information about triggers associated with the deployment group.triggerConfigurations
(TriggerConfig... triggerConfigurations) Information about triggers associated with the deployment group.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 application name.
- Parameters:
applicationName
- The application name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentGroupId
The deployment group ID.
- Parameters:
deploymentGroupId
- The deployment group ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentGroupName
The deployment group name.
- Parameters:
deploymentGroupName
- The deployment group name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentConfigName
The deployment configuration name.
- Parameters:
deploymentConfigName
- The deployment configuration name.- 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 EC2 instances with any of the specified tags.
- Parameters:
ec2TagFilters
- The Amazon EC2 tags on which to filter. The deployment group includes EC2 instances with any of the specified tags.- 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 EC2 instances with any of the specified tags.
- Parameters:
ec2TagFilters
- The Amazon EC2 tags on which to filter. The deployment group includes EC2 instances with any of the specified tags.- 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 EC2 instances with any of the specified tags.
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
DeploymentGroupInfo.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.
- Parameters:
onPremisesInstanceTagFilters
- The on-premises instance tags on which to filter. The deployment group includes on-premises instances with any of the specified tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onPremisesInstanceTagFilters
The on-premises instance tags on which to filter. The deployment group includes on-premises instances with any of the specified tags.
- Parameters:
onPremisesInstanceTagFilters
- The on-premises instance tags on which to filter. The deployment group includes on-premises instances with any of the specified tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onPremisesInstanceTagFilters
DeploymentGroupInfo.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.
This is a convenience method that creates an instance of theTagFilter.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 Auto Scaling groups.
- Parameters:
autoScalingGroups
- A list of associated Auto Scaling groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoScalingGroups
A list of associated Auto Scaling groups.
- Parameters:
autoScalingGroups
- A list of associated Auto Scaling groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoScalingGroups
DeploymentGroupInfo.Builder autoScalingGroups(Consumer<AutoScalingGroup.Builder>... autoScalingGroups) A list of associated Auto Scaling groups.
This is a convenience method that creates an instance of theAutoScalingGroup.Builder
avoiding the need to create one manually viaAutoScalingGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toautoScalingGroups(List<AutoScalingGroup>)
.- Parameters:
autoScalingGroups
- a consumer that will call methods onAutoScalingGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serviceRoleArn
A service role Amazon Resource Name (ARN) that grants CodeDeploy permission to make calls to Amazon Web Services services on your behalf. For more information, see Create a Service Role for CodeDeploy in the CodeDeploy User Guide.
- Parameters:
serviceRoleArn
- A service role Amazon Resource Name (ARN) that grants CodeDeploy permission to make calls to Amazon Web Services services on your behalf. For more information, see Create a Service Role for CodeDeploy in the CodeDeploy User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetRevision
Information about the deployment group's target revision, including type and location.
- Parameters:
targetRevision
- Information about the deployment group's target revision, including type and location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetRevision
default DeploymentGroupInfo.Builder targetRevision(Consumer<RevisionLocation.Builder> targetRevision) Information about the deployment group's target revision, including type and location.
This is a convenience method that creates an instance of theRevisionLocation.Builder
avoiding the need to create one manually viaRevisionLocation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totargetRevision(RevisionLocation)
.- Parameters:
targetRevision
- a consumer that will call methods onRevisionLocation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
triggerConfigurations
Information about triggers associated with the deployment group.
- Parameters:
triggerConfigurations
- Information about triggers associated with the deployment group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
triggerConfigurations
Information about triggers associated with the deployment group.
- Parameters:
triggerConfigurations
- Information about triggers associated with the deployment group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
triggerConfigurations
DeploymentGroupInfo.Builder triggerConfigurations(Consumer<TriggerConfig.Builder>... triggerConfigurations) Information about triggers associated with the deployment group.
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
A list of alarms associated with the deployment group.
- Parameters:
alarmConfiguration
- A list of alarms associated with the deployment group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alarmConfiguration
default DeploymentGroupInfo.Builder alarmConfiguration(Consumer<AlarmConfiguration.Builder> alarmConfiguration) A list of alarms associated with the deployment group.
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
DeploymentGroupInfo.Builder autoRollbackConfiguration(AutoRollbackConfiguration autoRollbackConfiguration) Information about the automatic rollback configuration associated with the deployment group.
- Parameters:
autoRollbackConfiguration
- Information about the automatic rollback configuration associated with the deployment group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoRollbackConfiguration
default DeploymentGroupInfo.Builder autoRollbackConfiguration(Consumer<AutoRollbackConfiguration.Builder> autoRollbackConfiguration) Information about the automatic rollback configuration associated with the deployment group.
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:
-
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 DeploymentGroupInfo.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.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:
-
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
DeploymentGroupInfo.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:
-
blueGreenDeploymentConfiguration
DeploymentGroupInfo.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 DeploymentGroupInfo.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 to use in a deployment.
- Parameters:
loadBalancerInfo
- Information about the load balancer to use in a deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loadBalancerInfo
default DeploymentGroupInfo.Builder loadBalancerInfo(Consumer<LoadBalancerInfo.Builder> loadBalancerInfo) Information about the load balancer to use 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:
-
lastSuccessfulDeployment
Information about the most recent successful deployment to the deployment group.
- Parameters:
lastSuccessfulDeployment
- Information about the most recent successful deployment to the deployment group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastSuccessfulDeployment
default DeploymentGroupInfo.Builder lastSuccessfulDeployment(Consumer<LastDeploymentInfo.Builder> lastSuccessfulDeployment) Information about the most recent successful deployment to the deployment group.
This is a convenience method that creates an instance of theLastDeploymentInfo.Builder
avoiding the need to create one manually viaLastDeploymentInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolastSuccessfulDeployment(LastDeploymentInfo)
.- Parameters:
lastSuccessfulDeployment
- a consumer that will call methods onLastDeploymentInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastAttemptedDeployment
Information about the most recent attempted deployment to the deployment group.
- Parameters:
lastAttemptedDeployment
- Information about the most recent attempted deployment to the deployment group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastAttemptedDeployment
default DeploymentGroupInfo.Builder lastAttemptedDeployment(Consumer<LastDeploymentInfo.Builder> lastAttemptedDeployment) Information about the most recent attempted deployment to the deployment group.
This is a convenience method that creates an instance of theLastDeploymentInfo.Builder
avoiding the need to create one manually viaLastDeploymentInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolastAttemptedDeployment(LastDeploymentInfo)
.- Parameters:
lastAttemptedDeployment
- a consumer that will call methods onLastDeploymentInfo.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 an Amazon EC2 instance. The deployment group includes only Amazon EC2 instances identified by all of the tag groups. Cannot be used in the same call as ec2TagFilters.
- Parameters:
ec2TagSet
- Information about groups of tags applied to an Amazon EC2 instance. The deployment group includes only Amazon EC2 instances identified by all of the tag groups. Cannot be used in the same call as ec2TagFilters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2TagSet
Information about groups of tags applied to an Amazon EC2 instance. The deployment group includes only Amazon EC2 instances identified by all of the tag groups. Cannot be used in the same call as ec2TagFilters.
This is a convenience method that creates an instance of theEC2TagSet.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:
-
onPremisesTagSet
Information about groups of tags applied to an on-premises instance. The deployment group includes only on-premises instances identified by all the tag groups. Cannot be used in the same call as onPremisesInstanceTagFilters.
- Parameters:
onPremisesTagSet
- Information about groups of tags applied to an on-premises instance. The deployment group includes only on-premises instances identified by all the tag groups. Cannot be used in the same call as onPremisesInstanceTagFilters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onPremisesTagSet
default DeploymentGroupInfo.Builder onPremisesTagSet(Consumer<OnPremisesTagSet.Builder> onPremisesTagSet) Information about groups of tags applied to an on-premises instance. The deployment group includes only on-premises instances identified by all the tag groups. Cannot be used in the same call as onPremisesInstanceTagFilters.
This is a convenience method that creates an instance of theOnPremisesTagSet.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:
-
computePlatform
The destination platform type for the deployment (
Lambda
,Server
, orECS
).- Parameters:
computePlatform
- The destination platform type for the deployment (Lambda
,Server
, orECS
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
computePlatform
The destination platform type for the deployment (
Lambda
,Server
, orECS
).- Parameters:
computePlatform
- The destination platform type for the deployment (Lambda
,Server
, orECS
).- 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:
-
terminationHookEnabled
Indicates whether the deployment group was configured to have CodeDeploy install a termination hook into an Auto Scaling group.
For more information about the termination hook, see How Amazon EC2 Auto Scaling works with CodeDeploy in the CodeDeploy User Guide.
- Parameters:
terminationHookEnabled
- Indicates whether the deployment group was configured to have CodeDeploy install a termination hook into an Auto Scaling group.For more information about the termination hook, see How Amazon EC2 Auto Scaling works with CodeDeploy in the CodeDeploy User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-