@Generated(value="software.amazon.awssdk:codegen") public final class DeploymentConfiguration extends Object implements StructuredPojo, ToCopyableBuilder<DeploymentConfiguration.Builder,DeploymentConfiguration>
Optional deployment parameters that control how many tasks run during the deployment and the ordering of stopping and starting tasks.
Modifier and Type | Class and Description |
---|---|
static interface |
DeploymentConfiguration.Builder |
Modifier and Type | Method and Description |
---|---|
static DeploymentConfiguration.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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. |
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. |
static Class<? extends DeploymentConfiguration.Builder> |
serializableBuilderClass() |
DeploymentConfiguration.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public 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.
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 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.
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.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DeploymentConfiguration.Builder,DeploymentConfiguration>
public static DeploymentConfiguration.Builder builder()
public static Class<? extends DeploymentConfiguration.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.