@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GatewayRouteTarget extends Object implements Serializable, Cloneable, StructuredPojo
An object that represents a gateway route target.
| Constructor and Description |
|---|
GatewayRouteTarget() |
| Modifier and Type | Method and Description |
|---|---|
GatewayRouteTarget |
clone() |
boolean |
equals(Object obj) |
Integer |
getPort()
The port number of the gateway route target.
|
GatewayRouteVirtualService |
getVirtualService()
An object that represents a virtual service gateway route target.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setPort(Integer port)
The port number of the gateway route target.
|
void |
setVirtualService(GatewayRouteVirtualService virtualService)
An object that represents a virtual service gateway route target.
|
String |
toString()
Returns a string representation of this object.
|
GatewayRouteTarget |
withPort(Integer port)
The port number of the gateway route target.
|
GatewayRouteTarget |
withVirtualService(GatewayRouteVirtualService virtualService)
An object that represents a virtual service gateway route target.
|
public void setPort(Integer port)
The port number of the gateway route target.
port - The port number of the gateway route target.public Integer getPort()
The port number of the gateway route target.
public GatewayRouteTarget withPort(Integer port)
The port number of the gateway route target.
port - The port number of the gateway route target.public void setVirtualService(GatewayRouteVirtualService virtualService)
An object that represents a virtual service gateway route target.
virtualService - An object that represents a virtual service gateway route target.public GatewayRouteVirtualService getVirtualService()
An object that represents a virtual service gateway route target.
public GatewayRouteTarget withVirtualService(GatewayRouteVirtualService virtualService)
An object that represents a virtual service gateway route target.
virtualService - An object that represents a virtual service gateway route target.public String toString()
toString in class ObjectObject.toString()public GatewayRouteTarget clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.