@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDeploymentConfigRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a CreateDeploymentConfig
operation.
NOOP
Constructor and Description |
---|
CreateDeploymentConfigRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDeploymentConfigRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getComputePlatform()
The destination platform type for the deployment (
Lambda , Server , or ECS ). |
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.
|
TrafficRoutingConfig |
getTrafficRoutingConfig()
The configuration that specifies how the deployment traffic is routed.
|
ZonalConfig |
getZonalConfig()
Configure the
ZonalConfig object if you want CodeDeploy to deploy your application to one Availability Zone at a time, within an Amazon Web Services Region. |
int |
hashCode() |
void |
setComputePlatform(String computePlatform)
The destination platform type for the deployment (
Lambda , Server , or ECS ). |
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.
|
void |
setTrafficRoutingConfig(TrafficRoutingConfig trafficRoutingConfig)
The configuration that specifies how the deployment traffic is routed.
|
void |
setZonalConfig(ZonalConfig zonalConfig)
Configure the
ZonalConfig object if you want CodeDeploy to deploy your application to one Availability Zone at a time, within an Amazon Web Services Region. |
String |
toString()
Returns a string representation of this object.
|
CreateDeploymentConfigRequest |
withComputePlatform(ComputePlatform computePlatform)
The destination platform type for the deployment (
Lambda , Server , or ECS ). |
CreateDeploymentConfigRequest |
withComputePlatform(String computePlatform)
The destination platform type for the deployment (
Lambda , Server , or ECS ). |
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.
|
CreateDeploymentConfigRequest |
withTrafficRoutingConfig(TrafficRoutingConfig trafficRoutingConfig)
The configuration that specifies how the deployment traffic is routed.
|
CreateDeploymentConfigRequest |
withZonalConfig(ZonalConfig zonalConfig)
Configure the
ZonalConfig object if you want CodeDeploy to deploy your application to one Availability Zone at a time, within an Amazon Web Services Region. |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDeploymentConfigName(String deploymentConfigName)
The name of the deployment configuration to create.
deploymentConfigName
- The name of the deployment configuration to create.public String getDeploymentConfigName()
The name of the deployment configuration to create.
public CreateDeploymentConfigRequest withDeploymentConfigName(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:
HOST_COUNT: The value parameter represents the minimum number of healthy instances as an absolute value.
FLEET_PERCENT: The value parameter represents the minimum number of healthy instances as a percentage of the total number of instances in the deployment. If you specify FLEET_PERCENT, at the start of the deployment, CodeDeploy converts the percentage to the equivalent number of instances and rounds up fractional instances.
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:
HOST_COUNT: The value parameter represents the minimum number of healthy instances as an absolute value.
FLEET_PERCENT: The value parameter represents the minimum number of healthy instances as a percentage of the total number of instances in the deployment. If you specify FLEET_PERCENT, at the start of the deployment, CodeDeploy converts the percentage to the equivalent number of instances and rounds up fractional instances.
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:
HOST_COUNT: The value parameter represents the minimum number of healthy instances as an absolute value.
FLEET_PERCENT: The value parameter represents the minimum number of healthy instances as a percentage of the total number of instances in the deployment. If you specify FLEET_PERCENT, at the start of the deployment, CodeDeploy converts the percentage to the equivalent number of instances and rounds up fractional instances.
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:
HOST_COUNT: The value parameter represents the minimum number of healthy instances as an absolute value.
FLEET_PERCENT: The value parameter represents the minimum number of healthy instances as a percentage of the total number of instances in the deployment. If you specify FLEET_PERCENT, at the start of the deployment, CodeDeploy converts the percentage to the equivalent number of instances and rounds up fractional instances.
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:
HOST_COUNT: The value parameter represents the minimum number of healthy instances as an absolute value.
FLEET_PERCENT: The value parameter represents the minimum number of healthy instances as a percentage of the total number of instances in the deployment. If you specify FLEET_PERCENT, at the start of the deployment, CodeDeploy converts the percentage to the equivalent number of instances and rounds up fractional instances.
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:
HOST_COUNT: The value parameter represents the minimum number of healthy instances as an absolute value.
FLEET_PERCENT: The value parameter represents the minimum number of healthy instances as a percentage of the total number of instances in the deployment. If you specify FLEET_PERCENT, at the start of the deployment, CodeDeploy converts the percentage to the equivalent number of instances and rounds up fractional instances.
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 setTrafficRoutingConfig(TrafficRoutingConfig trafficRoutingConfig)
The configuration that specifies how the deployment traffic is routed.
trafficRoutingConfig
- The configuration that specifies how the deployment traffic is routed.public TrafficRoutingConfig getTrafficRoutingConfig()
The configuration that specifies how the deployment traffic is routed.
public CreateDeploymentConfigRequest withTrafficRoutingConfig(TrafficRoutingConfig trafficRoutingConfig)
The configuration that specifies how the deployment traffic is routed.
trafficRoutingConfig
- The configuration that specifies how the deployment traffic is routed.public void setComputePlatform(String computePlatform)
The destination platform type for the deployment (Lambda
, Server
, or ECS
).
computePlatform
- The destination platform type for the deployment (Lambda
, Server
, or
ECS
).ComputePlatform
public String getComputePlatform()
The destination platform type for the deployment (Lambda
, Server
, or ECS
).
Lambda
, Server
, or
ECS
).ComputePlatform
public CreateDeploymentConfigRequest withComputePlatform(String computePlatform)
The destination platform type for the deployment (Lambda
, Server
, or ECS
).
computePlatform
- The destination platform type for the deployment (Lambda
, Server
, or
ECS
).ComputePlatform
public CreateDeploymentConfigRequest withComputePlatform(ComputePlatform computePlatform)
The destination platform type for the deployment (Lambda
, Server
, or ECS
).
computePlatform
- The destination platform type for the deployment (Lambda
, Server
, or
ECS
).ComputePlatform
public void setZonalConfig(ZonalConfig zonalConfig)
Configure the ZonalConfig
object if you want CodeDeploy to deploy your application to one Availability Zone at a time, within an Amazon Web Services Region.
For more information about the zonal configuration feature, see zonal configuration in the CodeDeploy User Guide.
zonalConfig
- Configure the ZonalConfig
object if you want CodeDeploy to deploy your application to one Availability Zone at a time, within an Amazon Web Services Region.
For more information about the zonal configuration feature, see zonal configuration in the CodeDeploy User Guide.
public ZonalConfig getZonalConfig()
Configure the ZonalConfig
object if you want CodeDeploy to deploy your application to one Availability Zone at a time, within an Amazon Web Services Region.
For more information about the zonal configuration feature, see zonal configuration in the CodeDeploy User Guide.
ZonalConfig
object if you want CodeDeploy to deploy your application to one Availability Zone at a time, within an Amazon Web Services Region.
For more information about the zonal configuration feature, see zonal configuration in the CodeDeploy User Guide.
public CreateDeploymentConfigRequest withZonalConfig(ZonalConfig zonalConfig)
Configure the ZonalConfig
object if you want CodeDeploy to deploy your application to one Availability Zone at a time, within an Amazon Web Services Region.
For more information about the zonal configuration feature, see zonal configuration in the CodeDeploy User Guide.
zonalConfig
- Configure the ZonalConfig
object if you want CodeDeploy to deploy your application to one Availability Zone at a time, within an Amazon Web Services Region.
For more information about the zonal configuration feature, see zonal configuration in the CodeDeploy User Guide.
public String toString()
toString
in class Object
Object.toString()
public CreateDeploymentConfigRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()