Class ProjectTaskInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.datamigration.fluent.models.ProjectTaskInner
public final class ProjectTaskInner
extends com.azure.core.management.ProxyResource
A task resource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionetag()
Get the etag property: HTTP strong entity tag value.Get the properties property: Custom task properties.void
validate()
Validates the instance.Set the etag property: HTTP strong entity tag value.withProperties
(ProjectTaskProperties properties) Set the properties property: Custom task properties.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
ProjectTaskInner
public ProjectTaskInner()Creates an instance of ProjectTaskInner class.
-
-
Method Details
-
etag
Get the etag property: HTTP strong entity tag value. This is ignored if submitted.- Returns:
- the etag value.
-
withEtag
Set the etag property: HTTP strong entity tag value. This is ignored if submitted.- Parameters:
etag
- the etag value to set.- Returns:
- the ProjectTaskInner object itself.
-
properties
Get the properties property: Custom task properties.- Returns:
- the properties value.
-
withProperties
Set the properties property: Custom task properties.- Parameters:
properties
- the properties value to set.- Returns:
- the ProjectTaskInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-