@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDeploymentGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a create deployment group operation.
NOOP
Constructor and Description |
---|
CreateDeploymentGroupRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDeploymentGroupRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
AlarmConfiguration |
getAlarmConfiguration()
Information to add about Amazon CloudWatch alarms when the deployment group is created.
|
String |
getApplicationName()
The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.
|
AutoRollbackConfiguration |
getAutoRollbackConfiguration()
Configuration information for an automatic rollback that is added when a deployment group is created.
|
List<String> |
getAutoScalingGroups()
A list of associated Auto Scaling groups.
|
BlueGreenDeploymentConfiguration |
getBlueGreenDeploymentConfiguration()
Information about blue/green deployment options for a deployment group.
|
String |
getDeploymentConfigName()
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.
|
String |
getDeploymentGroupName()
The name of a new deployment group for the specified application.
|
DeploymentStyle |
getDeploymentStyle()
Information about the type of deployment, standard or blue/green, that you want to run and whether to route
deployment traffic behind a load balancer.
|
List<EC2TagFilter> |
getEc2TagFilters()
The Amazon EC2 tags on which to filter.
|
LoadBalancerInfo |
getLoadBalancerInfo()
Information about the load balancer used in a blue/green deployment.
|
List<TagFilter> |
getOnPremisesInstanceTagFilters()
The on-premises instance tags on which to filter.
|
String |
getServiceRoleArn()
A service role ARN that allows AWS CodeDeploy to act on the user's behalf when interacting with AWS services.
|
List<TriggerConfig> |
getTriggerConfigurations()
Information about triggers to create when the deployment group is created.
|
int |
hashCode() |
void |
setAlarmConfiguration(AlarmConfiguration alarmConfiguration)
Information to add about Amazon CloudWatch alarms when the deployment group is created.
|
void |
setApplicationName(String applicationName)
The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.
|
void |
setAutoRollbackConfiguration(AutoRollbackConfiguration autoRollbackConfiguration)
Configuration information for an automatic rollback that is added when a deployment group is created.
|
void |
setAutoScalingGroups(Collection<String> autoScalingGroups)
A list of associated Auto Scaling groups.
|
void |
setBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfiguration blueGreenDeploymentConfiguration)
Information about blue/green deployment options for a deployment group.
|
void |
setDeploymentConfigName(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.
|
void |
setDeploymentGroupName(String deploymentGroupName)
The name of a new deployment group for the specified application.
|
void |
setDeploymentStyle(DeploymentStyle deploymentStyle)
Information about the type of deployment, standard or blue/green, that you want to run and whether to route
deployment traffic behind a load balancer.
|
void |
setEc2TagFilters(Collection<EC2TagFilter> ec2TagFilters)
The Amazon EC2 tags on which to filter.
|
void |
setLoadBalancerInfo(LoadBalancerInfo loadBalancerInfo)
Information about the load balancer used in a blue/green deployment.
|
void |
setOnPremisesInstanceTagFilters(Collection<TagFilter> onPremisesInstanceTagFilters)
The on-premises instance tags on which to filter.
|
void |
setServiceRoleArn(String serviceRoleArn)
A service role ARN that allows AWS CodeDeploy to act on the user's behalf when interacting with AWS services.
|
void |
setTriggerConfigurations(Collection<TriggerConfig> triggerConfigurations)
Information about triggers to create when the deployment group is created.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateDeploymentGroupRequest |
withAlarmConfiguration(AlarmConfiguration alarmConfiguration)
Information to add about Amazon CloudWatch alarms when the deployment group is created.
|
CreateDeploymentGroupRequest |
withApplicationName(String applicationName)
The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.
|
CreateDeploymentGroupRequest |
withAutoRollbackConfiguration(AutoRollbackConfiguration autoRollbackConfiguration)
Configuration information for an automatic rollback that is added when a deployment group is created.
|
CreateDeploymentGroupRequest |
withAutoScalingGroups(Collection<String> autoScalingGroups)
A list of associated Auto Scaling groups.
|
CreateDeploymentGroupRequest |
withAutoScalingGroups(String... autoScalingGroups)
A list of associated Auto Scaling groups.
|
CreateDeploymentGroupRequest |
withBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfiguration blueGreenDeploymentConfiguration)
Information about blue/green deployment options for a deployment group.
|
CreateDeploymentGroupRequest |
withDeploymentConfigName(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 |
withDeploymentGroupName(String deploymentGroupName)
The name of a new deployment group for the specified application.
|
CreateDeploymentGroupRequest |
withDeploymentStyle(DeploymentStyle deploymentStyle)
Information about the type of deployment, standard or blue/green, that you want to run and whether to route
deployment traffic behind a load balancer.
|
CreateDeploymentGroupRequest |
withEc2TagFilters(Collection<EC2TagFilter> ec2TagFilters)
The Amazon EC2 tags on which to filter.
|
CreateDeploymentGroupRequest |
withEc2TagFilters(EC2TagFilter... ec2TagFilters)
The Amazon EC2 tags on which to filter.
|
CreateDeploymentGroupRequest |
withLoadBalancerInfo(LoadBalancerInfo loadBalancerInfo)
Information about the load balancer used in a blue/green deployment.
|
CreateDeploymentGroupRequest |
withOnPremisesInstanceTagFilters(Collection<TagFilter> onPremisesInstanceTagFilters)
The on-premises instance tags on which to filter.
|
CreateDeploymentGroupRequest |
withOnPremisesInstanceTagFilters(TagFilter... onPremisesInstanceTagFilters)
The on-premises instance tags on which to filter.
|
CreateDeploymentGroupRequest |
withServiceRoleArn(String serviceRoleArn)
A service role ARN that allows AWS CodeDeploy to act on the user's behalf when interacting with AWS services.
|
CreateDeploymentGroupRequest |
withTriggerConfigurations(Collection<TriggerConfig> triggerConfigurations)
Information about triggers to create when the deployment group is created.
|
CreateDeploymentGroupRequest |
withTriggerConfigurations(TriggerConfig... triggerConfigurations)
Information about triggers to create when the deployment group is created.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setApplicationName(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.public String getApplicationName()
The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.
public CreateDeploymentGroupRequest withApplicationName(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.public void setDeploymentGroupName(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.public String getDeploymentGroupName()
The name of a new deployment group for the specified application.
public CreateDeploymentGroupRequest withDeploymentGroupName(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.public void setDeploymentConfigName(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 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 see Working with Deployment Groups in AWS CodeDeploy in the AWS CodeDeploy User Guide.
public String getDeploymentConfigName()
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 see Working with Deployment Groups in AWS CodeDeploy in the AWS CodeDeploy User Guide.
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 see Working with Deployment Groups in AWS CodeDeploy in the AWS CodeDeploy User Guide.
public CreateDeploymentGroupRequest withDeploymentConfigName(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 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 see Working with Deployment Groups in AWS CodeDeploy in the AWS CodeDeploy User Guide.
public List<EC2TagFilter> getEc2TagFilters()
The Amazon EC2 tags on which to filter.
public void setEc2TagFilters(Collection<EC2TagFilter> ec2TagFilters)
The Amazon EC2 tags on which to filter.
ec2TagFilters
- The Amazon EC2 tags on which to filter.public CreateDeploymentGroupRequest withEc2TagFilters(EC2TagFilter... ec2TagFilters)
The Amazon EC2 tags on which to filter.
NOTE: This method appends the values to the existing list (if any). Use
setEc2TagFilters(java.util.Collection)
or withEc2TagFilters(java.util.Collection)
if you want
to override the existing values.
ec2TagFilters
- The Amazon EC2 tags on which to filter.public CreateDeploymentGroupRequest withEc2TagFilters(Collection<EC2TagFilter> ec2TagFilters)
The Amazon EC2 tags on which to filter.
ec2TagFilters
- The Amazon EC2 tags on which to filter.public List<TagFilter> getOnPremisesInstanceTagFilters()
The on-premises instance tags on which to filter.
public void setOnPremisesInstanceTagFilters(Collection<TagFilter> onPremisesInstanceTagFilters)
The on-premises instance tags on which to filter.
onPremisesInstanceTagFilters
- The on-premises instance tags on which to filter.public CreateDeploymentGroupRequest withOnPremisesInstanceTagFilters(TagFilter... onPremisesInstanceTagFilters)
The on-premises instance tags on which to filter.
NOTE: This method appends the values to the existing list (if any). Use
setOnPremisesInstanceTagFilters(java.util.Collection)
or
withOnPremisesInstanceTagFilters(java.util.Collection)
if you want to override the existing values.
onPremisesInstanceTagFilters
- The on-premises instance tags on which to filter.public CreateDeploymentGroupRequest withOnPremisesInstanceTagFilters(Collection<TagFilter> onPremisesInstanceTagFilters)
The on-premises instance tags on which to filter.
onPremisesInstanceTagFilters
- The on-premises instance tags on which to filter.public List<String> getAutoScalingGroups()
A list of associated Auto Scaling groups.
public void setAutoScalingGroups(Collection<String> autoScalingGroups)
A list of associated Auto Scaling groups.
autoScalingGroups
- A list of associated Auto Scaling groups.public CreateDeploymentGroupRequest withAutoScalingGroups(String... autoScalingGroups)
A list of associated Auto Scaling groups.
NOTE: This method appends the values to the existing list (if any). Use
setAutoScalingGroups(java.util.Collection)
or withAutoScalingGroups(java.util.Collection)
if
you want to override the existing values.
autoScalingGroups
- A list of associated Auto Scaling groups.public CreateDeploymentGroupRequest withAutoScalingGroups(Collection<String> autoScalingGroups)
A list of associated Auto Scaling groups.
autoScalingGroups
- A list of associated Auto Scaling groups.public void setServiceRoleArn(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.public String getServiceRoleArn()
A service role ARN that allows AWS CodeDeploy to act on the user's behalf when interacting with AWS services.
public CreateDeploymentGroupRequest withServiceRoleArn(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.public List<TriggerConfig> getTriggerConfigurations()
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.
public void setTriggerConfigurations(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.public CreateDeploymentGroupRequest withTriggerConfigurations(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.
NOTE: This method appends the values to the existing list (if any). Use
setTriggerConfigurations(java.util.Collection)
or
withTriggerConfigurations(java.util.Collection)
if you want to override the existing values.
triggerConfigurations
- Information about triggers to create when the deployment group is created. For examples, see Create a Trigger for
an AWS CodeDeploy Event in the AWS CodeDeploy User Guide.public CreateDeploymentGroupRequest withTriggerConfigurations(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.public void setAlarmConfiguration(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.public AlarmConfiguration getAlarmConfiguration()
Information to add about Amazon CloudWatch alarms when the deployment group is created.
public CreateDeploymentGroupRequest withAlarmConfiguration(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.public void setAutoRollbackConfiguration(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.public AutoRollbackConfiguration getAutoRollbackConfiguration()
Configuration information for an automatic rollback that is added when a deployment group is created.
public CreateDeploymentGroupRequest withAutoRollbackConfiguration(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.public void setDeploymentStyle(DeploymentStyle deploymentStyle)
Information about the type of deployment, standard 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, standard or blue/green, that you want to run and whether to
route deployment traffic behind a load balancer.public DeploymentStyle getDeploymentStyle()
Information about the type of deployment, standard or blue/green, that you want to run and whether to route deployment traffic behind a load balancer.
public CreateDeploymentGroupRequest withDeploymentStyle(DeploymentStyle deploymentStyle)
Information about the type of deployment, standard 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, standard or blue/green, that you want to run and whether to
route deployment traffic behind a load balancer.public void setBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfiguration blueGreenDeploymentConfiguration)
Information about blue/green deployment options for a deployment group.
blueGreenDeploymentConfiguration
- Information about blue/green deployment options for a deployment group.public BlueGreenDeploymentConfiguration getBlueGreenDeploymentConfiguration()
Information about blue/green deployment options for a deployment group.
public CreateDeploymentGroupRequest withBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfiguration blueGreenDeploymentConfiguration)
Information about blue/green deployment options for a deployment group.
blueGreenDeploymentConfiguration
- Information about blue/green deployment options for a deployment group.public void setLoadBalancerInfo(LoadBalancerInfo loadBalancerInfo)
Information about the load balancer used in a blue/green deployment.
loadBalancerInfo
- Information about the load balancer used in a blue/green deployment.public LoadBalancerInfo getLoadBalancerInfo()
Information about the load balancer used in a blue/green deployment.
public CreateDeploymentGroupRequest withLoadBalancerInfo(LoadBalancerInfo loadBalancerInfo)
Information about the load balancer used in a blue/green deployment.
loadBalancerInfo
- Information about the load balancer used in a blue/green deployment.public String toString()
toString
in class Object
Object.toString()
public CreateDeploymentGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.