public class Twitter extends ProxyOnlyResource
| Constructor and Description |
|---|
Twitter() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
enabled()
Get the enabled property: The enabled property.
|
TwitterRegistration |
registration()
Get the registration property: The registration property.
|
void |
validate()
Validates the instance.
|
Twitter |
withEnabled(Boolean enabled)
Set the enabled property: The enabled property.
|
Twitter |
withKind(String kind)
Set the kind property: Kind of resource.
|
Twitter |
withRegistration(TwitterRegistration registration)
Set the registration property: The registration property.
|
kindpublic 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 Twitter withKind(String kind)
withKind in class ProxyOnlyResourcekind - the kind value to set.public void validate()
validate in class ProxyOnlyResourceIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.