public final class TwitterRegistration extends Object
| Constructor and Description |
|---|
TwitterRegistration() |
| Modifier and Type | Method and Description |
|---|---|
String |
consumerKey()
Get the consumerKey property: The OAuth 1.0a consumer key of the Twitter application used for sign-in.
|
String |
consumerSecretSettingName()
Get the consumerSecretSettingName property: The app setting name that contains the OAuth 1.0a consumer secret of
the Twitter application used for sign-in.
|
void |
validate()
Validates the instance.
|
TwitterRegistration |
withConsumerKey(String consumerKey)
Set the consumerKey property: The OAuth 1.0a consumer key of the Twitter application used for sign-in.
|
TwitterRegistration |
withConsumerSecretSettingName(String consumerSecretSettingName)
Set the consumerSecretSettingName property: The app setting name that contains the OAuth 1.0a consumer secret of
the Twitter application used for sign-in.
|
public String consumerKey()
public TwitterRegistration withConsumerKey(String consumerKey)
consumerKey - the consumerKey value to set.public String consumerSecretSettingName()
public TwitterRegistration withConsumerSecretSettingName(String consumerSecretSettingName)
consumerSecretSettingName - the consumerSecretSettingName 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.