public class MinimumHealthyHosts
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Information about minimum healthy instance.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
type
The minimum healthy instance type:
|
private java.lang.Integer |
value
The minimum healthy instance value.
|
Constructor and Description |
---|
MinimumHealthyHosts() |
Modifier and Type | Method and Description |
---|---|
MinimumHealthyHosts |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getType()
The minimum healthy instance type:
|
java.lang.Integer |
getValue()
The minimum healthy instance value.
|
int |
hashCode() |
void |
setType(MinimumHealthyHostsType type)
The minimum healthy instance type:
|
void |
setType(java.lang.String type)
The minimum healthy instance type:
|
void |
setValue(java.lang.Integer value)
The minimum healthy instance value.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
MinimumHealthyHosts |
withType(MinimumHealthyHostsType type)
The minimum healthy instance type:
|
MinimumHealthyHosts |
withType(java.lang.String type)
The minimum healthy instance type:
|
MinimumHealthyHosts |
withValue(java.lang.Integer value)
The minimum healthy instance value.
|
private java.lang.Integer value
The minimum healthy instance value.
private java.lang.String type
The minimum healthy instance type:
In an example of nine instance, if a HOST_COUNT of six is specified, deploy to up to three instances at a time. The deployment will be successful if six or more instances are deployed to successfully; otherwise, the deployment fails. If a FLEET_PERCENT of 40 is specified, deploy to up to five instance at a time. The deployment will be successful if four or more instance are deployed to successfully; otherwise, the deployment fails.
public void setValue(java.lang.Integer value)
The minimum healthy instance value.
value
- The minimum healthy instance value.public java.lang.Integer getValue()
The minimum healthy instance value.
public MinimumHealthyHosts withValue(java.lang.Integer value)
The minimum healthy instance value.
value
- The minimum healthy instance value.public void setType(java.lang.String type)
The minimum healthy instance type:
In an example of nine instance, if a HOST_COUNT of six is specified, deploy to up to three instances at a time. The deployment will be successful if six or more instances are deployed to successfully; otherwise, the deployment fails. If a FLEET_PERCENT of 40 is specified, deploy to up to five instance at a time. The deployment will be successful if four or more instance are deployed to successfully; otherwise, the deployment fails.
type
- The minimum healthy instance type:
In an example of nine instance, if a HOST_COUNT of six is specified, deploy to up to three instances at a time. The deployment will be successful if six or more instances are deployed to successfully; otherwise, the deployment fails. If a FLEET_PERCENT of 40 is specified, deploy to up to five instance at a time. The deployment will be successful if four or more instance are deployed to successfully; otherwise, the deployment fails.
MinimumHealthyHostsType
public java.lang.String getType()
The minimum healthy instance type:
In an example of nine instance, if a HOST_COUNT of six is specified, deploy to up to three instances at a time. The deployment will be successful if six or more instances are deployed to successfully; otherwise, the deployment fails. If a FLEET_PERCENT of 40 is specified, deploy to up to five instance at a time. The deployment will be successful if four or more instance are deployed to successfully; otherwise, the deployment fails.
In an example of nine instance, if a HOST_COUNT of six is specified, deploy to up to three instances at a time. The deployment will be successful if six or more instances are deployed to successfully; otherwise, the deployment fails. If a FLEET_PERCENT of 40 is specified, deploy to up to five instance at a time. The deployment will be successful if four or more instance are deployed to successfully; otherwise, the deployment fails.
MinimumHealthyHostsType
public MinimumHealthyHosts withType(java.lang.String type)
The minimum healthy instance type:
In an example of nine instance, if a HOST_COUNT of six is specified, deploy to up to three instances at a time. The deployment will be successful if six or more instances are deployed to successfully; otherwise, the deployment fails. If a FLEET_PERCENT of 40 is specified, deploy to up to five instance at a time. The deployment will be successful if four or more instance are deployed to successfully; otherwise, the deployment fails.
type
- The minimum healthy instance type:
In an example of nine instance, if a HOST_COUNT of six is specified, deploy to up to three instances at a time. The deployment will be successful if six or more instances are deployed to successfully; otherwise, the deployment fails. If a FLEET_PERCENT of 40 is specified, deploy to up to five instance at a time. The deployment will be successful if four or more instance are deployed to successfully; otherwise, the deployment fails.
MinimumHealthyHostsType
public void setType(MinimumHealthyHostsType type)
The minimum healthy instance type:
In an example of nine instance, if a HOST_COUNT of six is specified, deploy to up to three instances at a time. The deployment will be successful if six or more instances are deployed to successfully; otherwise, the deployment fails. If a FLEET_PERCENT of 40 is specified, deploy to up to five instance at a time. The deployment will be successful if four or more instance are deployed to successfully; otherwise, the deployment fails.
type
- The minimum healthy instance type:
In an example of nine instance, if a HOST_COUNT of six is specified, deploy to up to three instances at a time. The deployment will be successful if six or more instances are deployed to successfully; otherwise, the deployment fails. If a FLEET_PERCENT of 40 is specified, deploy to up to five instance at a time. The deployment will be successful if four or more instance are deployed to successfully; otherwise, the deployment fails.
MinimumHealthyHostsType
public MinimumHealthyHosts withType(MinimumHealthyHostsType type)
The minimum healthy instance type:
In an example of nine instance, if a HOST_COUNT of six is specified, deploy to up to three instances at a time. The deployment will be successful if six or more instances are deployed to successfully; otherwise, the deployment fails. If a FLEET_PERCENT of 40 is specified, deploy to up to five instance at a time. The deployment will be successful if four or more instance are deployed to successfully; otherwise, the deployment fails.
type
- The minimum healthy instance type:
In an example of nine instance, if a HOST_COUNT of six is specified, deploy to up to three instances at a time. The deployment will be successful if six or more instances are deployed to successfully; otherwise, the deployment fails. If a FLEET_PERCENT of 40 is specified, deploy to up to five instance at a time. The deployment will be successful if four or more instance are deployed to successfully; otherwise, the deployment fails.
MinimumHealthyHostsType
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 MinimumHealthyHosts clone()
clone
in class java.lang.Object