public class CreateDeploymentConfigRequest extends AmazonWebServiceRequest implements Serializable
CreateDeploymentConfig operation
.
Creates a new deployment configuration.
NOOP
Constructor and Description |
---|
CreateDeploymentConfigRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getDeploymentConfigName()
The name of the deployment configuration to create.
|
MinimumHealthyHosts |
getMinimumHealthyHosts()
The minimum number of healthy instances that should be available at
any time during the deployment.
|
int |
hashCode() |
void |
setDeploymentConfigName(String deploymentConfigName)
The name of the deployment configuration to create.
|
void |
setMinimumHealthyHosts(MinimumHealthyHosts minimumHealthyHosts)
The minimum number of healthy instances that should be available at
any time during the deployment.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateDeploymentConfigRequest |
withDeploymentConfigName(String deploymentConfigName)
The name of the deployment configuration to create.
|
CreateDeploymentConfigRequest |
withMinimumHealthyHosts(MinimumHealthyHosts minimumHealthyHosts)
The minimum number of healthy instances that should be available at
any time during the deployment.
|
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getDeploymentConfigName()
Constraints:
Length: 1 - 100
public void setDeploymentConfigName(String deploymentConfigName)
Constraints:
Length: 1 - 100
deploymentConfigName
- The name of the deployment configuration to create.public CreateDeploymentConfigRequest withDeploymentConfigName(String deploymentConfigName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
deploymentConfigName
- The name of the deployment configuration to create.public MinimumHealthyHosts getMinimumHealthyHosts()
The type parameter takes either of the following values:
The value parameter takes an integer.
For example, to set a minimum of 95% healthy instances, specify a type of FLEET_PERCENT and a value of 95.
The type parameter takes either of the following values:
The value parameter takes an integer.
For example, to set a minimum of 95% healthy instances, specify a type of FLEET_PERCENT and a value of 95.
public void setMinimumHealthyHosts(MinimumHealthyHosts minimumHealthyHosts)
The type parameter takes either of the following values:
The value parameter takes an integer.
For example, to set a minimum of 95% healthy instances, specify a type of FLEET_PERCENT and a value of 95.
minimumHealthyHosts
- The minimum number of healthy instances that should be available at
any time during the deployment. There are two parameters expected in
the input: type and value. The type parameter takes either of the following values:
The value parameter takes an integer.
For example, to set a minimum of 95% healthy instances, specify a type of FLEET_PERCENT and a value of 95.
public CreateDeploymentConfigRequest withMinimumHealthyHosts(MinimumHealthyHosts minimumHealthyHosts)
The type parameter takes either of the following values:
The value parameter takes an integer.
For example, to set a minimum of 95% healthy instances, specify a type of FLEET_PERCENT and a value of 95.
Returns a reference to this object so that method calls can be chained together.
minimumHealthyHosts
- The minimum number of healthy instances that should be available at
any time during the deployment. There are two parameters expected in
the input: type and value. The type parameter takes either of the following values:
The value parameter takes an integer.
For example, to set a minimum of 95% healthy instances, specify a type of FLEET_PERCENT and a value of 95.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.