public GetFoundationModelResult withModelDetails(FoundationModelDetails modelDetails) {
        setModelDetails(modelDetails);
        return this;
    }
<p>
Information about the foundation model.
</p>

@param modelDetails
       Information about the foundation model.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-bedrock/src/main/java/com/amazonaws/services/bedrock/model/GetFoundationModelResult.java