@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VirtualServiceSpec extends Object implements Serializable, Cloneable, StructuredPojo
An object that represents the specification of a virtual service.
| Constructor and Description | 
|---|
| VirtualServiceSpec() | 
| Modifier and Type | Method and Description | 
|---|---|
| VirtualServiceSpec | clone() | 
| boolean | equals(Object obj) | 
| VirtualServiceProvider | getProvider()
 The App Mesh object that is acting as the provider for a virtual service. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setProvider(VirtualServiceProvider provider)
 The App Mesh object that is acting as the provider for a virtual service. | 
| String | toString()Returns a string representation of this object. | 
| VirtualServiceSpec | withProvider(VirtualServiceProvider provider)
 The App Mesh object that is acting as the provider for a virtual service. | 
public void setProvider(VirtualServiceProvider provider)
The App Mesh object that is acting as the provider for a virtual service. You can specify a single virtual node or virtual router.
provider - The App Mesh object that is acting as the provider for a virtual service. You can specify a single virtual
        node or virtual router.public VirtualServiceProvider getProvider()
The App Mesh object that is acting as the provider for a virtual service. You can specify a single virtual node or virtual router.
public VirtualServiceSpec withProvider(VirtualServiceProvider provider)
The App Mesh object that is acting as the provider for a virtual service. You can specify a single virtual node or virtual router.
provider - The App Mesh object that is acting as the provider for a virtual service. You can specify a single virtual
        node or virtual router.public String toString()
toString in class ObjectObject.toString()public VirtualServiceSpec clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.