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