public class Resource extends Element
| Constructor and Description | 
|---|
| Resource() | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String | getDisplayName()Get the display name for this resource. | 
| java.lang.String | getId()Get the unique Streams identifier for this resource. | 
| java.lang.String | getIpAddress()Get the IP address for this resource. | 
| java.util.List<Metric> | getMetrics()Gets the  metricsfor this resource. | 
| java.lang.String | getResourceType()Identifies the REST resource type | 
| java.lang.String | getStatus()Status of the resource. | 
getStreamsConnection, refresh, toStringpublic java.lang.String getId()
public java.lang.String getIpAddress()
public java.lang.String getDisplayName()
public java.lang.String getStatus()
failed, partiallyFailed, partiallyRunning,
 quiesced, quiescing, running,
 restarting, resuming, starting, 
 stopped, and unknown.public java.util.List<Metric> getMetrics() throws java.io.IOException
metrics for this resource.IBM Streams Metricsjava.io.IOExceptionpublic java.lang.String getResourceType()