Share via


ConnectionSettingProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.botservice.models.ConnectionSettingProperties

Implements

public final class ConnectionSettingProperties
implements JsonSerializable<ConnectionSettingProperties>

Properties for a Connection Setting Item.

Constructor Summary

Constructor Description
ConnectionSettingProperties()

Creates an instance of ConnectionSettingProperties class.

Method Summary

Modifier and Type Method and Description
String clientId()

Get the clientId property: Client Id associated with the Connection Setting.

String clientSecret()

Get the clientSecret property: Client Secret associated with the Connection Setting.

static ConnectionSettingProperties fromJson(JsonReader jsonReader)

Reads an instance of ConnectionSettingProperties from the JsonReader.

String id()

Get the id property: Id of the Connection Setting.

String name()

Get the name property: Name of the Connection Setting.

List<ConnectionSettingParameter> parameters()

Get the parameters property: Service Provider Parameters associated with the Connection Setting.

String provisioningState()

Get the provisioningState property: Provisioning state of the resource.

String scopes()

Get the scopes property: Scopes associated with the Connection Setting.

String serviceProviderDisplayName()

Get the serviceProviderDisplayName property: Service Provider Display Name associated with the Connection Setting.

String serviceProviderId()

Get the serviceProviderId property: Service Provider Id associated with the Connection Setting.

String settingId()

Get the settingId property: Setting Id set by the service for the Connection Setting.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ConnectionSettingProperties withClientId(String clientId)

Set the clientId property: Client Id associated with the Connection Setting.

ConnectionSettingProperties withClientSecret(String clientSecret)

Set the clientSecret property: Client Secret associated with the Connection Setting.

ConnectionSettingProperties withId(String id)

Set the id property: Id of the Connection Setting.

ConnectionSettingProperties withName(String name)

Set the name property: Name of the Connection Setting.

ConnectionSettingProperties withParameters(List<ConnectionSettingParameter> parameters)

Set the parameters property: Service Provider Parameters associated with the Connection Setting.

ConnectionSettingProperties withProvisioningState(String provisioningState)

Set the provisioningState property: Provisioning state of the resource.

ConnectionSettingProperties withScopes(String scopes)

Set the scopes property: Scopes associated with the Connection Setting.

ConnectionSettingProperties withServiceProviderDisplayName(String serviceProviderDisplayName)

Set the serviceProviderDisplayName property: Service Provider Display Name associated with the Connection Setting.

ConnectionSettingProperties withServiceProviderId(String serviceProviderId)

Set the serviceProviderId property: Service Provider Id associated with the Connection Setting.

Methods inherited from java.lang.Object

Constructor Details

ConnectionSettingProperties

public ConnectionSettingProperties()

Creates an instance of ConnectionSettingProperties class.

Method Details

clientId

public String clientId()

Get the clientId property: Client Id associated with the Connection Setting.

Returns:

the clientId value.

clientSecret

public String clientSecret()

Get the clientSecret property: Client Secret associated with the Connection Setting.

Returns:

the clientSecret value.

fromJson

public static ConnectionSettingProperties fromJson(JsonReader jsonReader)

Reads an instance of ConnectionSettingProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ConnectionSettingProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the ConnectionSettingProperties.

id

public String id()

Get the id property: Id of the Connection Setting.

Returns:

the id value.

name

public String name()

Get the name property: Name of the Connection Setting.

Returns:

the name value.

parameters

public List<ConnectionSettingParameter> parameters()

Get the parameters property: Service Provider Parameters associated with the Connection Setting.

Returns:

the parameters value.

provisioningState

public String provisioningState()

Get the provisioningState property: Provisioning state of the resource.

Returns:

the provisioningState value.

scopes

public String scopes()

Get the scopes property: Scopes associated with the Connection Setting.

Returns:

the scopes value.

serviceProviderDisplayName

public String serviceProviderDisplayName()

Get the serviceProviderDisplayName property: Service Provider Display Name associated with the Connection Setting.

Returns:

the serviceProviderDisplayName value.

serviceProviderId

public String serviceProviderId()

Get the serviceProviderId property: Service Provider Id associated with the Connection Setting.

Returns:

the serviceProviderId value.

settingId

public String settingId()

Get the settingId property: Setting Id set by the service for the Connection Setting.

Returns:

the settingId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withClientId

public ConnectionSettingProperties withClientId(String clientId)

Set the clientId property: Client Id associated with the Connection Setting.

Parameters:

clientId - the clientId value to set.

Returns:

the ConnectionSettingProperties object itself.

withClientSecret

public ConnectionSettingProperties withClientSecret(String clientSecret)

Set the clientSecret property: Client Secret associated with the Connection Setting.

Parameters:

clientSecret - the clientSecret value to set.

Returns:

the ConnectionSettingProperties object itself.

withId

public ConnectionSettingProperties withId(String id)

Set the id property: Id of the Connection Setting.

Parameters:

id - the id value to set.

Returns:

the ConnectionSettingProperties object itself.

withName

public ConnectionSettingProperties withName(String name)

Set the name property: Name of the Connection Setting.

Parameters:

name - the name value to set.

Returns:

the ConnectionSettingProperties object itself.

withParameters

public ConnectionSettingProperties withParameters(List<ConnectionSettingParameter> parameters)

Set the parameters property: Service Provider Parameters associated with the Connection Setting.

Parameters:

parameters - the parameters value to set.

Returns:

the ConnectionSettingProperties object itself.

withProvisioningState

public ConnectionSettingProperties withProvisioningState(String provisioningState)

Set the provisioningState property: Provisioning state of the resource.

Parameters:

provisioningState - the provisioningState value to set.

Returns:

the ConnectionSettingProperties object itself.

withScopes

public ConnectionSettingProperties withScopes(String scopes)

Set the scopes property: Scopes associated with the Connection Setting.

Parameters:

scopes - the scopes value to set.

Returns:

the ConnectionSettingProperties object itself.

withServiceProviderDisplayName

public ConnectionSettingProperties withServiceProviderDisplayName(String serviceProviderDisplayName)

Set the serviceProviderDisplayName property: Service Provider Display Name associated with the Connection Setting.

Parameters:

serviceProviderDisplayName - the serviceProviderDisplayName value to set.

Returns:

the ConnectionSettingProperties object itself.

withServiceProviderId

public ConnectionSettingProperties withServiceProviderId(String serviceProviderId)

Set the serviceProviderId property: Service Provider Id associated with the Connection Setting.

Parameters:

serviceProviderId - the serviceProviderId value to set.

Returns:

the ConnectionSettingProperties object itself.

Applies to