@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HttpGatewayRoutePrefixRewrite extends Object implements Serializable, Cloneable, StructuredPojo
An object representing the beginning characters of the route to rewrite.
Constructor and Description |
---|
HttpGatewayRoutePrefixRewrite() |
Modifier and Type | Method and Description |
---|---|
HttpGatewayRoutePrefixRewrite |
clone() |
boolean |
equals(Object obj) |
String |
getDefaultPrefix()
The default prefix used to replace the incoming route prefix when rewritten.
|
String |
getValue()
The value used to replace the incoming route prefix when rewritten.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDefaultPrefix(String defaultPrefix)
The default prefix used to replace the incoming route prefix when rewritten.
|
void |
setValue(String value)
The value used to replace the incoming route prefix when rewritten.
|
String |
toString()
Returns a string representation of this object.
|
HttpGatewayRoutePrefixRewrite |
withDefaultPrefix(DefaultGatewayRouteRewrite defaultPrefix)
The default prefix used to replace the incoming route prefix when rewritten.
|
HttpGatewayRoutePrefixRewrite |
withDefaultPrefix(String defaultPrefix)
The default prefix used to replace the incoming route prefix when rewritten.
|
HttpGatewayRoutePrefixRewrite |
withValue(String value)
The value used to replace the incoming route prefix when rewritten.
|
public void setDefaultPrefix(String defaultPrefix)
The default prefix used to replace the incoming route prefix when rewritten.
defaultPrefix
- The default prefix used to replace the incoming route prefix when rewritten.DefaultGatewayRouteRewrite
public String getDefaultPrefix()
The default prefix used to replace the incoming route prefix when rewritten.
DefaultGatewayRouteRewrite
public HttpGatewayRoutePrefixRewrite withDefaultPrefix(String defaultPrefix)
The default prefix used to replace the incoming route prefix when rewritten.
defaultPrefix
- The default prefix used to replace the incoming route prefix when rewritten.DefaultGatewayRouteRewrite
public HttpGatewayRoutePrefixRewrite withDefaultPrefix(DefaultGatewayRouteRewrite defaultPrefix)
The default prefix used to replace the incoming route prefix when rewritten.
defaultPrefix
- The default prefix used to replace the incoming route prefix when rewritten.DefaultGatewayRouteRewrite
public void setValue(String value)
The value used to replace the incoming route prefix when rewritten.
value
- The value used to replace the incoming route prefix when rewritten.public String getValue()
The value used to replace the incoming route prefix when rewritten.
public HttpGatewayRoutePrefixRewrite withValue(String value)
The value used to replace the incoming route prefix when rewritten.
value
- The value used to replace the incoming route prefix when rewritten.public String toString()
toString
in class Object
Object.toString()
public HttpGatewayRoutePrefixRewrite clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.