@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Matcher extends Object implements Serializable, Cloneable, StructuredPojo
Describes the codes to use when checking for a successful response from a target for health checks.
Constructor and Description |
---|
Matcher() |
Modifier and Type | Method and Description |
---|---|
Matcher |
clone() |
boolean |
equals(Object obj) |
String |
getHttpCode()
The HTTP code to use when checking for a successful response from a target.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setHttpCode(String httpCode)
The HTTP code to use when checking for a successful response from a target.
|
String |
toString()
Returns a string representation of this object.
|
Matcher |
withHttpCode(String httpCode)
The HTTP code to use when checking for a successful response from a target.
|
public void setHttpCode(String httpCode)
The HTTP code to use when checking for a successful response from a target.
httpCode
- The HTTP code to use when checking for a successful response from a target.public String getHttpCode()
The HTTP code to use when checking for a successful response from a target.
public Matcher withHttpCode(String httpCode)
The HTTP code to use when checking for a successful response from a target.
httpCode
- The HTTP code to use when checking for a successful response from a target.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.