public void setModelSummaries(java.util.Collection<FoundationModelSummary> modelSummaries) {
        if (modelSummaries == null) {
            this.modelSummaries = null;
            return;
        }

        this.modelSummaries = new java.util.ArrayList<FoundationModelSummary>(modelSummaries);
    }
<p>
A list of Amazon Bedrock foundation models.
</p>

@param modelSummaries
       A list of Amazon Bedrock foundation models.
aws-java-sdk-bedrock/src/main/java/com/amazonaws/services/bedrock/model/ListFoundationModelsResult.java