Class ConnectionSettingProperties
- java.lang.Object
-
- com.azure.resourcemanager.botservice.models.ConnectionSettingProperties
-
public final class ConnectionSettingProperties extends Object
Properties for a Connection Setting Item.
-
-
Constructor Summary
Constructors Constructor Description ConnectionSettingProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.String
id()
Get the id property: Id associated with the Connection Setting.String
name()
Get the name property: Name associated with 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.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 associated with the Connection Setting.ConnectionSettingProperties
withName(String name)
Set the name property: Name associated with 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.
-
-
-
Method Detail
-
id
public String id()
Get the id property: Id associated with the Connection Setting.- Returns:
- the id value.
-
withId
public ConnectionSettingProperties withId(String id)
Set the id property: Id associated with the Connection Setting.- Parameters:
id
- the id value to set.- Returns:
- the ConnectionSettingProperties object itself.
-
name
public String name()
Get the name property: Name associated with the Connection Setting.- Returns:
- the name value.
-
withName
public ConnectionSettingProperties withName(String name)
Set the name property: Name associated with the Connection Setting.- Parameters:
name
- the name value to set.- Returns:
- the ConnectionSettingProperties object itself.
-
clientId
public String clientId()
Get the clientId property: Client Id associated with the Connection Setting.- Returns:
- the clientId value.
-
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.
-
settingId
public String settingId()
Get the settingId property: Setting Id set by the service for the Connection Setting.- Returns:
- the settingId value.
-
clientSecret
public String clientSecret()
Get the clientSecret property: Client Secret associated with the Connection Setting.- Returns:
- the clientSecret value.
-
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.
-
scopes
public String scopes()
Get the scopes property: Scopes associated with the Connection Setting.- Returns:
- the scopes value.
-
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.
-
serviceProviderId
public String serviceProviderId()
Get the serviceProviderId property: Service Provider Id associated with the Connection Setting.- Returns:
- the serviceProviderId value.
-
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.
-
serviceProviderDisplayName
public String 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
public List<ConnectionSettingParameter> parameters()
Get the parameters property: Service Provider Parameters associated with the Connection Setting.- Returns:
- the parameters value.
-
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.
-
provisioningState
public String provisioningState()
Get the provisioningState property: Provisioning state of the resource.- Returns:
- the provisioningState value.
-
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.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-