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 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.
    • 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.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.