ConnectionSettingParameter Class
- java.
lang. Object - com.
azure. resourcemanager. botservice. models. ConnectionSettingParameter
- com.
Implements
public final class ConnectionSettingParameter
implements JsonSerializable<ConnectionSettingParameter>
Extra Parameter in a Connection Setting Properties to indicate service provider specific properties.
Constructor Summary
| Constructor | Description |
|---|---|
| ConnectionSettingParameter() |
Creates an instance of Connection |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Connection |
fromJson(JsonReader jsonReader)
Reads an instance of Connection |
| String |
key()
Get the key property: Key for the Connection Setting Parameter. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| String |
value()
Get the value property: Value associated with the Connection Setting Parameter. |
|
Connection |
withKey(String key)
Set the key property: Key for the Connection Setting Parameter. |
|
Connection |
withValue(String value)
Set the value property: Value associated with the Connection Setting Parameter. |
Methods inherited from java.lang.Object
Constructor Details
ConnectionSettingParameter
public ConnectionSettingParameter()
Creates an instance of ConnectionSettingParameter class.
Method Details
fromJson
public static ConnectionSettingParameter fromJson(JsonReader jsonReader)
Reads an instance of ConnectionSettingParameter from the JsonReader.
Parameters:
Returns:
Throws:
key
public String key()
Get the key property: Key for the Connection Setting Parameter.
Returns:
toJson
validate
public void validate()
Validates the instance.
value
public String value()
Get the value property: Value associated with the Connection Setting Parameter.
Returns:
withKey
public ConnectionSettingParameter withKey(String key)
Set the key property: Key for the Connection Setting Parameter.
Parameters:
Returns:
withValue
public ConnectionSettingParameter withValue(String value)
Set the value property: Value associated with the Connection Setting Parameter.
Parameters:
Returns: