Class StreamingSubscriptionsImpl
java.lang.Object
com.eqixiac.equinix.ibxsmartview.client.implementation.StreamingSubscriptionsImpl
- All Implemented Interfaces:
StreamingSubscriptions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondefine()Returns a builder for defining and creating a new streaming subscription.Retrieves a specific streaming subscription by its unique identifier.getCertificate(String channelType) Retrieves the certificate used for authenticating a streaming channel.getSubscriptionData(String subscriptionId) Retrieves the near real-time data associated with a specific subscription.getSubscriptionData(String subscriptionId, List<String> ibxs, List<String> messageTypes, List<String> streamIds, Integer offset, Integer limit) Retrieves the near real-time data associated with a specific subscription, narrowed by the given filters and pagination.list()Lists all streaming subscriptions for the current account.
-
Constructor Details
-
StreamingSubscriptionsImpl
public StreamingSubscriptionsImpl()
-
-
Method Details
-
list
Description copied from interface:StreamingSubscriptionsLists all streaming subscriptions for the current account.- Specified by:
listin interfaceStreamingSubscriptions- Returns:
- a list of streaming subscriptions
-
getByUuid
Description copied from interface:StreamingSubscriptionsRetrieves a specific streaming subscription by its unique identifier.- Specified by:
getByUuidin interfaceStreamingSubscriptions- Parameters:
uuid- the unique identifier of the streaming subscription- Returns:
- the streaming subscription
-
define
Description copied from interface:StreamingSubscriptionsReturns a builder for defining and creating a new streaming subscription.- Specified by:
definein interfaceStreamingSubscriptions- Returns:
- a streaming subscription builder
-
getSubscriptionData
Description copied from interface:StreamingSubscriptionsRetrieves the near real-time data associated with a specific subscription.- Specified by:
getSubscriptionDatain interfaceStreamingSubscriptions- Parameters:
subscriptionId- the unique identifier of the subscription- Returns:
- the subscription data
-
getSubscriptionData
public SubscriptionData getSubscriptionData(String subscriptionId, List<String> ibxs, List<String> messageTypes, List<String> streamIds, Integer offset, Integer limit) Description copied from interface:StreamingSubscriptionsRetrieves the near real-time data associated with a specific subscription, narrowed by the given filters and pagination.- Specified by:
getSubscriptionDatain interfaceStreamingSubscriptions- Parameters:
subscriptionId- the unique identifier of the subscriptionibxs- filter to the given set of IBXs, ornullfor allmessageTypes- filter to the given message types (ALARM,ALERT,ENVIRONMENTAL,METERED_POWER,POWER,TAG_POINT), ornullfor allstreamIds- filter to the given set of stream IDs, ornullfor alloffset- the zero-based offset of the first item, ornullfor the defaultlimit- the maximum number of items to return, ornullfor the default (250)- Returns:
- the subscription data
-
getCertificate
Description copied from interface:StreamingSubscriptionsRetrieves the certificate used for authenticating a streaming channel.- Specified by:
getCertificatein interfaceStreamingSubscriptions- Parameters:
channelType- the type of streaming channel- Returns:
- the subscription certificate
-