TaskHubInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. durabletask. fluent. models. TaskHubInner
- com.
- com.
public final class TaskHubInner
extends ProxyResource
A Task Hub resource belonging to the scheduler.
Constructor Summary
| Constructor | Description |
|---|---|
| TaskHubInner() |
Creates an instance of Task |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Task |
fromJson(JsonReader jsonReader)
Reads an instance of Task |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
|
Task |
properties()
Get the properties property: The resource-specific properties for this resource. |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
|
Task |
withProperties(TaskHubProperties properties)
Set the properties property: The resource-specific properties for this resource. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
TaskHubInner
public TaskHubInner()
Creates an instance of TaskHubInner class.
Method Details
fromJson
public static TaskHubInner fromJson(JsonReader jsonReader)
Reads an instance of TaskHubInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
TaskHubInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
TaskHubInner.name()Returns:
properties
public TaskHubProperties properties()
Get the properties property: The resource-specific properties for this resource.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
TaskHubInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
TaskHubInner.type()Returns:
withProperties
public TaskHubInner withProperties(TaskHubProperties properties)
Set the properties property: The resource-specific properties for this resource.
Parameters:
Returns: