Class ConnectionSettingProperties
java.lang.Object
com.azure.resourcemanager.botservice.models.ConnectionSettingProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ConnectionSettingProperties>
public final class ConnectionSettingProperties
extends Object
implements com.azure.json.JsonSerializable<ConnectionSettingProperties>
Properties for a Connection Setting Item.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ConnectionSettingProperties class. -
Method Summary
Modifier and TypeMethodDescriptionclientId()Get the clientId property: Client Id associated with the Connection Setting.Get the clientSecret property: Client Secret associated with the Connection Setting.static ConnectionSettingPropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ConnectionSettingProperties from the JsonReader.Get the parameters property: Service Provider Parameters associated with the Connection Setting.Get the provisioningState property: Provisioning state of the resource.scopes()Get the scopes property: Scopes associated with the Connection Setting.Get the serviceProviderDisplayName property: Service Provider Display Name associated with the Connection Setting.Get the serviceProviderId property: Service Provider Id associated with the Connection Setting.Get the settingId property: Setting Id set by the service for the Connection Setting.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withClientId(String clientId) Set the clientId property: Client Id associated with the Connection Setting.withClientSecret(String clientSecret) Set the clientSecret property: Client Secret associated with the Connection Setting.withParameters(List<ConnectionSettingParameter> parameters) Set the parameters property: Service Provider Parameters associated with the Connection Setting.withProvisioningState(String provisioningState) Set the provisioningState property: Provisioning state of the resource.withScopes(String scopes) Set the scopes property: Scopes associated with the Connection Setting.withServiceProviderDisplayName(String serviceProviderDisplayName) Set the serviceProviderDisplayName property: Service Provider Display Name associated with the Connection Setting.withServiceProviderId(String serviceProviderId) Set the serviceProviderId property: Service Provider Id associated with the Connection Setting.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ConnectionSettingProperties
public ConnectionSettingProperties()Creates an instance of ConnectionSettingProperties class.
-
-
Method Details
-
clientId
Get the clientId property: Client Id associated with the Connection Setting.- Returns:
- the clientId value.
-
withClientId
Set the clientId property: Client Id associated with the Connection Setting.- Parameters:
clientId- the clientId value to set.- Returns:
- the ConnectionSettingProperties object itself.
-
settingId
Get the settingId property: Setting Id set by the service for the Connection Setting.- Returns:
- the settingId value.
-
clientSecret
Get the clientSecret property: Client Secret associated with the Connection Setting.- Returns:
- the clientSecret value.
-
withClientSecret
Set the clientSecret property: Client Secret associated with the Connection Setting.- Parameters:
clientSecret- the clientSecret value to set.- Returns:
- the ConnectionSettingProperties object itself.
-
scopes
Get the scopes property: Scopes associated with the Connection Setting.- Returns:
- the scopes value.
-
withScopes
Set the scopes property: Scopes associated with the Connection Setting.- Parameters:
scopes- the scopes value to set.- Returns:
- the ConnectionSettingProperties object itself.
-
serviceProviderId
Get the serviceProviderId property: Service Provider Id associated with the Connection Setting.- Returns:
- the serviceProviderId value.
-
withServiceProviderId
Set the serviceProviderId property: Service Provider Id associated with the Connection Setting.- Parameters:
serviceProviderId- the serviceProviderId value to set.- Returns:
- the ConnectionSettingProperties object itself.
-
serviceProviderDisplayName
Get the serviceProviderDisplayName property: Service Provider Display Name associated with the Connection Setting.- Returns:
- the serviceProviderDisplayName value.
-
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.
-
parameters
Get the parameters property: Service Provider Parameters associated with the Connection Setting.- Returns:
- the parameters value.
-
withParameters
Set the parameters property: Service Provider Parameters associated with the Connection Setting.- Parameters:
parameters- the parameters value to set.- Returns:
- the ConnectionSettingProperties object itself.
-
provisioningState
Get the provisioningState property: Provisioning state of the resource.- Returns:
- the provisioningState value.
-
withProvisioningState
Set the provisioningState property: Provisioning state of the resource.- Parameters:
provisioningState- the provisioningState value to set.- Returns:
- the ConnectionSettingProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ConnectionSettingProperties>- Throws:
IOException
-
fromJson
public static ConnectionSettingProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException 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.
-