public class CreateDeploymentGroupRequest extends AmazonWebServiceRequest implements Serializable
CreateDeploymentGroup operation
.
Creates a new deployment group for application revisions to be deployed to.
NOOP
Constructor and Description |
---|
CreateDeploymentGroupRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getApplicationName()
The name of an existing AWS CodeDeploy application within the AWS user
account.
|
List<String> |
getAutoScalingGroups()
A list of associated Auto Scaling groups.
|
String |
getDeploymentConfigName()
If specified, the deployment configuration name must be one of the
predefined values, or it can be a custom deployment configuration:
CodeDeployDefault.AllAtOnce deploys an application revision
to up to all of the Amazon EC2 instances at once.
|
String |
getDeploymentGroupName()
The name of an existing deployment group for the specified
application.
|
List<EC2TagFilter> |
getEc2TagFilters()
The Amazon EC2 tags to filter on.
|
String |
getServiceRoleArn()
A service role ARN that allows AWS CodeDeploy to act on the user's
behalf when interacting with AWS services.
|
int |
hashCode() |
void |
setApplicationName(String applicationName)
The name of an existing AWS CodeDeploy application within the AWS user
account.
|
void |
setAutoScalingGroups(Collection<String> autoScalingGroups)
A list of associated Auto Scaling groups.
|
void |
setDeploymentConfigName(String deploymentConfigName)
If specified, the deployment configuration name must be one of the
predefined values, or it can be a custom deployment configuration:
CodeDeployDefault.AllAtOnce deploys an application revision
to up to all of the Amazon EC2 instances at once.
|
void |
setDeploymentGroupName(String deploymentGroupName)
The name of an existing deployment group for the specified
application.
|
void |
setEc2TagFilters(Collection<EC2TagFilter> ec2TagFilters)
The Amazon EC2 tags to filter on.
|
void |
setServiceRoleArn(String serviceRoleArn)
A service role ARN that allows AWS CodeDeploy to act on the user's
behalf when interacting with AWS services.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateDeploymentGroupRequest |
withApplicationName(String applicationName)
The name of an existing AWS CodeDeploy application within the AWS user
account.
|
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 must be one of the
predefined values, or it can be a custom deployment configuration:
CodeDeployDefault.AllAtOnce deploys an application revision
to up to all of the Amazon EC2 instances at once.
|
CreateDeploymentGroupRequest |
withDeploymentGroupName(String deploymentGroupName)
The name of an existing deployment group for the specified
application.
|
CreateDeploymentGroupRequest |
withEc2TagFilters(Collection<EC2TagFilter> ec2TagFilters)
The Amazon EC2 tags to filter on.
|
CreateDeploymentGroupRequest |
withEc2TagFilters(EC2TagFilter... ec2TagFilters)
The Amazon EC2 tags to filter on.
|
CreateDeploymentGroupRequest |
withServiceRoleArn(String serviceRoleArn)
A service role ARN that allows AWS CodeDeploy to act on the user's
behalf when interacting with AWS services.
|
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getApplicationName()
Constraints:
Length: 1 - 100
public void setApplicationName(String applicationName)
Constraints:
Length: 1 - 100
applicationName
- The name of an existing AWS CodeDeploy application within the AWS user
account.public CreateDeploymentGroupRequest withApplicationName(String applicationName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
applicationName
- The name of an existing AWS CodeDeploy application within the AWS user
account.public String getDeploymentGroupName()
Constraints:
Length: 1 - 100
public void setDeploymentGroupName(String deploymentGroupName)
Constraints:
Length: 1 - 100
deploymentGroupName
- The name of an existing deployment group for the specified
application.public CreateDeploymentGroupRequest withDeploymentGroupName(String deploymentGroupName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
deploymentGroupName
- The name of an existing deployment group for the specified
application.public String getDeploymentConfigName()
To create a custom deployment configuration, call the create deployment configuration operation.
Constraints:
Length: 1 - 100
To create a custom deployment configuration, call the create deployment configuration operation.
public void setDeploymentConfigName(String deploymentConfigName)
To create a custom deployment configuration, call the create deployment configuration operation.
Constraints:
Length: 1 - 100
deploymentConfigName
- If specified, the deployment configuration name must be one of the
predefined values, or it can be a custom deployment configuration:
To create a custom deployment configuration, call the create deployment configuration operation.
public CreateDeploymentGroupRequest withDeploymentConfigName(String deploymentConfigName)
To create a custom deployment configuration, call the create deployment configuration operation.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
deploymentConfigName
- If specified, the deployment configuration name must be one of the
predefined values, or it can be a custom deployment configuration:
To create a custom deployment configuration, call the create deployment configuration operation.
public List<EC2TagFilter> getEc2TagFilters()
public void setEc2TagFilters(Collection<EC2TagFilter> ec2TagFilters)
ec2TagFilters
- The Amazon EC2 tags to filter on.public CreateDeploymentGroupRequest withEc2TagFilters(EC2TagFilter... ec2TagFilters)
Returns a reference to this object so that method calls can be chained together.
ec2TagFilters
- The Amazon EC2 tags to filter on.public CreateDeploymentGroupRequest withEc2TagFilters(Collection<EC2TagFilter> ec2TagFilters)
Returns a reference to this object so that method calls can be chained together.
ec2TagFilters
- The Amazon EC2 tags to filter on.public List<String> getAutoScalingGroups()
public void setAutoScalingGroups(Collection<String> autoScalingGroups)
autoScalingGroups
- A list of associated Auto Scaling groups.public CreateDeploymentGroupRequest withAutoScalingGroups(String... autoScalingGroups)
Returns a reference to this object so that method calls can be chained together.
autoScalingGroups
- A list of associated Auto Scaling groups.public CreateDeploymentGroupRequest withAutoScalingGroups(Collection<String> autoScalingGroups)
Returns a reference to this object so that method calls can be chained together.
autoScalingGroups
- A list of associated Auto Scaling groups.public String getServiceRoleArn()
public void setServiceRoleArn(String serviceRoleArn)
serviceRoleArn
- 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)
Returns a reference to this object so that method calls can be chained together.
serviceRoleArn
- A service role ARN that allows AWS CodeDeploy to act on the user's
behalf when interacting with AWS services.public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.