public void setPrimary(Primary primary) {
        this.primary = primary;
    }
<p>
The main Region of the endpoint.
</p>

@param primary
       The main Region of the endpoint.
aws-java-sdk-eventbridge/src/main/java/com/amazonaws/services/eventbridge/model/FailoverConfig.java