Class StreamSubscriptionWrapper
java.lang.Object
com.eqixiac.equinix.core.model.ResourceImpl<StreamSubscription>
com.eqixiac.equinix.fabric.model.wrappers.StreamSubscriptionWrapper
- All Implemented Interfaces:
Resource<StreamSubscription>, DeletableResource, StreamSubscription
public class StreamSubscriptionWrapper
extends ResourceImpl<StreamSubscription>
implements StreamSubscription
-
Constructor Summary
ConstructorsConstructorDescriptionStreamSubscriptionWrapper(StreamSubscriptionJson streamSubscriptionJson, Pageable<StreamSubscription> serviceClient) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whetherdelete(...)was called successfully on this model instance.voidBegins a fluent full-body update of this stream subscription, pre-populated with its current state, e.g.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Resource
getServiceClientMethods inherited from interface StreamSubscription
getChangeLog, getDescription, getEnabled, getEventSelector, getHref, getMetricSelector, getName, getOperation, getSink, getState, getType, getUuid
-
Constructor Details
-
StreamSubscriptionWrapper
public StreamSubscriptionWrapper(StreamSubscriptionJson streamSubscriptionJson, Pageable<StreamSubscription> serviceClient)
-
-
Method Details
-
update
Description copied from interface:StreamSubscriptionBegins a fluent full-body update of this stream subscription, pre-populated with its current state, e.g.subscription.update(streamId).withName("New-Name").save().- Specified by:
updatein interfaceStreamSubscription- Parameters:
streamId- the unique identifier of the parent stream- Returns:
- a seeded
StreamSubscriptionOperator.StreamSubscriptionBuilder
-
delete
- Specified by:
deletein interfaceStreamSubscription
-
isDeleted
public boolean isDeleted()Description copied from interface:DeletableResourceReturns whetherdelete(...)was called successfully on this model instance.- Specified by:
isDeletedin interfaceDeletableResource- Returns:
trueonce this instance has been deleted
-
refresh
- Specified by:
refreshin interfaceStreamSubscription
-