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 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:
      the etag value.
    • withEtag

      public ProjectTaskInner withEtag(String etag)
      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

      public ProjectTaskProperties properties()
      Get the properties property: Custom task properties.
      Returns:
      the properties value.
    • withProperties

      public ProjectTaskInner withProperties(ProjectTaskProperties properties)
      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.