public class CreateDeploymentConfigRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Represents the input of a create deployment configuration operation.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
deploymentConfigName
The name of the deployment configuration to create.
|
private MinimumHealthyHosts |
minimumHealthyHosts
The minimum number of healthy instances that should be available at any
time during the deployment.
|
NOOP
Constructor and Description |
---|
CreateDeploymentConfigRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDeploymentConfigRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.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(java.lang.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.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateDeploymentConfigRequest |
withDeploymentConfigName(java.lang.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, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String deploymentConfigName
The name of the deployment configuration to create.
private MinimumHealthyHosts 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 instance, specify a type of FLEET_PERCENT and a value of 95.
public void setDeploymentConfigName(java.lang.String deploymentConfigName)
The name of the deployment configuration to create.
deploymentConfigName
- The name of the deployment configuration to create.public java.lang.String getDeploymentConfigName()
The name of the deployment configuration to create.
public CreateDeploymentConfigRequest withDeploymentConfigName(java.lang.String deploymentConfigName)
The name of the deployment configuration to create.
deploymentConfigName
- The name of the deployment configuration to create.public void setMinimumHealthyHosts(MinimumHealthyHosts 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 instance, 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 instance, specify a type of FLEET_PERCENT and a value of 95.
public MinimumHealthyHosts getMinimumHealthyHosts()
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 instance, 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 instance, specify a type of FLEET_PERCENT and a value of 95.
public CreateDeploymentConfigRequest withMinimumHealthyHosts(MinimumHealthyHosts 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 instance, 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 instance, specify a type of FLEET_PERCENT and a value of 95.
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 CreateDeploymentConfigRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()