@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() |
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.
|
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.
|
List<EC2TagFilter> |
getEc2TagFilters()
The Amazon EC2 tags on which to filter.
|
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 |
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 |
setEc2TagFilters(Collection<EC2TagFilter> ec2TagFilters)
The Amazon EC2 tags on which to filter.
|
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 |
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 |
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 |
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.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, 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 String toString()
toString
in class Object
Object.toString()
public CreateDeploymentGroupRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2017. All rights reserved.