primary
The main Region of the endpoint.
- Returns:
- The main Region of the endpoint.
Serializable, SdkPojo, ToCopyableBuilder<FailoverConfig.Builder,FailoverConfig> The failover configuration for an endpoint. This includes what triggers failover and what happens when it's triggered.
static FailoverConfig.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T> getValueForField(String fieldName,
Class<T> clazz) final inthashCode()final Primaryprimary()final Secondarystatic Class<? extends FailoverConfig.Builder> final StringtoString()copyThe main Region of the endpoint.
The Region that events are routed to when failover is triggered or event replication is enabled.
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<FailoverConfig.Builder,FailoverConfig> SdkPojoSdkPojo class,
and is generated based on a service model.
If an SdkPojo class does not have any inherited fields, equalsBySdkFields
and equals are essentially the same.
equalsBySdkFields in interface SdkPojoobj - the object to be compared with