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.Builder
builder()
final boolean
final boolean
equalsBySdkFields(Object obj)
final <T> Optional<T>
getValueForField(String fieldName,
Class<T> clazz)
final int
hashCode()
final Primary
primary()
final Secondary
static Class<? extends FailoverConfig.Builder>
final String
toString()
copy
The main Region of the endpoint.
The Region that events are routed to when failover is triggered or event replication is enabled.
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<FailoverConfig.Builder,FailoverConfig>
SdkPojo
SdkPojo
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 SdkPojo
obj
- the object to be compared with