public class DeploymentGroupInfo extends Object implements Serializable
Information about a deployment group.
Constructor and Description |
---|
DeploymentGroupInfo() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getApplicationName()
The application name.
|
List<AutoScalingGroup> |
getAutoScalingGroups()
A list of associated Auto Scaling groups.
|
String |
getDeploymentConfigName()
The deployment configuration name.
|
String |
getDeploymentGroupId()
The deployment group ID.
|
String |
getDeploymentGroupName()
The deployment group name.
|
List<EC2TagFilter> |
getEc2TagFilters()
The Amazon EC2 tags to filter on.
|
String |
getServiceRoleArn()
A service role ARN.
|
RevisionLocation |
getTargetRevision()
Information about the deployment group's target revision, including
the revision's type and its location.
|
int |
hashCode() |
void |
setApplicationName(String applicationName)
The application name.
|
void |
setAutoScalingGroups(Collection<AutoScalingGroup> autoScalingGroups)
A list of associated Auto Scaling groups.
|
void |
setDeploymentConfigName(String deploymentConfigName)
The deployment configuration name.
|
void |
setDeploymentGroupId(String deploymentGroupId)
The deployment group ID.
|
void |
setDeploymentGroupName(String deploymentGroupName)
The deployment group name.
|
void |
setEc2TagFilters(Collection<EC2TagFilter> ec2TagFilters)
The Amazon EC2 tags to filter on.
|
void |
setServiceRoleArn(String serviceRoleArn)
A service role ARN.
|
void |
setTargetRevision(RevisionLocation targetRevision)
Information about the deployment group's target revision, including
the revision's type and its location.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeploymentGroupInfo |
withApplicationName(String applicationName)
The application name.
|
DeploymentGroupInfo |
withAutoScalingGroups(AutoScalingGroup... autoScalingGroups)
A list of associated Auto Scaling groups.
|
DeploymentGroupInfo |
withAutoScalingGroups(Collection<AutoScalingGroup> autoScalingGroups)
A list of associated Auto Scaling groups.
|
DeploymentGroupInfo |
withDeploymentConfigName(String deploymentConfigName)
The deployment configuration name.
|
DeploymentGroupInfo |
withDeploymentGroupId(String deploymentGroupId)
The deployment group ID.
|
DeploymentGroupInfo |
withDeploymentGroupName(String deploymentGroupName)
The deployment group name.
|
DeploymentGroupInfo |
withEc2TagFilters(Collection<EC2TagFilter> ec2TagFilters)
The Amazon EC2 tags to filter on.
|
DeploymentGroupInfo |
withEc2TagFilters(EC2TagFilter... ec2TagFilters)
The Amazon EC2 tags to filter on.
|
DeploymentGroupInfo |
withServiceRoleArn(String serviceRoleArn)
A service role ARN.
|
DeploymentGroupInfo |
withTargetRevision(RevisionLocation targetRevision)
Information about the deployment group's target revision, including
the revision's type and its location.
|
public String getApplicationName()
Constraints:
Length: 1 - 100
public void setApplicationName(String applicationName)
Constraints:
Length: 1 - 100
applicationName
- The application name.public DeploymentGroupInfo withApplicationName(String applicationName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
applicationName
- The application name.public String getDeploymentGroupId()
public void setDeploymentGroupId(String deploymentGroupId)
deploymentGroupId
- The deployment group ID.public DeploymentGroupInfo withDeploymentGroupId(String deploymentGroupId)
Returns a reference to this object so that method calls can be chained together.
deploymentGroupId
- The deployment group ID.public String getDeploymentGroupName()
Constraints:
Length: 1 - 100
public void setDeploymentGroupName(String deploymentGroupName)
Constraints:
Length: 1 - 100
deploymentGroupName
- The deployment group name.public DeploymentGroupInfo withDeploymentGroupName(String deploymentGroupName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
deploymentGroupName
- The deployment group name.public String getDeploymentConfigName()
Constraints:
Length: 1 - 100
public void setDeploymentConfigName(String deploymentConfigName)
Constraints:
Length: 1 - 100
deploymentConfigName
- The deployment configuration name.public DeploymentGroupInfo withDeploymentConfigName(String deploymentConfigName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
deploymentConfigName
- The deployment configuration name.public List<EC2TagFilter> getEc2TagFilters()
public void setEc2TagFilters(Collection<EC2TagFilter> ec2TagFilters)
ec2TagFilters
- The Amazon EC2 tags to filter on.public DeploymentGroupInfo 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 DeploymentGroupInfo 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<AutoScalingGroup> getAutoScalingGroups()
public void setAutoScalingGroups(Collection<AutoScalingGroup> autoScalingGroups)
autoScalingGroups
- A list of associated Auto Scaling groups.public DeploymentGroupInfo withAutoScalingGroups(AutoScalingGroup... autoScalingGroups)
Returns a reference to this object so that method calls can be chained together.
autoScalingGroups
- A list of associated Auto Scaling groups.public DeploymentGroupInfo withAutoScalingGroups(Collection<AutoScalingGroup> 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.public DeploymentGroupInfo withServiceRoleArn(String serviceRoleArn)
Returns a reference to this object so that method calls can be chained together.
serviceRoleArn
- A service role ARN.public RevisionLocation getTargetRevision()
public void setTargetRevision(RevisionLocation targetRevision)
targetRevision
- Information about the deployment group's target revision, including
the revision's type and its location.public DeploymentGroupInfo withTargetRevision(RevisionLocation targetRevision)
Returns a reference to this object so that method calls can be chained together.
targetRevision
- Information about the deployment group's target revision, including
the revision's type and its location.public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.