ProjectTaskInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. datamigration. fluent. models. ProjectTaskInner
- com.
- com.
public final class ProjectTaskInner
extends ProxyResource
A task resource.
Constructor Summary
| Constructor | Description |
|---|---|
| ProjectTaskInner() |
Creates an instance of Project |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
etag()
Get the etag property: HTTP strong entity tag value. |
|
static
Project |
fromJson(JsonReader jsonReader)
Reads an instance of Project |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
|
Project |
properties()
Get the properties property: Custom task properties. |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Project |
withEtag(String etag)
Set the etag property: HTTP strong entity tag value. |
|
Project |
withProperties(ProjectTaskProperties properties)
Set the properties property: Custom task properties. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
ProjectTaskInner
public ProjectTaskInner()
Creates an instance of ProjectTaskInner class.
Method Details
etag
public String etag()
Get the etag property: HTTP strong entity tag value. This is ignored if submitted.
Returns:
fromJson
public static ProjectTaskInner fromJson(JsonReader jsonReader)
Reads an instance of ProjectTaskInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ProjectTaskInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ProjectTaskInner.name()Returns:
properties
public ProjectTaskProperties properties()
Get the properties property: Custom task properties.
Returns:
systemData
public SystemDataAutoGenerated systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ProjectTaskInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ProjectTaskInner.type()Returns:
validate
public void validate()
Validates the instance.
withEtag
public ProjectTaskInner withEtag(String etag)
Set the etag property: HTTP strong entity tag value. This is ignored if submitted.
Parameters:
Returns:
withProperties
public ProjectTaskInner withProperties(ProjectTaskProperties properties)
Set the properties property: Custom task properties.
Parameters:
Returns: