@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.DefaultGatewayRouteRewrite
public String getDefaultTargetHostname()
The default target host name to write to.
DefaultGatewayRouteRewrite
public GatewayRouteHostnameRewrite withDefaultTargetHostname(String defaultTargetHostname)
The default target host name to write to.
defaultTargetHostname
- The default target host name to write to.DefaultGatewayRouteRewrite
public GatewayRouteHostnameRewrite withDefaultTargetHostname(DefaultGatewayRouteRewrite defaultTargetHostname)
The default target host name to write to.
defaultTargetHostname
- The default target host name to write to.DefaultGatewayRouteRewrite
public String toString()
toString
in class Object
Object.toString()
public GatewayRouteHostnameRewrite clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.