ConnectionSettingInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. botservice. fluent. models. ConnectionSettingInner
- com.
- com.
- com.
public final class ConnectionSettingInner
extends Resource
Bot channel resource definition.
Constructor Summary
| Constructor | Description |
|---|---|
| ConnectionSettingInner() |
Creates an instance of Connection |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
etag()
Get the etag property: Entity Tag. |
|
static
Connection |
fromJson(JsonReader jsonReader)
Reads an instance of Connection |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| Kind |
kind()
Get the kind property: Required. |
| String |
name()
Get the name property: The name of the resource. |
|
Connection |
properties()
Get the properties property: The set of properties specific to bot channel resource. |
| Sku |
sku()
Get the sku property: Gets or sets the SKU of the resource. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Connection |
withEtag(String etag)
Set the etag property: Entity Tag. |
|
Connection |
withKind(Kind kind)
Set the kind property: Required. |
|
Connection |
withLocation(String location) |
|
Connection |
withProperties(ConnectionSettingProperties properties)
Set the properties property: The set of properties specific to bot channel resource. |
|
Connection |
withSku(Sku sku)
Set the sku property: Gets or sets the SKU of the resource. |
|
Connection |
withTags(Map<String,String> tags) |
| List<String> |
zones()
Get the zones property: Entity zones. |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
ConnectionSettingInner
public ConnectionSettingInner()
Creates an instance of ConnectionSettingInner class.
Method Details
etag
public String etag()
Get the etag property: Entity Tag.
Returns:
fromJson
public static ConnectionSettingInner fromJson(JsonReader jsonReader)
Reads an instance of ConnectionSettingInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ConnectionSettingInner.id()Returns:
kind
public Kind kind()
Get the kind property: Required. Gets or sets the Kind of the resource.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ConnectionSettingInner.name()Returns:
properties
public ConnectionSettingProperties properties()
Get the properties property: The set of properties specific to bot channel resource.
Returns:
sku
public Sku sku()
Get the sku property: Gets or sets the SKU of the resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ConnectionSettingInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ConnectionSettingInner.type()Returns:
validate
public void validate()
Validates the instance.
withEtag
public ConnectionSettingInner withEtag(String etag)
Set the etag property: Entity Tag.
Parameters:
Returns:
withKind
public ConnectionSettingInner withKind(Kind kind)
Set the kind property: Required. Gets or sets the Kind of the resource.
Parameters:
Returns:
withLocation
public ConnectionSettingInner withLocation(String location)
Overrides:
ConnectionSettingInner.withLocation(String location)Parameters:
withProperties
public ConnectionSettingInner withProperties(ConnectionSettingProperties properties)
Set the properties property: The set of properties specific to bot channel resource.
Parameters:
Returns:
withSku
public ConnectionSettingInner withSku(Sku sku)
Set the sku property: Gets or sets the SKU of the resource.
Parameters:
Returns:
withTags
public ConnectionSettingInner withTags(Map<String,String> tags)
Overrides:
ConnectionSettingInner.withTags(Map<String,String> tags)Parameters:
zones
public List<String> zones()
Get the zones property: Entity zones.
Returns: