Class DeploymentGroupInfo
- java.lang.Object
-
- com.amazonaws.services.codedeploy.model.DeploymentGroupInfo
-
- All Implemented Interfaces:
Serializable,Cloneable
public class DeploymentGroupInfo extends Object implements Serializable, Cloneable
Information about a deployment group.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DeploymentGroupInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeploymentGroupInfoclone()booleanequals(Object obj)StringgetApplicationName()The application name.List<AutoScalingGroup>getAutoScalingGroups()A list of associated Auto Scaling groups.StringgetDeploymentConfigName()The deployment configuration name.StringgetDeploymentGroupId()The deployment group ID.StringgetDeploymentGroupName()The deployment group name.List<EC2TagFilter>getEc2TagFilters()The Amazon EC2 tags on which to filter.List<TagFilter>getOnPremisesInstanceTagFilters()The on-premises instance tags on which to filter.StringgetServiceRoleArn()A service role ARN.RevisionLocationgetTargetRevision()Information about the deployment group's target revision, including type and location.List<TriggerConfig>getTriggerConfigurations()A list of associated triggers.inthashCode()voidsetApplicationName(String applicationName)The application name.voidsetAutoScalingGroups(Collection<AutoScalingGroup> autoScalingGroups)A list of associated Auto Scaling groups.voidsetDeploymentConfigName(String deploymentConfigName)The deployment configuration name.voidsetDeploymentGroupId(String deploymentGroupId)The deployment group ID.voidsetDeploymentGroupName(String deploymentGroupName)The deployment group name.voidsetEc2TagFilters(Collection<EC2TagFilter> ec2TagFilters)The Amazon EC2 tags on which to filter.voidsetOnPremisesInstanceTagFilters(Collection<TagFilter> onPremisesInstanceTagFilters)The on-premises instance tags on which to filter.voidsetServiceRoleArn(String serviceRoleArn)A service role ARN.voidsetTargetRevision(RevisionLocation targetRevision)Information about the deployment group's target revision, including type and location.voidsetTriggerConfigurations(Collection<TriggerConfig> triggerConfigurations)A list of associated triggers.StringtoString()Returns a string representation of this object; useful for testing and debugging.DeploymentGroupInfowithApplicationName(String applicationName)The application name.DeploymentGroupInfowithAutoScalingGroups(AutoScalingGroup... autoScalingGroups)A list of associated Auto Scaling groups.DeploymentGroupInfowithAutoScalingGroups(Collection<AutoScalingGroup> autoScalingGroups)A list of associated Auto Scaling groups.DeploymentGroupInfowithDeploymentConfigName(String deploymentConfigName)The deployment configuration name.DeploymentGroupInfowithDeploymentGroupId(String deploymentGroupId)The deployment group ID.DeploymentGroupInfowithDeploymentGroupName(String deploymentGroupName)The deployment group name.DeploymentGroupInfowithEc2TagFilters(EC2TagFilter... ec2TagFilters)The Amazon EC2 tags on which to filter.DeploymentGroupInfowithEc2TagFilters(Collection<EC2TagFilter> ec2TagFilters)The Amazon EC2 tags on which to filter.DeploymentGroupInfowithOnPremisesInstanceTagFilters(TagFilter... onPremisesInstanceTagFilters)The on-premises instance tags on which to filter.DeploymentGroupInfowithOnPremisesInstanceTagFilters(Collection<TagFilter> onPremisesInstanceTagFilters)The on-premises instance tags on which to filter.DeploymentGroupInfowithServiceRoleArn(String serviceRoleArn)A service role ARN.DeploymentGroupInfowithTargetRevision(RevisionLocation targetRevision)Information about the deployment group's target revision, including type and location.DeploymentGroupInfowithTriggerConfigurations(TriggerConfig... triggerConfigurations)A list of associated triggers.DeploymentGroupInfowithTriggerConfigurations(Collection<TriggerConfig> triggerConfigurations)A list of associated triggers.
-
-
-
Method Detail
-
setApplicationName
public void setApplicationName(String applicationName)
The application name.
- Parameters:
applicationName- The application name.
-
getApplicationName
public String getApplicationName()
The application name.
- Returns:
- The application name.
-
withApplicationName
public DeploymentGroupInfo withApplicationName(String applicationName)
The application name.
- Parameters:
applicationName- The application name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDeploymentGroupId
public void setDeploymentGroupId(String deploymentGroupId)
The deployment group ID.
- Parameters:
deploymentGroupId- The deployment group ID.
-
getDeploymentGroupId
public String getDeploymentGroupId()
The deployment group ID.
- Returns:
- The deployment group ID.
-
withDeploymentGroupId
public DeploymentGroupInfo withDeploymentGroupId(String deploymentGroupId)
The deployment group ID.
- Parameters:
deploymentGroupId- The deployment group ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDeploymentGroupName
public void setDeploymentGroupName(String deploymentGroupName)
The deployment group name.
- Parameters:
deploymentGroupName- The deployment group name.
-
getDeploymentGroupName
public String getDeploymentGroupName()
The deployment group name.
- Returns:
- The deployment group name.
-
withDeploymentGroupName
public DeploymentGroupInfo withDeploymentGroupName(String deploymentGroupName)
The deployment group name.
- Parameters:
deploymentGroupName- The deployment group name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDeploymentConfigName
public void setDeploymentConfigName(String deploymentConfigName)
The deployment configuration name.
- Parameters:
deploymentConfigName- The deployment configuration name.
-
getDeploymentConfigName
public String getDeploymentConfigName()
The deployment configuration name.
- Returns:
- The deployment configuration name.
-
withDeploymentConfigName
public DeploymentGroupInfo withDeploymentConfigName(String deploymentConfigName)
The deployment configuration name.
- Parameters:
deploymentConfigName- The deployment configuration name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getEc2TagFilters
public List<EC2TagFilter> getEc2TagFilters()
The Amazon EC2 tags on which to filter.
- Returns:
- The Amazon EC2 tags on which to filter.
-
setEc2TagFilters
public void setEc2TagFilters(Collection<EC2TagFilter> ec2TagFilters)
The Amazon EC2 tags on which to filter.
- Parameters:
ec2TagFilters- The Amazon EC2 tags on which to filter.
-
withEc2TagFilters
public DeploymentGroupInfo 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)orwithEc2TagFilters(java.util.Collection)if you want to override the existing values.- Parameters:
ec2TagFilters- The Amazon EC2 tags on which to filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withEc2TagFilters
public DeploymentGroupInfo withEc2TagFilters(Collection<EC2TagFilter> ec2TagFilters)
The Amazon EC2 tags on which to filter.
- Parameters:
ec2TagFilters- The Amazon EC2 tags on which to filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getOnPremisesInstanceTagFilters
public List<TagFilter> getOnPremisesInstanceTagFilters()
The on-premises instance tags on which to filter.
- Returns:
- The on-premises instance tags on which to filter.
-
setOnPremisesInstanceTagFilters
public void setOnPremisesInstanceTagFilters(Collection<TagFilter> onPremisesInstanceTagFilters)
The on-premises instance tags on which to filter.
- Parameters:
onPremisesInstanceTagFilters- The on-premises instance tags on which to filter.
-
withOnPremisesInstanceTagFilters
public DeploymentGroupInfo 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)orwithOnPremisesInstanceTagFilters(java.util.Collection)if you want to override the existing values.- Parameters:
onPremisesInstanceTagFilters- The on-premises instance tags on which to filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withOnPremisesInstanceTagFilters
public DeploymentGroupInfo withOnPremisesInstanceTagFilters(Collection<TagFilter> onPremisesInstanceTagFilters)
The on-premises instance tags on which to filter.
- Parameters:
onPremisesInstanceTagFilters- The on-premises instance tags on which to filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getAutoScalingGroups
public List<AutoScalingGroup> getAutoScalingGroups()
A list of associated Auto Scaling groups.
- Returns:
- A list of associated Auto Scaling groups.
-
setAutoScalingGroups
public void setAutoScalingGroups(Collection<AutoScalingGroup> autoScalingGroups)
A list of associated Auto Scaling groups.
- Parameters:
autoScalingGroups- A list of associated Auto Scaling groups.
-
withAutoScalingGroups
public DeploymentGroupInfo withAutoScalingGroups(AutoScalingGroup... 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)orwithAutoScalingGroups(java.util.Collection)if you want to override the existing values.- Parameters:
autoScalingGroups- A list of associated Auto Scaling groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAutoScalingGroups
public DeploymentGroupInfo withAutoScalingGroups(Collection<AutoScalingGroup> autoScalingGroups)
A list of associated Auto Scaling groups.
- Parameters:
autoScalingGroups- A list of associated Auto Scaling groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setServiceRoleArn
public void setServiceRoleArn(String serviceRoleArn)
A service role ARN.
- Parameters:
serviceRoleArn- A service role ARN.
-
getServiceRoleArn
public String getServiceRoleArn()
A service role ARN.
- Returns:
- A service role ARN.
-
withServiceRoleArn
public DeploymentGroupInfo withServiceRoleArn(String serviceRoleArn)
A service role ARN.
- Parameters:
serviceRoleArn- A service role ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTargetRevision
public void setTargetRevision(RevisionLocation targetRevision)
Information about the deployment group's target revision, including type and location.
- Parameters:
targetRevision- Information about the deployment group's target revision, including type and location.
-
getTargetRevision
public RevisionLocation getTargetRevision()
Information about the deployment group's target revision, including type and location.
- Returns:
- Information about the deployment group's target revision, including type and location.
-
withTargetRevision
public DeploymentGroupInfo withTargetRevision(RevisionLocation targetRevision)
Information about the deployment group's target revision, including type and location.
- Parameters:
targetRevision- Information about the deployment group's target revision, including type and location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getTriggerConfigurations
public List<TriggerConfig> getTriggerConfigurations()
A list of associated triggers.
- Returns:
- A list of associated triggers.
-
setTriggerConfigurations
public void setTriggerConfigurations(Collection<TriggerConfig> triggerConfigurations)
A list of associated triggers.
- Parameters:
triggerConfigurations- A list of associated triggers.
-
withTriggerConfigurations
public DeploymentGroupInfo withTriggerConfigurations(TriggerConfig... triggerConfigurations)
A list of associated triggers.
NOTE: This method appends the values to the existing list (if any). Use
setTriggerConfigurations(java.util.Collection)orwithTriggerConfigurations(java.util.Collection)if you want to override the existing values.- Parameters:
triggerConfigurations- A list of associated triggers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTriggerConfigurations
public DeploymentGroupInfo withTriggerConfigurations(Collection<TriggerConfig> triggerConfigurations)
A list of associated triggers.
- Parameters:
triggerConfigurations- A list of associated triggers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DeploymentGroupInfo clone()
-
-