public FailoverConfig withSecondary(Secondary secondary) {
        setSecondary(secondary);
        return this;
    }
<p>
The Region that events are routed to when failover is triggered or event replication is enabled.
</p>

@param secondary
       The Region that events are routed to when failover is triggered or event replication is enabled.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-eventbridge/src/main/java/com/amazonaws/services/eventbridge/model/FailoverConfig.java