Interface SubscriptionSetChangesAction

All Superinterfaces:
ResourceUpdateAction<SubscriptionUpdateAction>, SubscriptionUpdateAction

public interface SubscriptionSetChangesAction extends SubscriptionUpdateAction
SubscriptionSetChangesAction
Example to create an instance using the builder pattern

     SubscriptionSetChangesAction subscriptionSetChangesAction = SubscriptionSetChangesAction.builder()
             .build()
 
  • Field Details

  • Method Details

    • getChanges

      @Valid @Valid List<ChangeSubscription> getChanges()

      Value to set. Can only be unset if either messages or events is set.

      Returns:
      changes
    • setChanges

      void setChanges(ChangeSubscription... changes)

      Value to set. Can only be unset if either messages or events is set.

      Parameters:
      changes - values to be set
    • setChanges

      void setChanges(List<ChangeSubscription> changes)

      Value to set. Can only be unset if either messages or events is set.

      Parameters:
      changes - values to be set
    • of

      factory method
      Returns:
      instance of SubscriptionSetChangesAction
    • of

      factory method to create a shallow copy SubscriptionSetChangesAction
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • deepCopy

      @Nullable static SubscriptionSetChangesAction deepCopy(@Nullable SubscriptionSetChangesAction template)
      factory method to create a deep copy of SubscriptionSetChangesAction
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      builder factory method for SubscriptionSetChangesAction
      Returns:
      builder
    • builder

      create builder for SubscriptionSetChangesAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withSubscriptionSetChangesAction

      default <T> T withSubscriptionSetChangesAction(Function<SubscriptionSetChangesAction,T> helper)
      accessor map function
      Type Parameters:
      T - mapped type
      Parameters:
      helper - function to map the object
      Returns:
      mapped value
    • ofUnset

      static SubscriptionSetChangesAction ofUnset()
    • typeReference

      static com.fasterxml.jackson.core.type.TypeReference<SubscriptionSetChangesAction> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference