@Introspected
public class Service
extends java.lang.Object
Constructor and Description |
---|
Service() |
Modifier and Type | Method and Description |
---|---|
Metadata |
getMetadata() |
ServiceSpec |
getSpec() |
void |
setMetadata(Metadata metadata) |
void |
setSpec(ServiceSpec spec) |
java.lang.String |
toString() |
public Metadata getMetadata()
public void setMetadata(Metadata metadata)
metadata
- Standard object's metadata.public ServiceSpec getSpec()
public void setSpec(ServiceSpec spec)
spec
- A Spec which defines the behavior of a service.public java.lang.String toString()
toString
in class java.lang.Object