Twitter Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. Twitter
- com.
public final class Twitter
The configuration settings of the Twitter provider.
Constructor Summary
Constructor | Description |
---|---|
Twitter() |
Creates an instance of Twitter class. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
enabled()
Get the enabled property: |
Twitter |
registration()
Get the registration property: The configuration settings of the app registration for the Twitter provider. |
void |
validate()
Validates the instance. |
withEnabled(Boolean enabled)
Set the enabled property: |
|
withRegistration(TwitterRegistration registration)
Set the registration property: The configuration settings of the app registration for the Twitter provider. |
Methods inherited from java.lang.Object
Constructor Details
public Twitter()
Creates an instance of Twitter class.
Method Details
enabled
public Boolean enabled()
Get the enabled property: false
if the Twitter provider should not be enabled despite the set registration; otherwise, true
.
Returns:
registration
public TwitterRegistration registration()
Get the registration property: The configuration settings of the app registration for the Twitter provider.
Returns:
validate
public void validate()
Validates the instance.
withEnabled
public Twitter withEnabled(Boolean enabled)
Set the enabled property: false
if the Twitter provider should not be enabled despite the set registration; otherwise, true
.
Parameters:
Returns:
withRegistration
public Twitter withRegistration(TwitterRegistration registration)
Set the registration property: The configuration settings of the app registration for the Twitter provider.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for