@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeploymentGroupInfo extends Object implements Serializable, Cloneable, StructuredPojo
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.
|
BlueGreenDeploymentConfiguration |
getBlueGreenDeploymentConfiguration()
Information about blue/green deployment options for a deployment group.
|
String |
getComputePlatform()
The destination platform type for the deployment (
Lambda , Server , or ECS ). |
String |
getDeploymentConfigName()
The deployment configuration name.
|
String |
getDeploymentGroupId()
The deployment group ID.
|
String |
getDeploymentGroupName()
The deployment group name.
|
DeploymentStyle |
getDeploymentStyle()
Information about the type of deployment, either in-place or blue/green, you want to run and whether to route
deployment traffic behind a load balancer.
|
List<EC2TagFilter> |
getEc2TagFilters()
The Amazon EC2 tags on which to filter.
|
EC2TagSet |
getEc2TagSet()
Information about groups of tags applied to an Amazon EC2 instance.
|
List<ECSService> |
getEcsServices()
The target Amazon ECS services in the deployment group.
|
LastDeploymentInfo |
getLastAttemptedDeployment()
Information about the most recent attempted deployment to the deployment group.
|
LastDeploymentInfo |
getLastSuccessfulDeployment()
Information about the most recent successful deployment to the deployment group.
|
LoadBalancerInfo |
getLoadBalancerInfo()
Information about the load balancer to use in a deployment.
|
List<TagFilter> |
getOnPremisesInstanceTagFilters()
The on-premises instance tags on which to filter.
|
OnPremisesTagSet |
getOnPremisesTagSet()
Information about groups of tags applied to an on-premises instance.
|
String |
getOutdatedInstancesStrategy()
Indicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the deployed
application revision.
|
String |
getServiceRoleArn()
A service role Amazon Resource Name (ARN) that grants CodeDeploy permission to make calls to Amazon Web Services
services on your behalf.
|
RevisionLocation |
getTargetRevision()
Information about the deployment group's target revision, including type and location.
|
Boolean |
getTerminationHookEnabled()
Indicates whether the deployment group was configured to have CodeDeploy install a termination hook into an Auto
Scaling group.
|
List<TriggerConfig> |
getTriggerConfigurations()
Information about triggers associated with the deployment group.
|
int |
hashCode() |
Boolean |
isTerminationHookEnabled()
Indicates whether the deployment group was configured to have CodeDeploy install a termination hook into an Auto
Scaling group.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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 |
setBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfiguration blueGreenDeploymentConfiguration)
Information about blue/green deployment options for a deployment group.
|
void |
setComputePlatform(String computePlatform)
The destination platform type for the deployment (
Lambda , Server , or ECS ). |
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 |
setDeploymentStyle(DeploymentStyle deploymentStyle)
Information about the type of deployment, either in-place or blue/green, you want to run and whether to route
deployment traffic behind a load balancer.
|
void |
setEc2TagFilters(Collection<EC2TagFilter> ec2TagFilters)
The Amazon EC2 tags on which to filter.
|
void |
setEc2TagSet(EC2TagSet ec2TagSet)
Information about groups of tags applied to an Amazon EC2 instance.
|
void |
setEcsServices(Collection<ECSService> ecsServices)
The target Amazon ECS services in the deployment group.
|
void |
setLastAttemptedDeployment(LastDeploymentInfo lastAttemptedDeployment)
Information about the most recent attempted deployment to the deployment group.
|
void |
setLastSuccessfulDeployment(LastDeploymentInfo lastSuccessfulDeployment)
Information about the most recent successful deployment to the deployment group.
|
void |
setLoadBalancerInfo(LoadBalancerInfo loadBalancerInfo)
Information about the load balancer to use in a deployment.
|
void |
setOnPremisesInstanceTagFilters(Collection<TagFilter> onPremisesInstanceTagFilters)
The on-premises instance tags on which to filter.
|
void |
setOnPremisesTagSet(OnPremisesTagSet onPremisesTagSet)
Information about groups of tags applied to an on-premises instance.
|
void |
setOutdatedInstancesStrategy(String outdatedInstancesStrategy)
Indicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the deployed
application revision.
|
void |
setServiceRoleArn(String serviceRoleArn)
A service role Amazon Resource Name (ARN) that grants CodeDeploy permission to make calls to Amazon Web Services
services on your behalf.
|
void |
setTargetRevision(RevisionLocation targetRevision)
Information about the deployment group's target revision, including type and location.
|
void |
setTerminationHookEnabled(Boolean terminationHookEnabled)
Indicates whether the deployment group was configured to have CodeDeploy install a termination hook into an Auto
Scaling group.
|
void |
setTriggerConfigurations(Collection<TriggerConfig> triggerConfigurations)
Information about triggers associated with the deployment group.
|
String |
toString()
Returns a string representation of this object.
|
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 |
withBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfiguration blueGreenDeploymentConfiguration)
Information about blue/green deployment options for a deployment group.
|
DeploymentGroupInfo |
withComputePlatform(ComputePlatform computePlatform)
The destination platform type for the deployment (
Lambda , Server , or ECS ). |
DeploymentGroupInfo |
withComputePlatform(String computePlatform)
The destination platform type for the deployment (
Lambda , Server , or ECS ). |
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 |
withDeploymentStyle(DeploymentStyle deploymentStyle)
Information about the type of deployment, either in-place or blue/green, you want to run and whether to route
deployment traffic behind a load balancer.
|
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 |
withEc2TagSet(EC2TagSet ec2TagSet)
Information about groups of tags applied to an Amazon EC2 instance.
|
DeploymentGroupInfo |
withEcsServices(Collection<ECSService> ecsServices)
The target Amazon ECS services in the deployment group.
|
DeploymentGroupInfo |
withEcsServices(ECSService... ecsServices)
The target Amazon ECS services in the deployment group.
|
DeploymentGroupInfo |
withLastAttemptedDeployment(LastDeploymentInfo lastAttemptedDeployment)
Information about the most recent attempted deployment to the deployment group.
|
DeploymentGroupInfo |
withLastSuccessfulDeployment(LastDeploymentInfo lastSuccessfulDeployment)
Information about the most recent successful deployment to the deployment group.
|
DeploymentGroupInfo |
withLoadBalancerInfo(LoadBalancerInfo loadBalancerInfo)
Information about the load balancer to use in a deployment.
|
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 |
withOnPremisesTagSet(OnPremisesTagSet onPremisesTagSet)
Information about groups of tags applied to an on-premises instance.
|
DeploymentGroupInfo |
withOutdatedInstancesStrategy(OutdatedInstancesStrategy outdatedInstancesStrategy)
Indicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the deployed
application revision.
|
DeploymentGroupInfo |
withOutdatedInstancesStrategy(String outdatedInstancesStrategy)
Indicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the deployed
application revision.
|
DeploymentGroupInfo |
withServiceRoleArn(String serviceRoleArn)
A service role Amazon Resource Name (ARN) that grants CodeDeploy permission to make calls to Amazon Web Services
services on your behalf.
|
DeploymentGroupInfo |
withTargetRevision(RevisionLocation targetRevision)
Information about the deployment group's target revision, including type and location.
|
DeploymentGroupInfo |
withTerminationHookEnabled(Boolean terminationHookEnabled)
Indicates whether the deployment group was configured to have CodeDeploy install a termination hook into an Auto
Scaling group.
|
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. The deployment group includes EC2 instances with any of the specified tags.
public void setEc2TagFilters(Collection<EC2TagFilter> ec2TagFilters)
The Amazon EC2 tags on which to filter. The deployment group includes EC2 instances with any of the specified tags.
ec2TagFilters
- The Amazon EC2 tags on which to filter. The deployment group includes EC2 instances with any of the
specified tags.public DeploymentGroupInfo withEc2TagFilters(EC2TagFilter... ec2TagFilters)
The Amazon EC2 tags on which to filter. The deployment group includes EC2 instances with any of the specified tags.
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. The deployment group includes EC2 instances with any of the
specified tags.public DeploymentGroupInfo withEc2TagFilters(Collection<EC2TagFilter> ec2TagFilters)
The Amazon EC2 tags on which to filter. The deployment group includes EC2 instances with any of the specified tags.
ec2TagFilters
- The Amazon EC2 tags on which to filter. The deployment group includes EC2 instances with any of the
specified tags.public List<TagFilter> getOnPremisesInstanceTagFilters()
The on-premises instance tags on which to filter. The deployment group includes on-premises instances with any of the specified tags.
public void setOnPremisesInstanceTagFilters(Collection<TagFilter> onPremisesInstanceTagFilters)
The on-premises instance tags on which to filter. The deployment group includes on-premises instances with any of the specified tags.
onPremisesInstanceTagFilters
- The on-premises instance tags on which to filter. The deployment group includes on-premises instances with
any of the specified tags.public DeploymentGroupInfo withOnPremisesInstanceTagFilters(TagFilter... onPremisesInstanceTagFilters)
The on-premises instance tags on which to filter. The deployment group includes on-premises instances with any of the specified tags.
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. The deployment group includes on-premises instances with
any of the specified tags.public DeploymentGroupInfo withOnPremisesInstanceTagFilters(Collection<TagFilter> onPremisesInstanceTagFilters)
The on-premises instance tags on which to filter. The deployment group includes on-premises instances with any of the specified tags.
onPremisesInstanceTagFilters
- The on-premises instance tags on which to filter. The deployment group includes on-premises instances with
any of the specified tags.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 Amazon Resource Name (ARN) that grants CodeDeploy permission to make calls to Amazon Web Services services on your behalf. For more information, see Create a Service Role for CodeDeploy in the CodeDeploy User Guide.
serviceRoleArn
- A service role Amazon Resource Name (ARN) that grants CodeDeploy permission to make calls to Amazon Web
Services services on your behalf. For more information, see Create a Service Role for CodeDeploy in the CodeDeploy User Guide.public String getServiceRoleArn()
A service role Amazon Resource Name (ARN) that grants CodeDeploy permission to make calls to Amazon Web Services services on your behalf. For more information, see Create a Service Role for CodeDeploy in the CodeDeploy User Guide.
public DeploymentGroupInfo withServiceRoleArn(String serviceRoleArn)
A service role Amazon Resource Name (ARN) that grants CodeDeploy permission to make calls to Amazon Web Services services on your behalf. For more information, see Create a Service Role for CodeDeploy in the CodeDeploy User Guide.
serviceRoleArn
- A service role Amazon Resource Name (ARN) that grants CodeDeploy permission to make calls to Amazon Web
Services services on your behalf. For more information, see Create a Service Role for CodeDeploy in the CodeDeploy User Guide.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 void setDeploymentStyle(DeploymentStyle deploymentStyle)
Information about the type of deployment, either in-place or blue/green, you want to run and whether to route deployment traffic behind a load balancer.
deploymentStyle
- Information about the type of deployment, either in-place or blue/green, you want to run and whether to
route deployment traffic behind a load balancer.public DeploymentStyle getDeploymentStyle()
Information about the type of deployment, either in-place or blue/green, you want to run and whether to route deployment traffic behind a load balancer.
public DeploymentGroupInfo withDeploymentStyle(DeploymentStyle deploymentStyle)
Information about the type of deployment, either in-place or blue/green, you want to run and whether to route deployment traffic behind a load balancer.
deploymentStyle
- Information about the type of deployment, either in-place or blue/green, you want to run and whether to
route deployment traffic behind a load balancer.public void setOutdatedInstancesStrategy(String outdatedInstancesStrategy)
Indicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the deployed application revision.
If this option is set to UPDATE
or is unspecified, CodeDeploy initiates one or more 'auto-update
outdated instances' deployments to apply the deployed application revision to the new Amazon EC2 instances.
If this option is set to IGNORE
, CodeDeploy does not initiate a deployment to update the new Amazon
EC2 instances. This may result in instances having different revisions.
outdatedInstancesStrategy
- Indicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the
deployed application revision.
If this option is set to UPDATE
or is unspecified, CodeDeploy initiates one or more
'auto-update outdated instances' deployments to apply the deployed application revision to the new Amazon
EC2 instances.
If this option is set to IGNORE
, CodeDeploy does not initiate a deployment to update the new
Amazon EC2 instances. This may result in instances having different revisions.
OutdatedInstancesStrategy
public String getOutdatedInstancesStrategy()
Indicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the deployed application revision.
If this option is set to UPDATE
or is unspecified, CodeDeploy initiates one or more 'auto-update
outdated instances' deployments to apply the deployed application revision to the new Amazon EC2 instances.
If this option is set to IGNORE
, CodeDeploy does not initiate a deployment to update the new Amazon
EC2 instances. This may result in instances having different revisions.
If this option is set to UPDATE
or is unspecified, CodeDeploy initiates one or more
'auto-update outdated instances' deployments to apply the deployed application revision to the new Amazon
EC2 instances.
If this option is set to IGNORE
, CodeDeploy does not initiate a deployment to update the new
Amazon EC2 instances. This may result in instances having different revisions.
OutdatedInstancesStrategy
public DeploymentGroupInfo withOutdatedInstancesStrategy(String outdatedInstancesStrategy)
Indicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the deployed application revision.
If this option is set to UPDATE
or is unspecified, CodeDeploy initiates one or more 'auto-update
outdated instances' deployments to apply the deployed application revision to the new Amazon EC2 instances.
If this option is set to IGNORE
, CodeDeploy does not initiate a deployment to update the new Amazon
EC2 instances. This may result in instances having different revisions.
outdatedInstancesStrategy
- Indicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the
deployed application revision.
If this option is set to UPDATE
or is unspecified, CodeDeploy initiates one or more
'auto-update outdated instances' deployments to apply the deployed application revision to the new Amazon
EC2 instances.
If this option is set to IGNORE
, CodeDeploy does not initiate a deployment to update the new
Amazon EC2 instances. This may result in instances having different revisions.
OutdatedInstancesStrategy
public DeploymentGroupInfo withOutdatedInstancesStrategy(OutdatedInstancesStrategy outdatedInstancesStrategy)
Indicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the deployed application revision.
If this option is set to UPDATE
or is unspecified, CodeDeploy initiates one or more 'auto-update
outdated instances' deployments to apply the deployed application revision to the new Amazon EC2 instances.
If this option is set to IGNORE
, CodeDeploy does not initiate a deployment to update the new Amazon
EC2 instances. This may result in instances having different revisions.
outdatedInstancesStrategy
- Indicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the
deployed application revision.
If this option is set to UPDATE
or is unspecified, CodeDeploy initiates one or more
'auto-update outdated instances' deployments to apply the deployed application revision to the new Amazon
EC2 instances.
If this option is set to IGNORE
, CodeDeploy does not initiate a deployment to update the new
Amazon EC2 instances. This may result in instances having different revisions.
OutdatedInstancesStrategy
public void setBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfiguration blueGreenDeploymentConfiguration)
Information about blue/green deployment options for a deployment group.
blueGreenDeploymentConfiguration
- Information about blue/green deployment options for a deployment group.public BlueGreenDeploymentConfiguration getBlueGreenDeploymentConfiguration()
Information about blue/green deployment options for a deployment group.
public DeploymentGroupInfo withBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfiguration blueGreenDeploymentConfiguration)
Information about blue/green deployment options for a deployment group.
blueGreenDeploymentConfiguration
- Information about blue/green deployment options for a deployment group.public void setLoadBalancerInfo(LoadBalancerInfo loadBalancerInfo)
Information about the load balancer to use in a deployment.
loadBalancerInfo
- Information about the load balancer to use in a deployment.public LoadBalancerInfo getLoadBalancerInfo()
Information about the load balancer to use in a deployment.
public DeploymentGroupInfo withLoadBalancerInfo(LoadBalancerInfo loadBalancerInfo)
Information about the load balancer to use in a deployment.
loadBalancerInfo
- Information about the load balancer to use in a deployment.public void setLastSuccessfulDeployment(LastDeploymentInfo lastSuccessfulDeployment)
Information about the most recent successful deployment to the deployment group.
lastSuccessfulDeployment
- Information about the most recent successful deployment to the deployment group.public LastDeploymentInfo getLastSuccessfulDeployment()
Information about the most recent successful deployment to the deployment group.
public DeploymentGroupInfo withLastSuccessfulDeployment(LastDeploymentInfo lastSuccessfulDeployment)
Information about the most recent successful deployment to the deployment group.
lastSuccessfulDeployment
- Information about the most recent successful deployment to the deployment group.public void setLastAttemptedDeployment(LastDeploymentInfo lastAttemptedDeployment)
Information about the most recent attempted deployment to the deployment group.
lastAttemptedDeployment
- Information about the most recent attempted deployment to the deployment group.public LastDeploymentInfo getLastAttemptedDeployment()
Information about the most recent attempted deployment to the deployment group.
public DeploymentGroupInfo withLastAttemptedDeployment(LastDeploymentInfo lastAttemptedDeployment)
Information about the most recent attempted deployment to the deployment group.
lastAttemptedDeployment
- Information about the most recent attempted deployment to the deployment group.public void setEc2TagSet(EC2TagSet ec2TagSet)
Information about groups of tags applied to an Amazon EC2 instance. The deployment group includes only Amazon EC2 instances identified by all of the tag groups. Cannot be used in the same call as ec2TagFilters.
ec2TagSet
- Information about groups of tags applied to an Amazon EC2 instance. The deployment group includes only
Amazon EC2 instances identified by all of the tag groups. Cannot be used in the same call as
ec2TagFilters.public EC2TagSet getEc2TagSet()
Information about groups of tags applied to an Amazon EC2 instance. The deployment group includes only Amazon EC2 instances identified by all of the tag groups. Cannot be used in the same call as ec2TagFilters.
public DeploymentGroupInfo withEc2TagSet(EC2TagSet ec2TagSet)
Information about groups of tags applied to an Amazon EC2 instance. The deployment group includes only Amazon EC2 instances identified by all of the tag groups. Cannot be used in the same call as ec2TagFilters.
ec2TagSet
- Information about groups of tags applied to an Amazon EC2 instance. The deployment group includes only
Amazon EC2 instances identified by all of the tag groups. Cannot be used in the same call as
ec2TagFilters.public void setOnPremisesTagSet(OnPremisesTagSet onPremisesTagSet)
Information about groups of tags applied to an on-premises instance. The deployment group includes only on-premises instances identified by all the tag groups. Cannot be used in the same call as onPremisesInstanceTagFilters.
onPremisesTagSet
- Information about groups of tags applied to an on-premises instance. The deployment group includes only
on-premises instances identified by all the tag groups. Cannot be used in the same call as
onPremisesInstanceTagFilters.public OnPremisesTagSet getOnPremisesTagSet()
Information about groups of tags applied to an on-premises instance. The deployment group includes only on-premises instances identified by all the tag groups. Cannot be used in the same call as onPremisesInstanceTagFilters.
public DeploymentGroupInfo withOnPremisesTagSet(OnPremisesTagSet onPremisesTagSet)
Information about groups of tags applied to an on-premises instance. The deployment group includes only on-premises instances identified by all the tag groups. Cannot be used in the same call as onPremisesInstanceTagFilters.
onPremisesTagSet
- Information about groups of tags applied to an on-premises instance. The deployment group includes only
on-premises instances identified by all the tag groups. Cannot be used in the same call as
onPremisesInstanceTagFilters.public void setComputePlatform(String computePlatform)
The destination platform type for the deployment (Lambda
, Server
, or ECS
).
computePlatform
- The destination platform type for the deployment (Lambda
, Server
, or
ECS
).ComputePlatform
public String getComputePlatform()
The destination platform type for the deployment (Lambda
, Server
, or ECS
).
Lambda
, Server
, or
ECS
).ComputePlatform
public DeploymentGroupInfo withComputePlatform(String computePlatform)
The destination platform type for the deployment (Lambda
, Server
, or ECS
).
computePlatform
- The destination platform type for the deployment (Lambda
, Server
, or
ECS
).ComputePlatform
public DeploymentGroupInfo withComputePlatform(ComputePlatform computePlatform)
The destination platform type for the deployment (Lambda
, Server
, or ECS
).
computePlatform
- The destination platform type for the deployment (Lambda
, Server
, or
ECS
).ComputePlatform
public List<ECSService> getEcsServices()
The target Amazon ECS services in the deployment group. This applies only to deployment groups that use the
Amazon ECS compute platform. A target Amazon ECS service is specified as an Amazon ECS cluster and service name
pair using the format <clustername>:<servicename>
.
<clustername>:<servicename>
.public void setEcsServices(Collection<ECSService> ecsServices)
The target Amazon ECS services in the deployment group. This applies only to deployment groups that use the
Amazon ECS compute platform. A target Amazon ECS service is specified as an Amazon ECS cluster and service name
pair using the format <clustername>:<servicename>
.
ecsServices
- The target Amazon ECS services in the deployment group. This applies only to deployment groups that use
the Amazon ECS compute platform. A target Amazon ECS service is specified as an Amazon ECS cluster and
service name pair using the format <clustername>:<servicename>
.public DeploymentGroupInfo withEcsServices(ECSService... ecsServices)
The target Amazon ECS services in the deployment group. This applies only to deployment groups that use the
Amazon ECS compute platform. A target Amazon ECS service is specified as an Amazon ECS cluster and service name
pair using the format <clustername>:<servicename>
.
NOTE: This method appends the values to the existing list (if any). Use
setEcsServices(java.util.Collection)
or withEcsServices(java.util.Collection)
if you want to
override the existing values.
ecsServices
- The target Amazon ECS services in the deployment group. This applies only to deployment groups that use
the Amazon ECS compute platform. A target Amazon ECS service is specified as an Amazon ECS cluster and
service name pair using the format <clustername>:<servicename>
.public DeploymentGroupInfo withEcsServices(Collection<ECSService> ecsServices)
The target Amazon ECS services in the deployment group. This applies only to deployment groups that use the
Amazon ECS compute platform. A target Amazon ECS service is specified as an Amazon ECS cluster and service name
pair using the format <clustername>:<servicename>
.
ecsServices
- The target Amazon ECS services in the deployment group. This applies only to deployment groups that use
the Amazon ECS compute platform. A target Amazon ECS service is specified as an Amazon ECS cluster and
service name pair using the format <clustername>:<servicename>
.public void setTerminationHookEnabled(Boolean terminationHookEnabled)
Indicates whether the deployment group was configured to have CodeDeploy install a termination hook into an Auto Scaling group.
For more information about the termination hook, see How Amazon EC2 Auto Scaling works with CodeDeploy in the CodeDeploy User Guide.
terminationHookEnabled
- Indicates whether the deployment group was configured to have CodeDeploy install a termination hook into
an Auto Scaling group.
For more information about the termination hook, see How Amazon EC2 Auto Scaling works with CodeDeploy in the CodeDeploy User Guide.
public Boolean getTerminationHookEnabled()
Indicates whether the deployment group was configured to have CodeDeploy install a termination hook into an Auto Scaling group.
For more information about the termination hook, see How Amazon EC2 Auto Scaling works with CodeDeploy in the CodeDeploy User Guide.
For more information about the termination hook, see How Amazon EC2 Auto Scaling works with CodeDeploy in the CodeDeploy User Guide.
public DeploymentGroupInfo withTerminationHookEnabled(Boolean terminationHookEnabled)
Indicates whether the deployment group was configured to have CodeDeploy install a termination hook into an Auto Scaling group.
For more information about the termination hook, see How Amazon EC2 Auto Scaling works with CodeDeploy in the CodeDeploy User Guide.
terminationHookEnabled
- Indicates whether the deployment group was configured to have CodeDeploy install a termination hook into
an Auto Scaling group.
For more information about the termination hook, see How Amazon EC2 Auto Scaling works with CodeDeploy in the CodeDeploy User Guide.
public Boolean isTerminationHookEnabled()
Indicates whether the deployment group was configured to have CodeDeploy install a termination hook into an Auto Scaling group.
For more information about the termination hook, see How Amazon EC2 Auto Scaling works with CodeDeploy in the CodeDeploy User Guide.
For more information about the termination hook, see How Amazon EC2 Auto Scaling works with CodeDeploy in the CodeDeploy User Guide.
public String toString()
toString
in class Object
Object.toString()
public DeploymentGroupInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.