public class TwitterRegistration extends ProxyOnlyResource
| Constructor and Description |
|---|
TwitterRegistration() |
| Modifier and Type | Method and Description |
|---|---|
String |
consumerKey()
Get the consumerKey property: The consumerKey property.
|
String |
consumerSecretSettingName()
Get the consumerSecretSettingName property: The consumerSecretSettingName property.
|
void |
validate()
Validates the instance.
|
TwitterRegistration |
withConsumerKey(String consumerKey)
Set the consumerKey property: The consumerKey property.
|
TwitterRegistration |
withConsumerSecretSettingName(String consumerSecretSettingName)
Set the consumerSecretSettingName property: The consumerSecretSettingName property.
|
TwitterRegistration |
withKind(String kind)
Set the kind property: Kind of resource.
|
kindpublic 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 TwitterRegistration 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.