@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HttpGatewayRouteRewrite extends Object implements Serializable, Cloneable, StructuredPojo
An object representing the gateway route to rewrite.
Constructor and Description |
---|
HttpGatewayRouteRewrite() |
Modifier and Type | Method and Description |
---|---|
HttpGatewayRouteRewrite |
clone() |
boolean |
equals(Object obj) |
GatewayRouteHostnameRewrite |
getHostname()
The host name to rewrite.
|
HttpGatewayRoutePathRewrite |
getPath()
The path to rewrite.
|
HttpGatewayRoutePrefixRewrite |
getPrefix()
The specified beginning characters to rewrite.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setHostname(GatewayRouteHostnameRewrite hostname)
The host name to rewrite.
|
void |
setPath(HttpGatewayRoutePathRewrite path)
The path to rewrite.
|
void |
setPrefix(HttpGatewayRoutePrefixRewrite prefix)
The specified beginning characters to rewrite.
|
String |
toString()
Returns a string representation of this object.
|
HttpGatewayRouteRewrite |
withHostname(GatewayRouteHostnameRewrite hostname)
The host name to rewrite.
|
HttpGatewayRouteRewrite |
withPath(HttpGatewayRoutePathRewrite path)
The path to rewrite.
|
HttpGatewayRouteRewrite |
withPrefix(HttpGatewayRoutePrefixRewrite prefix)
The specified beginning characters to rewrite.
|
public void setHostname(GatewayRouteHostnameRewrite hostname)
The host name to rewrite.
hostname
- The host name to rewrite.public GatewayRouteHostnameRewrite getHostname()
The host name to rewrite.
public HttpGatewayRouteRewrite withHostname(GatewayRouteHostnameRewrite hostname)
The host name to rewrite.
hostname
- The host name to rewrite.public void setPath(HttpGatewayRoutePathRewrite path)
The path to rewrite.
path
- The path to rewrite.public HttpGatewayRoutePathRewrite getPath()
The path to rewrite.
public HttpGatewayRouteRewrite withPath(HttpGatewayRoutePathRewrite path)
The path to rewrite.
path
- The path to rewrite.public void setPrefix(HttpGatewayRoutePrefixRewrite prefix)
The specified beginning characters to rewrite.
prefix
- The specified beginning characters to rewrite.public HttpGatewayRoutePrefixRewrite getPrefix()
The specified beginning characters to rewrite.
public HttpGatewayRouteRewrite withPrefix(HttpGatewayRoutePrefixRewrite prefix)
The specified beginning characters to rewrite.
prefix
- The specified beginning characters to rewrite.public String toString()
toString
in class Object
Object.toString()
public HttpGatewayRouteRewrite clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.