@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HttpRoute extends Object implements Serializable, Cloneable, StructuredPojo
An object representing the HTTP routing specification for a route.
Constructor and Description |
---|
HttpRoute() |
Modifier and Type | Method and Description |
---|---|
HttpRoute |
clone() |
boolean |
equals(Object obj) |
HttpRouteAction |
getAction()
The action to take if a match is determined.
|
HttpRouteMatch |
getMatch()
The criteria for determining an HTTP request match.
|
HttpRetryPolicy |
getRetryPolicy()
An object that represents a retry policy.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAction(HttpRouteAction action)
The action to take if a match is determined.
|
void |
setMatch(HttpRouteMatch match)
The criteria for determining an HTTP request match.
|
void |
setRetryPolicy(HttpRetryPolicy retryPolicy)
An object that represents a retry policy.
|
String |
toString()
Returns a string representation of this object.
|
HttpRoute |
withAction(HttpRouteAction action)
The action to take if a match is determined.
|
HttpRoute |
withMatch(HttpRouteMatch match)
The criteria for determining an HTTP request match.
|
HttpRoute |
withRetryPolicy(HttpRetryPolicy retryPolicy)
An object that represents a retry policy.
|
public void setAction(HttpRouteAction action)
The action to take if a match is determined.
action
- The action to take if a match is determined.public HttpRouteAction getAction()
The action to take if a match is determined.
public HttpRoute withAction(HttpRouteAction action)
The action to take if a match is determined.
action
- The action to take if a match is determined.public void setMatch(HttpRouteMatch match)
The criteria for determining an HTTP request match.
match
- The criteria for determining an HTTP request match.public HttpRouteMatch getMatch()
The criteria for determining an HTTP request match.
public HttpRoute withMatch(HttpRouteMatch match)
The criteria for determining an HTTP request match.
match
- The criteria for determining an HTTP 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 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.