@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsEventsEndpointRoutingConfigFailoverConfigDetails extends Object implements Serializable, Cloneable, StructuredPojo
The failover configuration for an endpoint. This includes what triggers failover and what happens when it's triggered.
| Constructor and Description |
|---|
AwsEventsEndpointRoutingConfigFailoverConfigDetails() |
public AwsEventsEndpointRoutingConfigFailoverConfigDetails()
public void setPrimary(AwsEventsEndpointRoutingConfigFailoverConfigPrimaryDetails primary)
The main Region of the endpoint.
primary - The main Region of the endpoint.public AwsEventsEndpointRoutingConfigFailoverConfigPrimaryDetails getPrimary()
The main Region of the endpoint.
public AwsEventsEndpointRoutingConfigFailoverConfigDetails withPrimary(AwsEventsEndpointRoutingConfigFailoverConfigPrimaryDetails primary)
The main Region of the endpoint.
primary - The main Region of the endpoint.public void setSecondary(AwsEventsEndpointRoutingConfigFailoverConfigSecondaryDetails secondary)
The Region that events are routed to when failover is triggered or event replication is enabled.
secondary - The Region that events are routed to when failover is triggered or event replication is enabled.public AwsEventsEndpointRoutingConfigFailoverConfigSecondaryDetails getSecondary()
The Region that events are routed to when failover is triggered or event replication is enabled.
public AwsEventsEndpointRoutingConfigFailoverConfigDetails withSecondary(AwsEventsEndpointRoutingConfigFailoverConfigSecondaryDetails secondary)
The Region that events are routed to when failover is triggered or event replication is enabled.
secondary - The Region that events are routed to when failover is triggered or event replication is enabled.public String toString()
toString in class ObjectObject.toString()public AwsEventsEndpointRoutingConfigFailoverConfigDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.