Twitter Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.Twitter

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: false if the Twitter provider should not be enabled despite the set registration; otherwise, true.

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: false if the Twitter provider should not be enabled despite the set registration; otherwise, true.

Twitter 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

Twitter

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:

the enabled value.

registration

public TwitterRegistration registration()

Get the registration property: The configuration settings of the app registration for the Twitter provider.

Returns:

the registration value.

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:

enabled - the enabled value to set.

Returns:

the Twitter object itself.

withRegistration

public Twitter withRegistration(TwitterRegistration registration)

Set the registration property: The configuration settings of the app registration for the Twitter provider.

Parameters:

registration - the registration value to set.

Returns:

the Twitter object itself.

Applies to