@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Primary extends Object implements Serializable, Cloneable, StructuredPojo
The primary Region of the endpoint.
| Constructor and Description |
|---|
Primary() |
| Modifier and Type | Method and Description |
|---|---|
Primary |
clone() |
boolean |
equals(Object obj) |
String |
getHealthCheck()
The ARN of the health check used by the endpoint to determine whether failover is triggered.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setHealthCheck(String healthCheck)
The ARN of the health check used by the endpoint to determine whether failover is triggered.
|
String |
toString()
Returns a string representation of this object.
|
Primary |
withHealthCheck(String healthCheck)
The ARN of the health check used by the endpoint to determine whether failover is triggered.
|
public void setHealthCheck(String healthCheck)
The ARN of the health check used by the endpoint to determine whether failover is triggered.
healthCheck - The ARN of the health check used by the endpoint to determine whether failover is triggered.public String getHealthCheck()
The ARN of the health check used by the endpoint to determine whether failover is triggered.
public Primary withHealthCheck(String healthCheck)
The ARN of the health check used by the endpoint to determine whether failover is triggered.
healthCheck - The ARN of the health check used by the endpoint to determine whether failover is triggered.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.