Class StreamSubscriptionsImpl
java.lang.Object
com.eqixiac.equinix.fabric.client.implementation.StreamSubscriptionsImpl
- All Implemented Interfaces:
StreamSubscriptions
-
Constructor Summary
Constructors -
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.search(FilterPropertyList filter, SortPropertyList sort) Searches stream subscriptions across streams (POST /fabric/v4/streamSubscriptions/search), for example by/streamUuid,/uuidor/name.
-
Constructor Details
-
StreamSubscriptionsImpl
public StreamSubscriptionsImpl()
-
-
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
-
search
public PaginatedFilteredList<StreamSubscription> search(FilterPropertyList filter, SortPropertyList sort) Description copied from interface:StreamSubscriptionsSearches stream subscriptions across streams (POST /fabric/v4/streamSubscriptions/search), for example by/streamUuid,/uuidor/name.- Specified by:
searchin interfaceStreamSubscriptions- Parameters:
filter- the filter (required by the spec)sort- the sort, ornull- Returns:
- a paginated, filtered list of stream subscriptions
-