Class StreamSubscriptionsImpl
java.lang.Object
api.equinix.javasdk.fabric.client.implementation.StreamSubscriptionsImpl
- All Implemented Interfaces:
StreamSubscriptions
-
Constructor Summary
ConstructorsConstructorDescriptionStreamSubscriptionsImpl(StreamSubscriptionClient<StreamSubscription> serviceClient, Fabric serviceManager) -
Method Summary
Modifier and TypeMethodDescriptionBegins the fluent builder for creating a new stream subscription.Retrieves a single stream subscription by its unique identifier.Lists all subscriptions for the specified stream.
-
Constructor Details
-
StreamSubscriptionsImpl
public StreamSubscriptionsImpl(StreamSubscriptionClient<StreamSubscription> serviceClient, Fabric serviceManager)
-
-
Method Details
-
list
Description copied from interface:StreamSubscriptionsLists all subscriptions for the specified stream.- Specified by:
listin interfaceStreamSubscriptions- Parameters:
streamId- the unique identifier of the parent stream- Returns:
- a paginated list of stream subscriptions
-
getByUuid
Description copied from interface:StreamSubscriptionsRetrieves a single stream subscription by its unique identifier.- Specified by:
getByUuidin interfaceStreamSubscriptions- Parameters:
streamId- the unique identifier of the parent streamuuid- the unique identifier of the stream subscription- Returns:
- the stream subscription matching the given UUID
-
define
Description copied from interface:StreamSubscriptionsBegins the fluent builder for creating a new stream subscription. Call methods on the returned builder to configure the subscription, then callcreate().- Specified by:
definein interfaceStreamSubscriptions- Parameters:
streamId- the unique identifier of the parent stream- Returns:
- a builder for configuring the new stream subscription
-