public java.util.List<DesiredWeightAndCapacity> getDesiredWeightsAndCapacities() {
        return desiredWeightsAndCapacities;
    }
<p>
An object that provides new capacity and weight values for a variant.
</p>

@return An object that provides new capacity and weight values for a variant.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/UpdateEndpointWeightsAndCapacitiesRequest.java