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