public class SubscribeRule extends Object implements Rule
For more information see: Specifying Subscribe Rules
Modifier and Type | Class and Description |
---|---|
static class |
SubscribeRule.Builder |
static interface |
SubscribeRule.BuilderBuild |
static interface |
SubscribeRule.BuilderMiddle |
static interface |
SubscribeRule.BuilderMiddleBuild |
static interface |
SubscribeRule.BuilderStart |
Rule.Kind, Rule.Priority, Rule.Type
Constructor and Description |
---|
SubscribeRule() |
SubscribeRule(Rule.Type type,
Boolean all,
String publisher,
String track,
Rule.Kind kind,
Rule.Priority priority) |
Modifier and Type | Method and Description |
---|---|
static SubscribeRule |
all() |
static SubscribeRule.BuilderStart |
builder() |
boolean |
equals(Object o) |
Boolean |
getAll() |
Rule.Kind |
getKind() |
Rule.Priority |
getPriority() |
String |
getPublisher() |
String |
getTrack() |
Rule.Type |
getType() |
int |
hashCode() |
static SubscribeRule |
none() |
public SubscribeRule(Rule.Type type, Boolean all, String publisher, String track, Rule.Kind kind, Rule.Priority priority)
public SubscribeRule()
public static SubscribeRule.BuilderStart builder()
public String getPublisher()
getPublisher
in interface Rule
public Rule.Priority getPriority()
public static SubscribeRule all()
public static SubscribeRule none()
Copyright © 2019 Twilio, Inc. All Rights Reserved.