@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GatewayRouteHostnameRewrite extends Object implements Serializable, Cloneable, StructuredPojo
An object representing the gateway route host name to rewrite.
| Constructor and Description |
|---|
GatewayRouteHostnameRewrite() |
| Modifier and Type | Method and Description |
|---|---|
GatewayRouteHostnameRewrite |
clone() |
boolean |
equals(Object obj) |
String |
getDefaultTargetHostname()
The default target host name to write to.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDefaultTargetHostname(String defaultTargetHostname)
The default target host name to write to.
|
String |
toString()
Returns a string representation of this object.
|
GatewayRouteHostnameRewrite |
withDefaultTargetHostname(DefaultGatewayRouteRewrite defaultTargetHostname)
The default target host name to write to.
|
GatewayRouteHostnameRewrite |
withDefaultTargetHostname(String defaultTargetHostname)
The default target host name to write to.
|
public void setDefaultTargetHostname(String defaultTargetHostname)
The default target host name to write to.
defaultTargetHostname - The default target host name to write to.DefaultGatewayRouteRewritepublic String getDefaultTargetHostname()
The default target host name to write to.
DefaultGatewayRouteRewritepublic GatewayRouteHostnameRewrite withDefaultTargetHostname(String defaultTargetHostname)
The default target host name to write to.
defaultTargetHostname - The default target host name to write to.DefaultGatewayRouteRewritepublic GatewayRouteHostnameRewrite withDefaultTargetHostname(DefaultGatewayRouteRewrite defaultTargetHostname)
The default target host name to write to.
defaultTargetHostname - The default target host name to write to.DefaultGatewayRouteRewritepublic String toString()
toString in class ObjectObject.toString()public GatewayRouteHostnameRewrite clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.