public class DeploymentConfiguration extends Object implements Serializable, Cloneable
Optional deployment parameters that control how many tasks run during the deployment and the ordering of stopping and starting tasks.
Constructor and Description |
---|
DeploymentConfiguration() |
Modifier and Type | Method and Description |
---|---|
DeploymentConfiguration |
clone() |
boolean |
equals(Object obj) |
Integer |
getMaximumPercent()
The upper limit (as a percentage of the service's
desiredCount ) of the number of running tasks that can be
running in a service during a deployment. |
Integer |
getMinimumHealthyPercent()
The lower limit (as a percentage of the service's
desiredCount ) of the number of running tasks that must
remain running and healthy in a service during a deployment. |
int |
hashCode() |
void |
setMaximumPercent(Integer maximumPercent)
The upper limit (as a percentage of the service's
desiredCount ) of the number of running tasks that can be
running in a service during a deployment. |
void |
setMinimumHealthyPercent(Integer minimumHealthyPercent)
The lower limit (as a percentage of the service's
desiredCount ) of the number of running tasks that must
remain running and healthy in a service during a deployment. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeploymentConfiguration |
withMaximumPercent(Integer maximumPercent)
The upper limit (as a percentage of the service's
desiredCount ) of the number of running tasks that can be
running in a service during a deployment. |
DeploymentConfiguration |
withMinimumHealthyPercent(Integer minimumHealthyPercent)
The lower limit (as a percentage of the service's
desiredCount ) of the number of running tasks that must
remain running and healthy in a service during a deployment. |
public void setMaximumPercent(Integer maximumPercent)
The upper limit (as a percentage of the service's
desiredCount
) of the number of running tasks that can be
running in a service during a deployment. The maximum number of tasks
during a deployment is the desiredCount
multiplied by the
maximumPercent
/100, rounded down to the nearest integer
value.
maximumPercent
- The upper limit (as a percentage of the service's
desiredCount
) of the number of running tasks that can
be running in a service during a deployment. The maximum number of
tasks during a deployment is the desiredCount
multiplied by the maximumPercent
/100, rounded down to
the nearest integer value.public Integer getMaximumPercent()
The upper limit (as a percentage of the service's
desiredCount
) of the number of running tasks that can be
running in a service during a deployment. The maximum number of tasks
during a deployment is the desiredCount
multiplied by the
maximumPercent
/100, rounded down to the nearest integer
value.
desiredCount
) of the number of running tasks that
can be running in a service during a deployment. The maximum
number of tasks during a deployment is the
desiredCount
multiplied by the
maximumPercent
/100, rounded down to the nearest
integer value.public DeploymentConfiguration withMaximumPercent(Integer maximumPercent)
The upper limit (as a percentage of the service's
desiredCount
) of the number of running tasks that can be
running in a service during a deployment. The maximum number of tasks
during a deployment is the desiredCount
multiplied by the
maximumPercent
/100, rounded down to the nearest integer
value.
maximumPercent
- The upper limit (as a percentage of the service's
desiredCount
) of the number of running tasks that can
be running in a service during a deployment. The maximum number of
tasks during a deployment is the desiredCount
multiplied by the maximumPercent
/100, rounded down to
the nearest integer value.public void setMinimumHealthyPercent(Integer minimumHealthyPercent)
The lower limit (as a percentage of the service's
desiredCount
) of the number of running tasks that must
remain running and healthy in a service during a deployment. The minimum
healthy tasks during a deployment is the desiredCount
multiplied by the minimumHealthyPercent
/100, rounded up to
the nearest integer value.
minimumHealthyPercent
- The lower limit (as a percentage of the service's
desiredCount
) of the number of running tasks that
must remain running and healthy in a service during a deployment.
The minimum healthy tasks during a deployment is the
desiredCount
multiplied by the
minimumHealthyPercent
/100, rounded up to the nearest
integer value.public Integer getMinimumHealthyPercent()
The lower limit (as a percentage of the service's
desiredCount
) of the number of running tasks that must
remain running and healthy in a service during a deployment. The minimum
healthy tasks during a deployment is the desiredCount
multiplied by the minimumHealthyPercent
/100, rounded up to
the nearest integer value.
desiredCount
) of the number of running tasks that
must remain running and healthy in a service during a deployment.
The minimum healthy tasks during a deployment is the
desiredCount
multiplied by the
minimumHealthyPercent
/100, rounded up to the nearest
integer value.public DeploymentConfiguration withMinimumHealthyPercent(Integer minimumHealthyPercent)
The lower limit (as a percentage of the service's
desiredCount
) of the number of running tasks that must
remain running and healthy in a service during a deployment. The minimum
healthy tasks during a deployment is the desiredCount
multiplied by the minimumHealthyPercent
/100, rounded up to
the nearest integer value.
minimumHealthyPercent
- The lower limit (as a percentage of the service's
desiredCount
) of the number of running tasks that
must remain running and healthy in a service during a deployment.
The minimum healthy tasks during a deployment is the
desiredCount
multiplied by the
minimumHealthyPercent
/100, rounded up to the nearest
integer value.public String toString()
toString
in class Object
Object.toString()
public DeploymentConfiguration clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.