@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GatewayRouteVirtualService extends Object implements Serializable, Cloneable, StructuredPojo
An object that represents the virtual service that traffic is routed to.
Constructor and Description |
---|
GatewayRouteVirtualService() |
Modifier and Type | Method and Description |
---|---|
GatewayRouteVirtualService |
clone() |
boolean |
equals(Object obj) |
String |
getVirtualServiceName()
The name of the virtual service that traffic is routed to.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setVirtualServiceName(String virtualServiceName)
The name of the virtual service that traffic is routed to.
|
String |
toString()
Returns a string representation of this object.
|
GatewayRouteVirtualService |
withVirtualServiceName(String virtualServiceName)
The name of the virtual service that traffic is routed to.
|
public void setVirtualServiceName(String virtualServiceName)
The name of the virtual service that traffic is routed to.
virtualServiceName
- The name of the virtual service that traffic is routed to.public String getVirtualServiceName()
The name of the virtual service that traffic is routed to.
public GatewayRouteVirtualService withVirtualServiceName(String virtualServiceName)
The name of the virtual service that traffic is routed to.
virtualServiceName
- The name of the virtual service that traffic is routed to.public String toString()
toString
in class Object
Object.toString()
public GatewayRouteVirtualService clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.