@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 tasks that are
 allowed in the RUNNING or PENDING state 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 in the RUNNING state 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 tasks that are
 allowed in the RUNNING or PENDING state 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 in the RUNNING state 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 tasks that are
 allowed in the RUNNING or PENDING state 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 in the RUNNING state 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 tasks that are
 allowed in the RUNNING or PENDING state in a service during a deployment. The maximum
 number of tasks during a deployment is the desiredCount multiplied by 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 tasks that
        are allowed in the RUNNING or PENDING state in a service during a deployment.
        The maximum number of tasks during a deployment is the desiredCount multiplied by
        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 tasks that are
 allowed in the RUNNING or PENDING state in a service during a deployment. The maximum
 number of tasks during a deployment is the desiredCount multiplied by maximumPercent
 /100, rounded down to the nearest integer value.
 
desiredCount) of the number of tasks that
         are allowed in the RUNNING or PENDING state in a service during a deployment.
         The maximum number of tasks during a deployment is the desiredCount multiplied by
         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 tasks that are
 allowed in the RUNNING or PENDING state in a service during a deployment. The maximum
 number of tasks during a deployment is the desiredCount multiplied by 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 tasks that
        are allowed in the RUNNING or PENDING state in a service during a deployment.
        The maximum number of tasks during a deployment is the desiredCount multiplied by
        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 in the RUNNING state in a service during a deployment. The minimum healthy tasks during
 a deployment is the desiredCount multiplied by 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 in the RUNNING state in a service during a deployment. The minimum
        healthy tasks during a deployment is the desiredCount multiplied by
        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 in the RUNNING state in a service during a deployment. The minimum healthy tasks during
 a deployment is the desiredCount multiplied by minimumHealthyPercent/100, rounded up to
 the nearest integer value.
 
desiredCount) of the number of running
         tasks that must remain in the RUNNING state in a service during a deployment. The minimum
         healthy tasks during a deployment is the desiredCount multiplied by
         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 in the RUNNING state in a service during a deployment. The minimum healthy tasks during
 a deployment is the desiredCount multiplied by 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 in the RUNNING state in a service during a deployment. The minimum
        healthy tasks during a deployment is the desiredCount multiplied by
        minimumHealthyPercent/100, rounded up to the nearest integer value.public String toString()
toString in class ObjectObject.toString()public DeploymentConfiguration clone()
Copyright © 2017. All rights reserved.