ConnectionSettingInner Class

public final class ConnectionSettingInner
extends Resource

Bot channel resource definition.

Constructor Summary

Constructor Description
ConnectionSettingInner()

Creates an instance of ConnectionSettingInner class.

Method Summary

Modifier and Type Method and Description
String etag()

Get the etag property: Entity Tag.

static ConnectionSettingInner fromJson(JsonReader jsonReader)

Reads an instance of ConnectionSettingInner from the JsonReader.

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.

ConnectionSettingProperties 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.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

ConnectionSettingInner withEtag(String etag)

Set the etag property: Entity Tag.

ConnectionSettingInner withKind(Kind kind)

Set the kind property: Required.

ConnectionSettingInner withLocation(String location)
ConnectionSettingInner withProperties(ConnectionSettingProperties properties)

Set the properties property: The set of properties specific to bot channel resource.

ConnectionSettingInner withSku(Sku sku)

Set the sku property: Gets or sets the SKU of the resource.

ConnectionSettingInner 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:

the etag value.

fromJson

public static ConnectionSettingInner fromJson(JsonReader jsonReader)

Reads an instance of ConnectionSettingInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ConnectionSettingInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

ConnectionSettingInner.id()

Returns:

the id value.

kind

public Kind kind()

Get the kind property: Required. Gets or sets the Kind of the resource.

Returns:

the kind value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ConnectionSettingInner.name()

Returns:

the name value.

properties

public ConnectionSettingProperties properties()

Get the properties property: The set of properties specific to bot channel resource.

Returns:

the properties value.

sku

public Sku sku()

Get the sku property: Gets or sets the SKU of the resource.

Returns:

the sku value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ConnectionSettingInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ConnectionSettingInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withEtag

public ConnectionSettingInner withEtag(String etag)

Set the etag property: Entity Tag.

Parameters:

etag - the etag value to set.

Returns:

the ConnectionSettingInner object itself.

withKind

public ConnectionSettingInner withKind(Kind kind)

Set the kind property: Required. Gets or sets the Kind of the resource.

Parameters:

kind - the kind value to set.

Returns:

the ConnectionSettingInner object itself.

withLocation

public ConnectionSettingInner withLocation(String location)

Overrides:

ConnectionSettingInner.withLocation(String location)

Parameters:

location

withProperties

public ConnectionSettingInner withProperties(ConnectionSettingProperties properties)

Set the properties property: The set of properties specific to bot channel resource.

Parameters:

properties - the properties value to set.

Returns:

the ConnectionSettingInner object itself.

withSku

public ConnectionSettingInner withSku(Sku sku)

Set the sku property: Gets or sets the SKU of the resource.

Parameters:

sku - the sku value to set.

Returns:

the ConnectionSettingInner object itself.

withTags

public ConnectionSettingInner withTags(Map<String,String> tags)

Overrides:

ConnectionSettingInner.withTags(Map<String,String> tags)

Parameters:

tags

zones

public List<String> zones()

Get the zones property: Entity zones.

Returns:

the zones value.

Applies to