ConnectionSettingProperties Class
- java.
lang. Object - com.
azure. resourcemanager. botservice. models. ConnectionSettingProperties
- com.
Implements
public final class ConnectionSettingProperties
implements JsonSerializable<ConnectionSettingProperties>
Properties for a Connection Setting Item.
Constructor Summary
| Constructor | Description |
|---|---|
| ConnectionSettingProperties() |
Creates an instance of Connection |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
clientId()
Get the client |
| String |
clientSecret()
Get the client |
|
static
Connection |
fromJson(JsonReader jsonReader)
Reads an instance of Connection |
| String |
id()
Get the id property: Id of the Connection Setting. |
| String |
name()
Get the name property: Name of the Connection Setting. |
|
List<Connection |
parameters()
Get the parameters property: Service Provider Parameters associated with the Connection Setting. |
| String |
provisioningState()
Get the provisioning |
| String |
scopes()
Get the scopes property: Scopes associated with the Connection Setting. |
| String |
serviceProviderDisplayName()
Get the service |
| String |
serviceProviderId()
Get the service |
| String |
settingId()
Get the setting |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Connection |
withClientId(String clientId)
Set the client |
|
Connection |
withClientSecret(String clientSecret)
Set the client |
|
Connection |
withId(String id)
Set the id property: Id of the Connection Setting. |
|
Connection |
withName(String name)
Set the name property: Name of the Connection Setting. |
|
Connection |
withParameters(List<ConnectionSettingParameter> parameters)
Set the parameters property: Service Provider Parameters associated with the Connection Setting. |
|
Connection |
withProvisioningState(String provisioningState)
Set the provisioning |
|
Connection |
withScopes(String scopes)
Set the scopes property: Scopes associated with the Connection Setting. |
|
Connection |
withServiceProviderDisplayName(String serviceProviderDisplayName)
Set the service |
|
Connection |
withServiceProviderId(String serviceProviderId)
Set the service |
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:
clientSecret
public String clientSecret()
Get the clientSecret property: Client Secret associated with the Connection Setting.
Returns:
fromJson
public static ConnectionSettingProperties fromJson(JsonReader jsonReader)
Reads an instance of ConnectionSettingProperties from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Id of the Connection Setting.
Returns:
name
public String name()
Get the name property: Name of the Connection Setting.
Returns:
parameters
public List<ConnectionSettingParameter> parameters()
Get the parameters property: Service Provider Parameters associated with the Connection Setting.
Returns:
provisioningState
public String provisioningState()
Get the provisioningState property: Provisioning state of the resource.
Returns:
scopes
public String scopes()
Get the scopes property: Scopes associated with the Connection Setting.
Returns:
serviceProviderDisplayName
public String serviceProviderDisplayName()
Get the serviceProviderDisplayName property: Service Provider Display Name associated with the Connection Setting.
Returns:
serviceProviderId
public String serviceProviderId()
Get the serviceProviderId property: Service Provider Id associated with the Connection Setting.
Returns:
settingId
public String settingId()
Get the settingId property: Setting Id set by the service for the Connection Setting.
Returns:
toJson
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:
Returns:
withClientSecret
public ConnectionSettingProperties withClientSecret(String clientSecret)
Set the clientSecret property: Client Secret associated with the Connection Setting.
Parameters:
Returns:
withId
public ConnectionSettingProperties withId(String id)
Set the id property: Id of the Connection Setting.
Parameters:
Returns:
withName
public ConnectionSettingProperties withName(String name)
Set the name property: Name of the Connection Setting.
Parameters:
Returns:
withParameters
public ConnectionSettingProperties withParameters(List<ConnectionSettingParameter> parameters)
Set the parameters property: Service Provider Parameters associated with the Connection Setting.
Parameters:
Returns:
withProvisioningState
public ConnectionSettingProperties withProvisioningState(String provisioningState)
Set the provisioningState property: Provisioning state of the resource.
Parameters:
Returns:
withScopes
public ConnectionSettingProperties withScopes(String scopes)
Set the scopes property: Scopes associated with the Connection Setting.
Parameters:
Returns:
withServiceProviderDisplayName
public ConnectionSettingProperties withServiceProviderDisplayName(String serviceProviderDisplayName)
Set the serviceProviderDisplayName property: Service Provider Display Name associated with the Connection Setting.
Parameters:
Returns:
withServiceProviderId
public ConnectionSettingProperties withServiceProviderId(String serviceProviderId)
Set the serviceProviderId property: Service Provider Id associated with the Connection Setting.
Parameters:
Returns: