@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HttpRoute extends Object implements Serializable, Cloneable, StructuredPojo
An object that represents an HTTP or HTTP/2 route type.
| Constructor and Description |
|---|
HttpRoute() |
| Modifier and Type | Method and Description |
|---|---|
HttpRoute |
clone() |
boolean |
equals(Object obj) |
HttpRouteAction |
getAction()
An object that represents the action to take if a match is determined.
|
HttpRouteMatch |
getMatch()
An object that represents the criteria for determining a request match.
|
HttpRetryPolicy |
getRetryPolicy()
An object that represents a retry policy.
|
HttpTimeout |
getTimeout()
An object that represents types of timeouts.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAction(HttpRouteAction action)
An object that represents the action to take if a match is determined.
|
void |
setMatch(HttpRouteMatch match)
An object that represents the criteria for determining a request match.
|
void |
setRetryPolicy(HttpRetryPolicy retryPolicy)
An object that represents a retry policy.
|
void |
setTimeout(HttpTimeout timeout)
An object that represents types of timeouts.
|
String |
toString()
Returns a string representation of this object.
|
HttpRoute |
withAction(HttpRouteAction action)
An object that represents the action to take if a match is determined.
|
HttpRoute |
withMatch(HttpRouteMatch match)
An object that represents the criteria for determining a request match.
|
HttpRoute |
withRetryPolicy(HttpRetryPolicy retryPolicy)
An object that represents a retry policy.
|
HttpRoute |
withTimeout(HttpTimeout timeout)
An object that represents types of timeouts.
|
public void setAction(HttpRouteAction action)
An object that represents the action to take if a match is determined.
action - An object that represents the action to take if a match is determined.public HttpRouteAction getAction()
An object that represents the action to take if a match is determined.
public HttpRoute withAction(HttpRouteAction action)
An object that represents the action to take if a match is determined.
action - An object that represents the action to take if a match is determined.public void setMatch(HttpRouteMatch match)
An object that represents the criteria for determining a request match.
match - An object that represents the criteria for determining a request match.public HttpRouteMatch getMatch()
An object that represents the criteria for determining a request match.
public HttpRoute withMatch(HttpRouteMatch match)
An object that represents the criteria for determining a request match.
match - An object that represents the criteria for determining a request match.public void setRetryPolicy(HttpRetryPolicy retryPolicy)
An object that represents a retry policy.
retryPolicy - An object that represents a retry policy.public HttpRetryPolicy getRetryPolicy()
An object that represents a retry policy.
public HttpRoute withRetryPolicy(HttpRetryPolicy retryPolicy)
An object that represents a retry policy.
retryPolicy - An object that represents a retry policy.public void setTimeout(HttpTimeout timeout)
An object that represents types of timeouts.
timeout - An object that represents types of timeouts.public HttpTimeout getTimeout()
An object that represents types of timeouts.
public HttpRoute withTimeout(HttpTimeout timeout)
An object that represents types of timeouts.
timeout - An object that represents types of timeouts.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.