StreamingAnalyticsConnectionSample (Java Functional Samples)
Date: 2020-08-07

rest

## Class StreamingAnalyticsConnectionSample

- java.lang.Object
- - rest.StreamingAnalyticsConnectionSample

-     public class StreamingAnalyticsConnectionSample
      extends java.lang.Object

  Sample code to show how to access a Streaming Analytics Instance through the REST Api

  The example connects to the streams instance and gets a list of resources. The objects printed out include all the fields known in the JSON object per the REST api however, the classes may not have accessors for all objects.

  The following arguments are required for the sample:

  - credentials (as an absolute file path, or JSON string)
  - serviceName identifying the credentials to use in the file

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `StreamingAnalyticsConnectionSample()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `main(java.lang.String[] args)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### StreamingAnalyticsConnectionSample

          public StreamingAnalyticsConnectionSample()

  - ### Method Detail

    - #### main

          public static void main(java.lang.String[] args)