@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsEventsEndpointRoutingConfigFailoverConfigSecondaryDetails extends Object implements Serializable, Cloneable, StructuredPojo
The Amazon Web Services Region that events are routed to when failover is triggered or event replication is enabled.
Constructor and Description |
---|
AwsEventsEndpointRoutingConfigFailoverConfigSecondaryDetails() |
Modifier and Type | Method and Description |
---|---|
AwsEventsEndpointRoutingConfigFailoverConfigSecondaryDetails |
clone() |
boolean |
equals(Object obj) |
String |
getRoute()
Defines the secondary Region.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRoute(String route)
Defines the secondary Region.
|
String |
toString()
Returns a string representation of this object.
|
AwsEventsEndpointRoutingConfigFailoverConfigSecondaryDetails |
withRoute(String route)
Defines the secondary Region.
|
public AwsEventsEndpointRoutingConfigFailoverConfigSecondaryDetails()
public void setRoute(String route)
Defines the secondary Region.
route
- Defines the secondary Region.public String getRoute()
Defines the secondary Region.
public AwsEventsEndpointRoutingConfigFailoverConfigSecondaryDetails withRoute(String route)
Defines the secondary Region.
route
- Defines the secondary Region.public String toString()
toString
in class Object
Object.toString()
public AwsEventsEndpointRoutingConfigFailoverConfigSecondaryDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.