public class CreateDeploymentGroupRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Represents the input of a create deployment group operation.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
applicationName
The name of an AWS CodeDeploy application associated with the applicable
IAM user or AWS account.
|
private SdkInternalList<java.lang.String> |
autoScalingGroups
A list of associated Auto Scaling groups.
|
private java.lang.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.
|
private java.lang.String |
deploymentGroupName
The name of a new deployment group for the specified application.
|
private SdkInternalList<EC2TagFilter> |
ec2TagFilters
The Amazon EC2 tags on which to filter.
|
private SdkInternalList<TagFilter> |
onPremisesInstanceTagFilters
The on-premises instance tags on which to filter.
|
private java.lang.String |
serviceRoleArn
A service role ARN that allows AWS CodeDeploy to act on the user's behalf
when interacting with AWS services.
|
private SdkInternalList<TriggerConfig> |
triggerConfigurations
Information about triggers to create when the deployment group is
created.
|
NOOP
Constructor and Description |
---|
CreateDeploymentGroupRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDeploymentGroupRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getApplicationName()
The name of an AWS CodeDeploy application associated with the applicable
IAM user or AWS account.
|
java.util.List<java.lang.String> |
getAutoScalingGroups()
A list of associated Auto Scaling groups.
|
java.lang.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.
|
java.lang.String |
getDeploymentGroupName()
The name of a new deployment group for the specified application.
|
java.util.List<EC2TagFilter> |
getEc2TagFilters()
The Amazon EC2 tags on which to filter.
|
java.util.List<TagFilter> |
getOnPremisesInstanceTagFilters()
The on-premises instance tags on which to filter.
|
java.lang.String |
getServiceRoleArn()
A service role ARN that allows AWS CodeDeploy to act on the user's behalf
when interacting with AWS services.
|
java.util.List<TriggerConfig> |
getTriggerConfigurations()
Information about triggers to create when the deployment group is
created.
|
int |
hashCode() |
void |
setApplicationName(java.lang.String applicationName)
The name of an AWS CodeDeploy application associated with the applicable
IAM user or AWS account.
|
void |
setAutoScalingGroups(java.util.Collection<java.lang.String> autoScalingGroups)
A list of associated Auto Scaling groups.
|
void |
setDeploymentConfigName(java.lang.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(java.lang.String deploymentGroupName)
The name of a new deployment group for the specified application.
|
void |
setEc2TagFilters(java.util.Collection<EC2TagFilter> ec2TagFilters)
The Amazon EC2 tags on which to filter.
|
void |
setOnPremisesInstanceTagFilters(java.util.Collection<TagFilter> onPremisesInstanceTagFilters)
The on-premises instance tags on which to filter.
|
void |
setServiceRoleArn(java.lang.String serviceRoleArn)
A service role ARN that allows AWS CodeDeploy to act on the user's behalf
when interacting with AWS services.
|
void |
setTriggerConfigurations(java.util.Collection<TriggerConfig> triggerConfigurations)
Information about triggers to create when the deployment group is
created.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateDeploymentGroupRequest |
withApplicationName(java.lang.String applicationName)
The name of an AWS CodeDeploy application associated with the applicable
IAM user or AWS account.
|
CreateDeploymentGroupRequest |
withAutoScalingGroups(java.util.Collection<java.lang.String> autoScalingGroups)
A list of associated Auto Scaling groups.
|
CreateDeploymentGroupRequest |
withAutoScalingGroups(java.lang.String... autoScalingGroups)
A list of associated Auto Scaling groups.
|
CreateDeploymentGroupRequest |
withDeploymentConfigName(java.lang.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(java.lang.String deploymentGroupName)
The name of a new deployment group for the specified application.
|
CreateDeploymentGroupRequest |
withEc2TagFilters(java.util.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(java.util.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(java.lang.String serviceRoleArn)
A service role ARN that allows AWS CodeDeploy to act on the user's behalf
when interacting with AWS services.
|
CreateDeploymentGroupRequest |
withTriggerConfigurations(java.util.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
private java.lang.String applicationName
The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.
private java.lang.String deploymentGroupName
The name of a new deployment group for the specified application.
private java.lang.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.
The predefined deployment configurations include the following:
CodeDeployDefault.AllAtOnce attempts to deploy an application revision to as many instance as possible at once. The status of the overall deployment will be displayed as Succeeded if the application revision is deployed to one or more of the instances. The status of the overall deployment will be displayed as Failed if the application revision is not deployed to any of the instances. Using an example of nine instance, CodeDeployDefault.AllAtOnce will attempt to deploy to all nine instance at once. The overall deployment will succeed if deployment to even a single instance is successful; it will fail only if deployments to all nine instance fail.
CodeDeployDefault.HalfAtATime deploys to up to half of the instances at a time (with fractions rounded down). The overall deployment succeeds if the application revision is deployed to at least half of the instances (with fractions rounded up); otherwise, the deployment fails. In the example of nine instances, it will deploy to up to four instance at a time. The overall deployment succeeds if deployment to five or more instances succeed; otherwise, the deployment fails. The deployment may be successfully deployed to some instances even if the overall deployment fails.
CodeDeployDefault.OneAtATime deploys the application revision to only one instance at a time.
For deployment groups that contain more than one instance:
The overall deployment succeeds if the application revision is deployed to all of the instances. The exception to this rule is if deployment to the last instance fails, the overall deployment still succeeds. This is because AWS CodeDeploy allows only one instance at a time to be taken offline with the CodeDeployDefault.OneAtATime configuration.
The overall deployment fails as soon as the application revision fails to be deployed to any but the last instance. The deployment may be successfully deployed to some instances even if the overall deployment fails.
In an example using nine instance, it will deploy to one instance at a time. The overall deployment succeeds if deployment to the first eight instance is successful; the overall deployment fails if deployment to any of the first eight instance fails.
For deployment groups that contain only one instance, the overall deployment is successful only if deployment to the single instance is successful
private SdkInternalList<EC2TagFilter> ec2TagFilters
The Amazon EC2 tags on which to filter.
private SdkInternalList<TagFilter> onPremisesInstanceTagFilters
The on-premises instance tags on which to filter.
private SdkInternalList<java.lang.String> autoScalingGroups
A list of associated Auto Scaling groups.
private java.lang.String serviceRoleArn
A service role ARN that allows AWS CodeDeploy to act on the user's behalf when interacting with AWS services.
private SdkInternalList<TriggerConfig> triggerConfigurations
Information about triggers to create when the deployment group is created.
public void setApplicationName(java.lang.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 java.lang.String getApplicationName()
The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.
public CreateDeploymentGroupRequest withApplicationName(java.lang.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(java.lang.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 java.lang.String getDeploymentGroupName()
The name of a new deployment group for the specified application.
public CreateDeploymentGroupRequest withDeploymentGroupName(java.lang.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(java.lang.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.
The predefined deployment configurations include the following:
CodeDeployDefault.AllAtOnce attempts to deploy an application revision to as many instance as possible at once. The status of the overall deployment will be displayed as Succeeded if the application revision is deployed to one or more of the instances. The status of the overall deployment will be displayed as Failed if the application revision is not deployed to any of the instances. Using an example of nine instance, CodeDeployDefault.AllAtOnce will attempt to deploy to all nine instance at once. The overall deployment will succeed if deployment to even a single instance is successful; it will fail only if deployments to all nine instance fail.
CodeDeployDefault.HalfAtATime deploys to up to half of the instances at a time (with fractions rounded down). The overall deployment succeeds if the application revision is deployed to at least half of the instances (with fractions rounded up); otherwise, the deployment fails. In the example of nine instances, it will deploy to up to four instance at a time. The overall deployment succeeds if deployment to five or more instances succeed; otherwise, the deployment fails. The deployment may be successfully deployed to some instances even if the overall deployment fails.
CodeDeployDefault.OneAtATime deploys the application revision to only one instance at a time.
For deployment groups that contain more than one instance:
The overall deployment succeeds if the application revision is deployed to all of the instances. The exception to this rule is if deployment to the last instance fails, the overall deployment still succeeds. This is because AWS CodeDeploy allows only one instance at a time to be taken offline with the CodeDeployDefault.OneAtATime configuration.
The overall deployment fails as soon as the application revision fails to be deployed to any but the last instance. The deployment may be successfully deployed to some instances even if the overall deployment fails.
In an example using nine instance, it will deploy to one instance at a time. The overall deployment succeeds if deployment to the first eight instance is successful; the overall deployment fails if deployment to any of the first eight instance fails.
For deployment groups that contain only one instance, the overall deployment is successful only if deployment to the single instance is successful
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.
The predefined deployment configurations include the following:
CodeDeployDefault.AllAtOnce attempts to deploy an application revision to as many instance as possible at once. The status of the overall deployment will be displayed as Succeeded if the application revision is deployed to one or more of the instances. The status of the overall deployment will be displayed as Failed if the application revision is not deployed to any of the instances. Using an example of nine instance, CodeDeployDefault.AllAtOnce will attempt to deploy to all nine instance at once. The overall deployment will succeed if deployment to even a single instance is successful; it will fail only if deployments to all nine instance fail.
CodeDeployDefault.HalfAtATime deploys to up to half of the instances at a time (with fractions rounded down). The overall deployment succeeds if the application revision is deployed to at least half of the instances (with fractions rounded up); otherwise, the deployment fails. In the example of nine instances, it will deploy to up to four instance at a time. The overall deployment succeeds if deployment to five or more instances succeed; otherwise, the deployment fails. The deployment may be successfully deployed to some instances even if the overall deployment fails.
CodeDeployDefault.OneAtATime deploys the application revision to only one instance at a time.
For deployment groups that contain more than one instance:
The overall deployment succeeds if the application revision is deployed to all of the instances. The exception to this rule is if deployment to the last instance fails, the overall deployment still succeeds. This is because AWS CodeDeploy allows only one instance at a time to be taken offline with the CodeDeployDefault.OneAtATime configuration.
The overall deployment fails as soon as the application revision fails to be deployed to any but the last instance. The deployment may be successfully deployed to some instances even if the overall deployment fails.
In an example using nine instance, it will deploy to one instance at a time. The overall deployment succeeds if deployment to the first eight instance is successful; the overall deployment fails if deployment to any of the first eight instance fails.
For deployment groups that contain only one instance, the overall deployment is successful only if deployment to the single instance is successful
public java.lang.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.
The predefined deployment configurations include the following:
CodeDeployDefault.AllAtOnce attempts to deploy an application revision to as many instance as possible at once. The status of the overall deployment will be displayed as Succeeded if the application revision is deployed to one or more of the instances. The status of the overall deployment will be displayed as Failed if the application revision is not deployed to any of the instances. Using an example of nine instance, CodeDeployDefault.AllAtOnce will attempt to deploy to all nine instance at once. The overall deployment will succeed if deployment to even a single instance is successful; it will fail only if deployments to all nine instance fail.
CodeDeployDefault.HalfAtATime deploys to up to half of the instances at a time (with fractions rounded down). The overall deployment succeeds if the application revision is deployed to at least half of the instances (with fractions rounded up); otherwise, the deployment fails. In the example of nine instances, it will deploy to up to four instance at a time. The overall deployment succeeds if deployment to five or more instances succeed; otherwise, the deployment fails. The deployment may be successfully deployed to some instances even if the overall deployment fails.
CodeDeployDefault.OneAtATime deploys the application revision to only one instance at a time.
For deployment groups that contain more than one instance:
The overall deployment succeeds if the application revision is deployed to all of the instances. The exception to this rule is if deployment to the last instance fails, the overall deployment still succeeds. This is because AWS CodeDeploy allows only one instance at a time to be taken offline with the CodeDeployDefault.OneAtATime configuration.
The overall deployment fails as soon as the application revision fails to be deployed to any but the last instance. The deployment may be successfully deployed to some instances even if the overall deployment fails.
In an example using nine instance, it will deploy to one instance at a time. The overall deployment succeeds if deployment to the first eight instance is successful; the overall deployment fails if deployment to any of the first eight instance fails.
For deployment groups that contain only one instance, the overall deployment is successful only if deployment to the single instance is successful
CodeDeployDefault.OneAtATime is the default deployment configuration. It is used if a configuration isn't specified for the deployment or the deployment group.
The predefined deployment configurations include the following:
CodeDeployDefault.AllAtOnce attempts to deploy an application revision to as many instance as possible at once. The status of the overall deployment will be displayed as Succeeded if the application revision is deployed to one or more of the instances. The status of the overall deployment will be displayed as Failed if the application revision is not deployed to any of the instances. Using an example of nine instance, CodeDeployDefault.AllAtOnce will attempt to deploy to all nine instance at once. The overall deployment will succeed if deployment to even a single instance is successful; it will fail only if deployments to all nine instance fail.
CodeDeployDefault.HalfAtATime deploys to up to half of the instances at a time (with fractions rounded down). The overall deployment succeeds if the application revision is deployed to at least half of the instances (with fractions rounded up); otherwise, the deployment fails. In the example of nine instances, it will deploy to up to four instance at a time. The overall deployment succeeds if deployment to five or more instances succeed; otherwise, the deployment fails. The deployment may be successfully deployed to some instances even if the overall deployment fails.
CodeDeployDefault.OneAtATime deploys the application revision to only one instance at a time.
For deployment groups that contain more than one instance:
The overall deployment succeeds if the application revision is deployed to all of the instances. The exception to this rule is if deployment to the last instance fails, the overall deployment still succeeds. This is because AWS CodeDeploy allows only one instance at a time to be taken offline with the CodeDeployDefault.OneAtATime configuration.
The overall deployment fails as soon as the application revision fails to be deployed to any but the last instance. The deployment may be successfully deployed to some instances even if the overall deployment fails.
In an example using nine instance, it will deploy to one instance at a time. The overall deployment succeeds if deployment to the first eight instance is successful; the overall deployment fails if deployment to any of the first eight instance fails.
For deployment groups that contain only one instance, the overall deployment is successful only if deployment to the single instance is successful
public CreateDeploymentGroupRequest withDeploymentConfigName(java.lang.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.
The predefined deployment configurations include the following:
CodeDeployDefault.AllAtOnce attempts to deploy an application revision to as many instance as possible at once. The status of the overall deployment will be displayed as Succeeded if the application revision is deployed to one or more of the instances. The status of the overall deployment will be displayed as Failed if the application revision is not deployed to any of the instances. Using an example of nine instance, CodeDeployDefault.AllAtOnce will attempt to deploy to all nine instance at once. The overall deployment will succeed if deployment to even a single instance is successful; it will fail only if deployments to all nine instance fail.
CodeDeployDefault.HalfAtATime deploys to up to half of the instances at a time (with fractions rounded down). The overall deployment succeeds if the application revision is deployed to at least half of the instances (with fractions rounded up); otherwise, the deployment fails. In the example of nine instances, it will deploy to up to four instance at a time. The overall deployment succeeds if deployment to five or more instances succeed; otherwise, the deployment fails. The deployment may be successfully deployed to some instances even if the overall deployment fails.
CodeDeployDefault.OneAtATime deploys the application revision to only one instance at a time.
For deployment groups that contain more than one instance:
The overall deployment succeeds if the application revision is deployed to all of the instances. The exception to this rule is if deployment to the last instance fails, the overall deployment still succeeds. This is because AWS CodeDeploy allows only one instance at a time to be taken offline with the CodeDeployDefault.OneAtATime configuration.
The overall deployment fails as soon as the application revision fails to be deployed to any but the last instance. The deployment may be successfully deployed to some instances even if the overall deployment fails.
In an example using nine instance, it will deploy to one instance at a time. The overall deployment succeeds if deployment to the first eight instance is successful; the overall deployment fails if deployment to any of the first eight instance fails.
For deployment groups that contain only one instance, the overall deployment is successful only if deployment to the single instance is successful
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.
The predefined deployment configurations include the following:
CodeDeployDefault.AllAtOnce attempts to deploy an application revision to as many instance as possible at once. The status of the overall deployment will be displayed as Succeeded if the application revision is deployed to one or more of the instances. The status of the overall deployment will be displayed as Failed if the application revision is not deployed to any of the instances. Using an example of nine instance, CodeDeployDefault.AllAtOnce will attempt to deploy to all nine instance at once. The overall deployment will succeed if deployment to even a single instance is successful; it will fail only if deployments to all nine instance fail.
CodeDeployDefault.HalfAtATime deploys to up to half of the instances at a time (with fractions rounded down). The overall deployment succeeds if the application revision is deployed to at least half of the instances (with fractions rounded up); otherwise, the deployment fails. In the example of nine instances, it will deploy to up to four instance at a time. The overall deployment succeeds if deployment to five or more instances succeed; otherwise, the deployment fails. The deployment may be successfully deployed to some instances even if the overall deployment fails.
CodeDeployDefault.OneAtATime deploys the application revision to only one instance at a time.
For deployment groups that contain more than one instance:
The overall deployment succeeds if the application revision is deployed to all of the instances. The exception to this rule is if deployment to the last instance fails, the overall deployment still succeeds. This is because AWS CodeDeploy allows only one instance at a time to be taken offline with the CodeDeployDefault.OneAtATime configuration.
The overall deployment fails as soon as the application revision fails to be deployed to any but the last instance. The deployment may be successfully deployed to some instances even if the overall deployment fails.
In an example using nine instance, it will deploy to one instance at a time. The overall deployment succeeds if deployment to the first eight instance is successful; the overall deployment fails if deployment to any of the first eight instance fails.
For deployment groups that contain only one instance, the overall deployment is successful only if deployment to the single instance is successful
public java.util.List<EC2TagFilter> getEc2TagFilters()
The Amazon EC2 tags on which to filter.
public void setEc2TagFilters(java.util.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(java.util.Collection<EC2TagFilter> ec2TagFilters)
The Amazon EC2 tags on which to filter.
ec2TagFilters
- The Amazon EC2 tags on which to filter.public java.util.List<TagFilter> getOnPremisesInstanceTagFilters()
The on-premises instance tags on which to filter.
public void setOnPremisesInstanceTagFilters(java.util.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(java.util.Collection<TagFilter> onPremisesInstanceTagFilters)
The on-premises instance tags on which to filter.
onPremisesInstanceTagFilters
- The on-premises instance tags on which to filter.public java.util.List<java.lang.String> getAutoScalingGroups()
A list of associated Auto Scaling groups.
public void setAutoScalingGroups(java.util.Collection<java.lang.String> autoScalingGroups)
A list of associated Auto Scaling groups.
autoScalingGroups
- A list of associated Auto Scaling groups.public CreateDeploymentGroupRequest withAutoScalingGroups(java.lang.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(java.util.Collection<java.lang.String> autoScalingGroups)
A list of associated Auto Scaling groups.
autoScalingGroups
- A list of associated Auto Scaling groups.public void setServiceRoleArn(java.lang.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 java.lang.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(java.lang.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 java.util.List<TriggerConfig> getTriggerConfigurations()
Information about triggers to create when the deployment group is created.
public void setTriggerConfigurations(java.util.Collection<TriggerConfig> triggerConfigurations)
Information about triggers to create when the deployment group is created.
triggerConfigurations
- Information about triggers to create when the deployment group is
created.public CreateDeploymentGroupRequest withTriggerConfigurations(TriggerConfig... triggerConfigurations)
Information about triggers to create when the deployment group is created.
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.public CreateDeploymentGroupRequest withTriggerConfigurations(java.util.Collection<TriggerConfig> triggerConfigurations)
Information about triggers to create when the deployment group is created.
triggerConfigurations
- Information about triggers to create when the deployment group is
created.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreateDeploymentGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()