@Generated(value="software.amazon.awssdk:codegen") public final class AwsEcsClusterDefaultCapacityProviderStrategyDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsEcsClusterDefaultCapacityProviderStrategyDetails.Builder,AwsEcsClusterDefaultCapacityProviderStrategyDetails>
The default capacity provider strategy for the cluster. The default capacity provider strategy is used when services or tasks are run without a specified launch type or capacity provider strategy.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AwsEcsClusterDefaultCapacityProviderStrategyDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
Integer |
base()
The minimum number of tasks to run on the specified capacity provider.
|
static AwsEcsClusterDefaultCapacityProviderStrategyDetails.Builder |
builder() |
String |
capacityProvider()
The 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 AwsEcsClusterDefaultCapacityProviderStrategyDetails.Builder> |
serializableBuilderClass() |
AwsEcsClusterDefaultCapacityProviderStrategyDetails.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Integer |
weight()
The relative percentage of the total number of tasks launched 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 specified capacity provider.
public final String capacityProvider()
The name of the capacity provider.
public final Integer weight()
The relative percentage of the total number of tasks launched that should use the capacity provider.
public AwsEcsClusterDefaultCapacityProviderStrategyDetails.Builder toBuilder()
public static AwsEcsClusterDefaultCapacityProviderStrategyDetails.Builder builder()
public static Class<? extends AwsEcsClusterDefaultCapacityProviderStrategyDetails.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.