public java.util.List<String> getCapacityProviders() {
        if (capacityProviders == null) {
            capacityProviders = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return capacityProviders;
    }
<p>
The name of one or more capacity providers to associate with the cluster.
</p>
<p>
If specifying a capacity provider that uses an Auto Scaling group, the capacity provider must already be created.
New capacity providers can be created with the <a>CreateCapacityProvider</a> API operation.
</p>
<p>
To use a Fargate capacity provider, specify either the <code>FARGATE</code> or <code>FARGATE_SPOT</code> capacity
providers. The Fargate capacity providers are available to all accounts and only need to be associated with a
cluster to be used.
</p>

@return The name of one or more capacity providers to associate with the cluster.</p>
        <p>
        If specifying a capacity provider that uses an Auto Scaling group, the capacity provider must already be
        created. New capacity providers can be created with the <a>CreateCapacityProvider</a> API operation.
        </p>
        <p>
        To use a Fargate capacity provider, specify either the <code>FARGATE</code> or <code>FARGATE_SPOT</code>
        capacity providers. The Fargate capacity providers are available to all accounts and only need to be
        associated with a cluster to be used.
aws-java-sdk-ecs/src/main/java/com/amazonaws/services/ecs/model/PutClusterCapacityProvidersRequest.java