public final class Twitter extends Object
| Constructor and Description |
|---|
Twitter() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
enabled()
Get the enabled property: <code>false</code> if the Twitter provider should not be enabled despite
the set registration; otherwise, <code>true</code>.
|
TwitterRegistration |
registration()
Get the registration property: The configuration settings of the app registration for the Twitter provider.
|
void |
validate()
Validates the instance.
|
Twitter |
withEnabled(Boolean enabled)
Set the enabled property: <code>false</code> if the Twitter provider should not be enabled despite
the set registration; otherwise, <code>true</code>.
|
Twitter |
withRegistration(TwitterRegistration registration)
Set the registration property: The configuration settings of the app registration for the Twitter provider.
|
public Boolean enabled()
public Twitter withEnabled(Boolean enabled)
enabled - the enabled value to set.public TwitterRegistration registration()
public Twitter withRegistration(TwitterRegistration registration)
registration - the registration value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.