public static interface CreateDeploymentGroupRequest.Builder extends CodeDeployRequest.Builder, CopyableBuilder<CreateDeploymentGroupRequest.Builder,CreateDeploymentGroupRequest>
Modifier and Type | Method and Description |
---|---|
CreateDeploymentGroupRequest.Builder |
alarmConfiguration(AlarmConfiguration alarmConfiguration)
Information to add about Amazon CloudWatch alarms when the deployment group is created.
|
default CreateDeploymentGroupRequest.Builder |
alarmConfiguration(Consumer<AlarmConfiguration.Builder> alarmConfiguration)
Information to add about Amazon CloudWatch alarms when the deployment group is created.
|
CreateDeploymentGroupRequest.Builder |
applicationName(String applicationName)
The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.
|
CreateDeploymentGroupRequest.Builder |
autoRollbackConfiguration(AutoRollbackConfiguration autoRollbackConfiguration)
Configuration information for an automatic rollback that is added when a deployment group is created.
|
default CreateDeploymentGroupRequest.Builder |
autoRollbackConfiguration(Consumer<AutoRollbackConfiguration.Builder> autoRollbackConfiguration)
Configuration information for an automatic rollback that is added when a deployment group is created.
|
CreateDeploymentGroupRequest.Builder |
autoScalingGroups(Collection<String> autoScalingGroups)
A list of associated Auto Scaling groups.
|
CreateDeploymentGroupRequest.Builder |
autoScalingGroups(String... autoScalingGroups)
A list of associated Auto Scaling groups.
|
CreateDeploymentGroupRequest.Builder |
blueGreenDeploymentConfiguration(BlueGreenDeploymentConfiguration blueGreenDeploymentConfiguration)
Information about blue/green deployment options for a deployment group.
|
default CreateDeploymentGroupRequest.Builder |
blueGreenDeploymentConfiguration(Consumer<BlueGreenDeploymentConfiguration.Builder> blueGreenDeploymentConfiguration)
Information about blue/green deployment options for a deployment group.
|
CreateDeploymentGroupRequest.Builder |
deploymentConfigName(String deploymentConfigName)
If specified, the deployment configuration name can be either one of the predefined configurations provided
with AWS CodeDeploy or a custom deployment configuration that you create by calling the create deployment
configuration operation.
|
CreateDeploymentGroupRequest.Builder |
deploymentGroupName(String deploymentGroupName)
The name of a new deployment group for the specified application.
|
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.
|
CreateDeploymentGroupRequest.Builder |
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.
|
CreateDeploymentGroupRequest.Builder |
ec2TagFilters(Collection<EC2TagFilter> ec2TagFilters)
The Amazon EC2 tags on which to filter.
|
CreateDeploymentGroupRequest.Builder |
ec2TagFilters(Consumer<EC2TagFilter.Builder>... ec2TagFilters)
The Amazon EC2 tags on which to filter.
|
CreateDeploymentGroupRequest.Builder |
ec2TagFilters(EC2TagFilter... ec2TagFilters)
The Amazon EC2 tags on which to filter.
|
default CreateDeploymentGroupRequest.Builder |
ec2TagSet(Consumer<EC2TagSet.Builder> ec2TagSet)
Information about groups of tags applied to EC2 instances.
|
CreateDeploymentGroupRequest.Builder |
ec2TagSet(EC2TagSet ec2TagSet)
Information about groups of tags applied to EC2 instances.
|
default CreateDeploymentGroupRequest.Builder |
loadBalancerInfo(Consumer<LoadBalancerInfo.Builder> loadBalancerInfo)
Information about the load balancer used in a deployment.
|
CreateDeploymentGroupRequest.Builder |
loadBalancerInfo(LoadBalancerInfo loadBalancerInfo)
Information about the load balancer used in a deployment.
|
CreateDeploymentGroupRequest.Builder |
onPremisesInstanceTagFilters(Collection<TagFilter> onPremisesInstanceTagFilters)
The on-premises instance tags on which to filter.
|
CreateDeploymentGroupRequest.Builder |
onPremisesInstanceTagFilters(Consumer<TagFilter.Builder>... onPremisesInstanceTagFilters)
The on-premises instance tags on which to filter.
|
CreateDeploymentGroupRequest.Builder |
onPremisesInstanceTagFilters(TagFilter... onPremisesInstanceTagFilters)
The on-premises instance tags on which to filter.
|
default CreateDeploymentGroupRequest.Builder |
onPremisesTagSet(Consumer<OnPremisesTagSet.Builder> onPremisesTagSet)
Information about groups of tags applied to on-premises instances.
|
CreateDeploymentGroupRequest.Builder |
onPremisesTagSet(OnPremisesTagSet onPremisesTagSet)
Information about groups of tags applied to on-premises instances.
|
CreateDeploymentGroupRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateDeploymentGroupRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateDeploymentGroupRequest.Builder |
serviceRoleArn(String serviceRoleArn)
A service role ARN that allows AWS CodeDeploy to act on the user's behalf when interacting with AWS services.
|
CreateDeploymentGroupRequest.Builder |
triggerConfigurations(Collection<TriggerConfig> triggerConfigurations)
Information about triggers to create when the deployment group is created.
|
CreateDeploymentGroupRequest.Builder |
triggerConfigurations(Consumer<TriggerConfig.Builder>... triggerConfigurations)
Information about triggers to create when the deployment group is created.
|
CreateDeploymentGroupRequest.Builder |
triggerConfigurations(TriggerConfig... triggerConfigurations)
Information about triggers to create when the deployment group is created.
|
build
overrideConfiguration
copy
applyMutation, build
CreateDeploymentGroupRequest.Builder applicationName(String applicationName)
The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.
applicationName
- The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.CreateDeploymentGroupRequest.Builder deploymentGroupName(String deploymentGroupName)
The name of a new deployment group for the specified application.
deploymentGroupName
- The name of a new deployment group for the specified application.CreateDeploymentGroupRequest.Builder deploymentConfigName(String deploymentConfigName)
If specified, the deployment configuration name can be either one of the predefined configurations provided with AWS 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 the deployment group.
For more information about the predefined deployment configurations in AWS CodeDeploy, see Working with Deployment Groups in AWS CodeDeploy in the AWS CodeDeploy User Guide.
deploymentConfigName
- If specified, the deployment configuration name can be either one of the predefined configurations
provided with AWS 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 the deployment group.
For more information about the predefined deployment configurations in AWS CodeDeploy, see Working with Deployment Groups in AWS CodeDeploy in the AWS CodeDeploy User Guide.
CreateDeploymentGroupRequest.Builder ec2TagFilters(Collection<EC2TagFilter> ec2TagFilters)
The Amazon EC2 tags on which to filter. The deployment group will include EC2 instances with any of the specified tags. Cannot be used in the same call as ec2TagSet.
ec2TagFilters
- The Amazon EC2 tags on which to filter. The deployment group will include EC2 instances with any of
the specified tags. Cannot be used in the same call as ec2TagSet.CreateDeploymentGroupRequest.Builder ec2TagFilters(EC2TagFilter... ec2TagFilters)
The Amazon EC2 tags on which to filter. The deployment group will include EC2 instances with any of the specified tags. Cannot be used in the same call as ec2TagSet.
ec2TagFilters
- The Amazon EC2 tags on which to filter. The deployment group will include EC2 instances with any of
the specified tags. Cannot be used in the same call as ec2TagSet.CreateDeploymentGroupRequest.Builder ec2TagFilters(Consumer<EC2TagFilter.Builder>... ec2TagFilters)
The Amazon EC2 tags on which to filter. The deployment group will include EC2 instances with any of the specified tags. Cannot be used in the same call as ec2TagSet.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #ec2TagFilters(List)
.ec2TagFilters
- a consumer that will call methods on List.Builder
#ec2TagFilters(List)
CreateDeploymentGroupRequest.Builder onPremisesInstanceTagFilters(Collection<TagFilter> onPremisesInstanceTagFilters)
The on-premises instance tags on which to filter. The deployment group will include on-premises instances with any of the specified tags. Cannot be used in the same call as OnPremisesTagSet.
onPremisesInstanceTagFilters
- The on-premises instance tags on which to filter. The deployment group will include on-premises
instances with any of the specified tags. Cannot be used in the same call as OnPremisesTagSet.CreateDeploymentGroupRequest.Builder onPremisesInstanceTagFilters(TagFilter... onPremisesInstanceTagFilters)
The on-premises instance tags on which to filter. The deployment group will include on-premises instances with any of the specified tags. Cannot be used in the same call as OnPremisesTagSet.
onPremisesInstanceTagFilters
- The on-premises instance tags on which to filter. The deployment group will include on-premises
instances with any of the specified tags. Cannot be used in the same call as OnPremisesTagSet.CreateDeploymentGroupRequest.Builder onPremisesInstanceTagFilters(Consumer<TagFilter.Builder>... onPremisesInstanceTagFilters)
The on-premises instance tags on which to filter. The deployment group will include on-premises instances with any of the specified tags. Cannot be used in the same call as OnPremisesTagSet.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #onPremisesInstanceTagFilters(List)
.onPremisesInstanceTagFilters
- a consumer that will call methods on List.Builder
#onPremisesInstanceTagFilters(List)
CreateDeploymentGroupRequest.Builder autoScalingGroups(Collection<String> autoScalingGroups)
A list of associated Auto Scaling groups.
autoScalingGroups
- A list of associated Auto Scaling groups.CreateDeploymentGroupRequest.Builder autoScalingGroups(String... autoScalingGroups)
A list of associated Auto Scaling groups.
autoScalingGroups
- A list of associated Auto Scaling groups.CreateDeploymentGroupRequest.Builder serviceRoleArn(String serviceRoleArn)
A service role ARN that allows AWS CodeDeploy to act on the user's behalf when interacting with AWS services.
serviceRoleArn
- A service role ARN that allows AWS CodeDeploy to act on the user's behalf when interacting with AWS
services.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 AWS CodeDeploy Event in the AWS CodeDeploy User Guide.
triggerConfigurations
- Information about triggers to create when the deployment group is created. For examples, see Create a Trigger
for an AWS CodeDeploy Event in the AWS CodeDeploy User Guide.CreateDeploymentGroupRequest.Builder triggerConfigurations(TriggerConfig... triggerConfigurations)
Information about triggers to create when the deployment group is created. For examples, see Create a Trigger for an AWS CodeDeploy Event in the AWS CodeDeploy User Guide.
triggerConfigurations
- Information about triggers to create when the deployment group is created. For examples, see Create a Trigger
for an AWS CodeDeploy Event in the AWS CodeDeploy User Guide.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 AWS CodeDeploy Event in the AWS CodeDeploy User Guide.
This is a convenience that creates an instance of theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #triggerConfigurations(List)
.triggerConfigurations
- a consumer that will call methods on List.Builder
#triggerConfigurations(List)
CreateDeploymentGroupRequest.Builder alarmConfiguration(AlarmConfiguration alarmConfiguration)
Information to add about Amazon CloudWatch alarms when the deployment group is created.
alarmConfiguration
- Information to add about Amazon CloudWatch alarms when the deployment group is created.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 that creates an instance of theAlarmConfiguration.Builder
avoiding the need to
create one manually via AlarmConfiguration.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to alarmConfiguration(AlarmConfiguration)
.alarmConfiguration
- a consumer that will call methods on AlarmConfiguration.Builder
alarmConfiguration(AlarmConfiguration)
CreateDeploymentGroupRequest.Builder autoRollbackConfiguration(AutoRollbackConfiguration autoRollbackConfiguration)
Configuration information for an automatic rollback that is added when a deployment group is created.
autoRollbackConfiguration
- Configuration information for an automatic rollback that is added when a deployment group is created.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 that creates an instance of theAutoRollbackConfiguration.Builder
avoiding the
need to create one manually via AutoRollbackConfiguration.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to autoRollbackConfiguration(AutoRollbackConfiguration)
.autoRollbackConfiguration
- a consumer that will call methods on AutoRollbackConfiguration.Builder
autoRollbackConfiguration(AutoRollbackConfiguration)
CreateDeploymentGroupRequest.Builder 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.
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.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 that creates an instance of theDeploymentStyle.Builder
avoiding the need to
create one manually via DeploymentStyle.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to deploymentStyle(DeploymentStyle)
.deploymentStyle
- a consumer that will call methods on DeploymentStyle.Builder
deploymentStyle(DeploymentStyle)
CreateDeploymentGroupRequest.Builder blueGreenDeploymentConfiguration(BlueGreenDeploymentConfiguration blueGreenDeploymentConfiguration)
Information about blue/green deployment options for a deployment group.
blueGreenDeploymentConfiguration
- Information about blue/green deployment options for a deployment group.default CreateDeploymentGroupRequest.Builder blueGreenDeploymentConfiguration(Consumer<BlueGreenDeploymentConfiguration.Builder> blueGreenDeploymentConfiguration)
Information about blue/green deployment options for a deployment group.
This is a convenience that creates an instance of theBlueGreenDeploymentConfiguration.Builder
avoiding the need to create one manually via BlueGreenDeploymentConfiguration.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to
blueGreenDeploymentConfiguration(BlueGreenDeploymentConfiguration)
.blueGreenDeploymentConfiguration
- a consumer that will call methods on BlueGreenDeploymentConfiguration.Builder
blueGreenDeploymentConfiguration(BlueGreenDeploymentConfiguration)
CreateDeploymentGroupRequest.Builder loadBalancerInfo(LoadBalancerInfo loadBalancerInfo)
Information about the load balancer used in a deployment.
loadBalancerInfo
- Information about the load balancer used in a deployment.default CreateDeploymentGroupRequest.Builder loadBalancerInfo(Consumer<LoadBalancerInfo.Builder> loadBalancerInfo)
Information about the load balancer used in a deployment.
This is a convenience that creates an instance of theLoadBalancerInfo.Builder
avoiding the need to
create one manually via LoadBalancerInfo.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to loadBalancerInfo(LoadBalancerInfo)
.loadBalancerInfo
- a consumer that will call methods on LoadBalancerInfo.Builder
loadBalancerInfo(LoadBalancerInfo)
CreateDeploymentGroupRequest.Builder ec2TagSet(EC2TagSet ec2TagSet)
Information about groups of tags applied to EC2 instances. The deployment group will include only EC2 instances identified by all the tag groups. Cannot be used in the same call as ec2TagFilters.
ec2TagSet
- Information about groups of tags applied to EC2 instances. The deployment group will include only EC2
instances identified by all the tag groups. Cannot be used in the same call as ec2TagFilters.default CreateDeploymentGroupRequest.Builder ec2TagSet(Consumer<EC2TagSet.Builder> ec2TagSet)
Information about groups of tags applied to EC2 instances. The deployment group will include only EC2 instances identified by all the tag groups. Cannot be used in the same call as ec2TagFilters.
This is a convenience that creates an instance of theEC2TagSet.Builder
avoiding the need to create
one manually via EC2TagSet.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to ec2TagSet(EC2TagSet)
.ec2TagSet
- a consumer that will call methods on EC2TagSet.Builder
ec2TagSet(EC2TagSet)
CreateDeploymentGroupRequest.Builder onPremisesTagSet(OnPremisesTagSet onPremisesTagSet)
Information about groups of tags applied to on-premises instances. The deployment group will include only on-premises instances identified by all the tag groups. Cannot be used in the same call as onPremisesInstanceTagFilters.
onPremisesTagSet
- Information about groups of tags applied to on-premises instances. The deployment group will include
only on-premises instances identified by all the tag groups. Cannot be used in the same call as
onPremisesInstanceTagFilters.default CreateDeploymentGroupRequest.Builder onPremisesTagSet(Consumer<OnPremisesTagSet.Builder> onPremisesTagSet)
Information about groups of tags applied to on-premises instances. The deployment group will include only on-premises instances identified by all the tag groups. Cannot be used in the same call as onPremisesInstanceTagFilters.
This is a convenience that creates an instance of theOnPremisesTagSet.Builder
avoiding the need to
create one manually via OnPremisesTagSet.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to onPremisesTagSet(OnPremisesTagSet)
.onPremisesTagSet
- a consumer that will call methods on OnPremisesTagSet.Builder
onPremisesTagSet(OnPremisesTagSet)
CreateDeploymentGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateDeploymentGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.