@Generated(value="software.amazon.awssdk:codegen") public final class AwsEcsServiceCapacityProviderStrategyDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsEcsServiceCapacityProviderStrategyDetails.Builder,AwsEcsServiceCapacityProviderStrategyDetails>
Strategy item for the capacity provider strategy that the service uses.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AwsEcsServiceCapacityProviderStrategyDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
Integer |
base()
The minimum number of tasks to run on the capacity provider.
|
static AwsEcsServiceCapacityProviderStrategyDetails.Builder |
builder() |
String |
capacityProvider()
The short name of the capacity provider.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends AwsEcsServiceCapacityProviderStrategyDetails.Builder> |
serializableBuilderClass() |
AwsEcsServiceCapacityProviderStrategyDetails.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Integer |
weight()
The relative percentage of the total number of tasks that should use the capacity provider.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer base()
The minimum number of tasks to run on the capacity provider. Only one strategy item can specify a value for
Base.
The value must be between 0 and 100000.
Base.
The value must be between 0 and 100000.
public final String capacityProvider()
The short name of the capacity provider.
public final Integer weight()
The relative percentage of the total number of tasks that should use the capacity provider.
If no weight is specified, the default value is 0. At least one capacity provider must have a weight greater than 0.
The value can be between 0 and 1000.
If no weight is specified, the default value is 0. At least one capacity provider must have a weight greater than 0.
The value can be between 0 and 1000.
public AwsEcsServiceCapacityProviderStrategyDetails.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AwsEcsServiceCapacityProviderStrategyDetails.Builder,AwsEcsServiceCapacityProviderStrategyDetails>public static AwsEcsServiceCapacityProviderStrategyDetails.Builder builder()
public static Class<? extends AwsEcsServiceCapacityProviderStrategyDetails.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.