Class AwsEcsClusterDefaultCapacityProviderStrategyDetails
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.AwsEcsClusterDefaultCapacityProviderStrategyDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AwsEcsClusterDefaultCapacityProviderStrategyDetails.Builder,AwsEcsClusterDefaultCapacityProviderStrategyDetails>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAwsEcsClusterDefaultCapacityProviderStrategyDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Integerbase()The minimum number of tasks to run on the specified capacity provider.static AwsEcsClusterDefaultCapacityProviderStrategyDetails.Builderbuilder()StringcapacityProvider()The name of the capacity provider.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends AwsEcsClusterDefaultCapacityProviderStrategyDetails.Builder>serializableBuilderClass()AwsEcsClusterDefaultCapacityProviderStrategyDetails.BuildertoBuilder()StringtoString()Returns a string representation of this object.Integerweight()The relative percentage of the total number of tasks launched that should use the capacity provider.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
base
public final Integer base()
The minimum number of tasks to run on the specified capacity provider.
- Returns:
- The minimum number of tasks to run on the specified capacity provider.
-
capacityProvider
public final String capacityProvider()
The name of the capacity provider.
- Returns:
- The name of the capacity provider.
-
weight
public final Integer weight()
The relative percentage of the total number of tasks launched that should use the capacity provider.
- Returns:
- The relative percentage of the total number of tasks launched that should use the capacity provider.
-
toBuilder
public AwsEcsClusterDefaultCapacityProviderStrategyDetails.Builder toBuilder()
-
builder
public static AwsEcsClusterDefaultCapacityProviderStrategyDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends AwsEcsClusterDefaultCapacityProviderStrategyDetails.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-