public String getDefaultVariant() {
        return this.defaultVariant;
    }
<p>
The name of the default variant for the prompt. This value must match the <code>name</code> field in the relevant
<a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptVariant.html">PromptVariant</a>
object.
</p>

@return The name of the default variant for the prompt. This value must match the <code>name</code> field in the
        relevant <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptVariant.html">
        PromptVariant</a> object.
aws-java-sdk-bedrockagent/src/main/java/com/amazonaws/services/bedrockagent/model/CreatePromptRequest.java