public class DeploymentGroupInfo extends Object implements Serializable, Cloneable
Information about a deployment group.
Constructor and Description |
---|
DeploymentGroupInfo() |
Modifier and Type | Method and Description |
---|---|
DeploymentGroupInfo |
clone() |
boolean |
equals(Object obj) |
AlarmConfiguration |
getAlarmConfiguration()
A list of alarms associated with the deployment group.
|
String |
getApplicationName()
The application name.
|
AutoRollbackConfiguration |
getAutoRollbackConfiguration()
Information about the automatic rollback configuration associated with the deployment group.
|
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 on which to filter.
|
List<TagFilter> |
getOnPremisesInstanceTagFilters()
The on-premises instance tags on which to filter.
|
String |
getServiceRoleArn()
A service role ARN.
|
RevisionLocation |
getTargetRevision()
Information about the deployment group's target revision, including type and location.
|
List<TriggerConfig> |
getTriggerConfigurations()
Information about triggers associated with the deployment group.
|
int |
hashCode() |
void |
setAlarmConfiguration(AlarmConfiguration alarmConfiguration)
A list of alarms associated with the deployment group.
|
void |
setApplicationName(String applicationName)
The application name.
|
void |
setAutoRollbackConfiguration(AutoRollbackConfiguration autoRollbackConfiguration)
Information about the automatic rollback configuration associated with the deployment group.
|
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 on which to filter.
|
void |
setOnPremisesInstanceTagFilters(Collection<TagFilter> onPremisesInstanceTagFilters)
The on-premises instance tags on which to filter.
|
void |
setServiceRoleArn(String serviceRoleArn)
A service role ARN.
|
void |
setTargetRevision(RevisionLocation targetRevision)
Information about the deployment group's target revision, including type and location.
|
void |
setTriggerConfigurations(Collection<TriggerConfig> triggerConfigurations)
Information about triggers associated with the deployment group.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DeploymentGroupInfo |
withAlarmConfiguration(AlarmConfiguration alarmConfiguration)
A list of alarms associated with the deployment group.
|
DeploymentGroupInfo |
withApplicationName(String applicationName)
The application name.
|
DeploymentGroupInfo |
withAutoRollbackConfiguration(AutoRollbackConfiguration autoRollbackConfiguration)
Information about the automatic rollback configuration associated with the deployment group.
|
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 on which to filter.
|
DeploymentGroupInfo |
withEc2TagFilters(EC2TagFilter... ec2TagFilters)
The Amazon EC2 tags on which to filter.
|
DeploymentGroupInfo |
withOnPremisesInstanceTagFilters(Collection<TagFilter> onPremisesInstanceTagFilters)
The on-premises instance tags on which to filter.
|
DeploymentGroupInfo |
withOnPremisesInstanceTagFilters(TagFilter... onPremisesInstanceTagFilters)
The on-premises instance tags on which to filter.
|
DeploymentGroupInfo |
withServiceRoleArn(String serviceRoleArn)
A service role ARN.
|
DeploymentGroupInfo |
withTargetRevision(RevisionLocation targetRevision)
Information about the deployment group's target revision, including type and location.
|
DeploymentGroupInfo |
withTriggerConfigurations(Collection<TriggerConfig> triggerConfigurations)
Information about triggers associated with the deployment group.
|
DeploymentGroupInfo |
withTriggerConfigurations(TriggerConfig... triggerConfigurations)
Information about triggers associated with the deployment group.
|
public void setApplicationName(String applicationName)
The application name.
applicationName
- The application name.public String getApplicationName()
The application name.
public DeploymentGroupInfo withApplicationName(String applicationName)
The application name.
applicationName
- The application name.public void setDeploymentGroupId(String deploymentGroupId)
The deployment group ID.
deploymentGroupId
- The deployment group ID.public String getDeploymentGroupId()
The deployment group ID.
public DeploymentGroupInfo withDeploymentGroupId(String deploymentGroupId)
The deployment group ID.
deploymentGroupId
- The deployment group ID.public void setDeploymentGroupName(String deploymentGroupName)
The deployment group name.
deploymentGroupName
- The deployment group name.public String getDeploymentGroupName()
The deployment group name.
public DeploymentGroupInfo withDeploymentGroupName(String deploymentGroupName)
The deployment group name.
deploymentGroupName
- The deployment group name.public void setDeploymentConfigName(String deploymentConfigName)
The deployment configuration name.
deploymentConfigName
- The deployment configuration name.public String getDeploymentConfigName()
The deployment configuration name.
public DeploymentGroupInfo withDeploymentConfigName(String deploymentConfigName)
The deployment configuration name.
deploymentConfigName
- The deployment configuration name.public List<EC2TagFilter> getEc2TagFilters()
The Amazon EC2 tags on which to filter.
public void setEc2TagFilters(Collection<EC2TagFilter> ec2TagFilters)
The Amazon EC2 tags on which to filter.
ec2TagFilters
- The Amazon EC2 tags on which to filter.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)
or withEc2TagFilters(java.util.Collection)
if you want
to override the existing values.
ec2TagFilters
- The Amazon EC2 tags on which to filter.public DeploymentGroupInfo withEc2TagFilters(Collection<EC2TagFilter> ec2TagFilters)
The Amazon EC2 tags on which to filter.
ec2TagFilters
- The Amazon EC2 tags on which to filter.public List<TagFilter> getOnPremisesInstanceTagFilters()
The on-premises instance tags on which to filter.
public void setOnPremisesInstanceTagFilters(Collection<TagFilter> onPremisesInstanceTagFilters)
The on-premises instance tags on which to filter.
onPremisesInstanceTagFilters
- The on-premises instance tags on which to filter.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)
or
withOnPremisesInstanceTagFilters(java.util.Collection)
if you want to override the existing values.
onPremisesInstanceTagFilters
- The on-premises instance tags on which to filter.public DeploymentGroupInfo withOnPremisesInstanceTagFilters(Collection<TagFilter> onPremisesInstanceTagFilters)
The on-premises instance tags on which to filter.
onPremisesInstanceTagFilters
- The on-premises instance tags on which to filter.public List<AutoScalingGroup> getAutoScalingGroups()
A list of associated Auto Scaling groups.
public void setAutoScalingGroups(Collection<AutoScalingGroup> autoScalingGroups)
A list of associated Auto Scaling groups.
autoScalingGroups
- A list of associated Auto Scaling groups.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)
or withAutoScalingGroups(java.util.Collection)
if
you want to override the existing values.
autoScalingGroups
- A list of associated Auto Scaling groups.public DeploymentGroupInfo withAutoScalingGroups(Collection<AutoScalingGroup> autoScalingGroups)
A list of associated Auto Scaling groups.
autoScalingGroups
- A list of associated Auto Scaling groups.public void setServiceRoleArn(String serviceRoleArn)
A service role ARN.
serviceRoleArn
- A service role ARN.public String getServiceRoleArn()
A service role ARN.
public DeploymentGroupInfo withServiceRoleArn(String serviceRoleArn)
A service role ARN.
serviceRoleArn
- A service role ARN.public void setTargetRevision(RevisionLocation targetRevision)
Information about the deployment group's target revision, including type and location.
targetRevision
- Information about the deployment group's target revision, including type and location.public RevisionLocation getTargetRevision()
Information about the deployment group's target revision, including type and location.
public DeploymentGroupInfo withTargetRevision(RevisionLocation targetRevision)
Information about the deployment group's target revision, including type and location.
targetRevision
- Information about the deployment group's target revision, including type and location.public List<TriggerConfig> getTriggerConfigurations()
Information about triggers associated with the deployment group.
public void setTriggerConfigurations(Collection<TriggerConfig> triggerConfigurations)
Information about triggers associated with the deployment group.
triggerConfigurations
- Information about triggers associated with the deployment group.public DeploymentGroupInfo withTriggerConfigurations(TriggerConfig... triggerConfigurations)
Information about triggers associated with the deployment group.
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 associated with the deployment group.public DeploymentGroupInfo withTriggerConfigurations(Collection<TriggerConfig> triggerConfigurations)
Information about triggers associated with the deployment group.
triggerConfigurations
- Information about triggers associated with the deployment group.public void setAlarmConfiguration(AlarmConfiguration alarmConfiguration)
A list of alarms associated with the deployment group.
alarmConfiguration
- A list of alarms associated with the deployment group.public AlarmConfiguration getAlarmConfiguration()
A list of alarms associated with the deployment group.
public DeploymentGroupInfo withAlarmConfiguration(AlarmConfiguration alarmConfiguration)
A list of alarms associated with the deployment group.
alarmConfiguration
- A list of alarms associated with the deployment group.public void setAutoRollbackConfiguration(AutoRollbackConfiguration autoRollbackConfiguration)
Information about the automatic rollback configuration associated with the deployment group.
autoRollbackConfiguration
- Information about the automatic rollback configuration associated with the deployment group.public AutoRollbackConfiguration getAutoRollbackConfiguration()
Information about the automatic rollback configuration associated with the deployment group.
public DeploymentGroupInfo withAutoRollbackConfiguration(AutoRollbackConfiguration autoRollbackConfiguration)
Information about the automatic rollback configuration associated with the deployment group.
autoRollbackConfiguration
- Information about the automatic rollback configuration associated with the deployment group.public String toString()
toString
in class Object
Object.toString()
public DeploymentGroupInfo clone()
Copyright © 2016. All rights reserved.