@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Matcher extends Object implements Serializable, Cloneable
Information to use when checking for a successful response from a target.
Constructor and Description |
---|
Matcher() |
Modifier and Type | Method and Description |
---|---|
Matcher |
clone() |
boolean |
equals(Object obj) |
String |
getHttpCode()
The HTTP codes.
|
int |
hashCode() |
void |
setHttpCode(String httpCode)
The HTTP codes.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Matcher |
withHttpCode(String httpCode)
The HTTP codes.
|
public void setHttpCode(String httpCode)
The HTTP codes.
For Application Load Balancers, you can specify values between 200 and 499, and the default value is 200. You can specify multiple values (for example, "200,202") or a range of values (for example, "200-299").
For Network Load Balancers, this is 200 to 399.
httpCode
- The HTTP codes.
For Application Load Balancers, you can specify values between 200 and 499, and the default value is 200. You can specify multiple values (for example, "200,202") or a range of values (for example, "200-299").
For Network Load Balancers, this is 200 to 399.
public String getHttpCode()
The HTTP codes.
For Application Load Balancers, you can specify values between 200 and 499, and the default value is 200. You can specify multiple values (for example, "200,202") or a range of values (for example, "200-299").
For Network Load Balancers, this is 200 to 399.
For Application Load Balancers, you can specify values between 200 and 499, and the default value is 200. You can specify multiple values (for example, "200,202") or a range of values (for example, "200-299").
For Network Load Balancers, this is 200 to 399.
public Matcher withHttpCode(String httpCode)
The HTTP codes.
For Application Load Balancers, you can specify values between 200 and 499, and the default value is 200. You can specify multiple values (for example, "200,202") or a range of values (for example, "200-299").
For Network Load Balancers, this is 200 to 399.
httpCode
- The HTTP codes.
For Application Load Balancers, you can specify values between 200 and 499, and the default value is 200. You can specify multiple values (for example, "200,202") or a range of values (for example, "200-299").
For Network Load Balancers, this is 200 to 399.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.