Class DeploymentGroupInfo
- All Implemented Interfaces:
Serializable, Cloneable
Information about a deployment group.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe application name.A list of associated Auto Scaling groups.The deployment configuration name.The deployment group ID.The deployment group name.The Amazon EC2 tags on which to filter.The on-premises instance tags on which to filter.A service role ARN.Information about the deployment group's target revision, including type and location.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.toString()Returns a string representation of this object; useful for testing and debugging.withApplicationName(String applicationName) The application name.withAutoScalingGroups(AutoScalingGroup... autoScalingGroups) A list of associated Auto Scaling groups.withAutoScalingGroups(Collection<AutoScalingGroup> autoScalingGroups) A list of associated Auto Scaling groups.withDeploymentConfigName(String deploymentConfigName) The deployment configuration name.withDeploymentGroupId(String deploymentGroupId) The deployment group ID.withDeploymentGroupName(String deploymentGroupName) The deployment group name.withEc2TagFilters(EC2TagFilter... ec2TagFilters) The Amazon EC2 tags on which to filter.withEc2TagFilters(Collection<EC2TagFilter> ec2TagFilters) The Amazon EC2 tags on which to filter.withOnPremisesInstanceTagFilters(TagFilter... onPremisesInstanceTagFilters) The on-premises instance tags on which to filter.withOnPremisesInstanceTagFilters(Collection<TagFilter> onPremisesInstanceTagFilters) The on-premises instance tags on which to filter.withServiceRoleArn(String serviceRoleArn) A service role ARN.withTargetRevision(RevisionLocation targetRevision) Information about the deployment group's target revision, including type and location.withTriggerConfigurations(TriggerConfig... triggerConfigurations) A list of associated triggers.withTriggerConfigurations(Collection<TriggerConfig> triggerConfigurations) A list of associated triggers.
-
Constructor Details
-
DeploymentGroupInfo
public DeploymentGroupInfo()
-
-
Method Details
-
setApplicationName
The application name.
- Parameters:
applicationName- The application name.
-
getApplicationName
-
withApplicationName
The application name.
- Parameters:
applicationName- The application name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDeploymentGroupId
The deployment group ID.
- Parameters:
deploymentGroupId- The deployment group ID.
-
getDeploymentGroupId
-
withDeploymentGroupId
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
The deployment group name.
- Parameters:
deploymentGroupName- The deployment group name.
-
getDeploymentGroupName
The deployment group name.
- Returns:
- The deployment group name.
-
withDeploymentGroupName
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
The deployment configuration name.
- Parameters:
deploymentConfigName- The deployment configuration name.
-
getDeploymentConfigName
The deployment configuration name.
- Returns:
- The deployment configuration name.
-
withDeploymentConfigName
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
The Amazon EC2 tags on which to filter.
- Returns:
- The Amazon EC2 tags on which to filter.
-
setEc2TagFilters
The Amazon EC2 tags on which to filter.
- Parameters:
ec2TagFilters- The Amazon EC2 tags on which to filter.
-
withEc2TagFilters
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
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
-
setOnPremisesInstanceTagFilters
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
A list of associated Auto Scaling groups.
- Returns:
- A list of associated Auto Scaling groups.
-
setAutoScalingGroups
A list of associated Auto Scaling groups.
- Parameters:
autoScalingGroups- A list of associated Auto Scaling groups.
-
withAutoScalingGroups
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
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
A service role ARN.
- Parameters:
serviceRoleArn- A service role ARN.
-
getServiceRoleArn
-
withServiceRoleArn
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
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
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
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
A list of associated triggers.
- Returns:
- A list of associated triggers.
-
setTriggerConfigurations
A list of associated triggers.
- Parameters:
triggerConfigurations- A list of associated triggers.
-
withTriggerConfigurations
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
-
equals
-
hashCode
-
clone
-