java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.automation.fluent.models.DscNodeInner

public final class DscNodeInner extends com.azure.core.management.ProxyResource
Definition of a DscNode.
  • Constructor Details

    • DscNodeInner

      public DscNodeInner()
  • Method Details

    • lastSeen

      public OffsetDateTime lastSeen()
      Get the lastSeen property: Gets or sets the last seen time of the node.
      Returns:
      the lastSeen value.
    • withLastSeen

      public DscNodeInner withLastSeen(OffsetDateTime lastSeen)
      Set the lastSeen property: Gets or sets the last seen time of the node.
      Parameters:
      lastSeen - the lastSeen value to set.
      Returns:
      the DscNodeInner object itself.
    • registrationTime

      public OffsetDateTime registrationTime()
      Get the registrationTime property: Gets or sets the registration time of the node.
      Returns:
      the registrationTime value.
    • withRegistrationTime

      public DscNodeInner withRegistrationTime(OffsetDateTime registrationTime)
      Set the registrationTime property: Gets or sets the registration time of the node.
      Parameters:
      registrationTime - the registrationTime value to set.
      Returns:
      the DscNodeInner object itself.
    • ip

      public String ip()
      Get the ip property: Gets or sets the ip of the node.
      Returns:
      the ip value.
    • withIp

      public DscNodeInner withIp(String ip)
      Set the ip property: Gets or sets the ip of the node.
      Parameters:
      ip - the ip value to set.
      Returns:
      the DscNodeInner object itself.
    • accountId

      public String accountId()
      Get the accountId property: Gets or sets the account id of the node.
      Returns:
      the accountId value.
    • withAccountId

      public DscNodeInner withAccountId(String accountId)
      Set the accountId property: Gets or sets the account id of the node.
      Parameters:
      accountId - the accountId value to set.
      Returns:
      the DscNodeInner object itself.
    • status

      public String status()
      Get the status property: Gets or sets the status of the node.
      Returns:
      the status value.
    • withStatus

      public DscNodeInner withStatus(String status)
      Set the status property: Gets or sets the status of the node.
      Parameters:
      status - the status value to set.
      Returns:
      the DscNodeInner object itself.
    • nodeId

      public String nodeId()
      Get the nodeId property: Gets or sets the node id.
      Returns:
      the nodeId value.
    • withNodeId

      public DscNodeInner withNodeId(String nodeId)
      Set the nodeId property: Gets or sets the node id.
      Parameters:
      nodeId - the nodeId value to set.
      Returns:
      the DscNodeInner object itself.
    • etag

      public String etag()
      Get the etag property: Gets or sets the etag of the resource.
      Returns:
      the etag value.
    • withEtag

      public DscNodeInner withEtag(String etag)
      Set the etag property: Gets or sets the etag of the resource.
      Parameters:
      etag - the etag value to set.
      Returns:
      the DscNodeInner object itself.
    • totalCount

      public Integer totalCount()
      Get the totalCount property: Gets the total number of records matching filter criteria.
      Returns:
      the totalCount value.
    • withTotalCount

      public DscNodeInner withTotalCount(Integer totalCount)
      Set the totalCount property: Gets the total number of records matching filter criteria.
      Parameters:
      totalCount - the totalCount value to set.
      Returns:
      the DscNodeInner object itself.
    • extensionHandler

      Get the extensionHandler property: Gets or sets the list of extensionHandler properties for a Node.
      Returns:
      the extensionHandler value.
    • withExtensionHandler

      public DscNodeInner withExtensionHandler(List<DscNodeExtensionHandlerAssociationProperty> extensionHandler)
      Set the extensionHandler property: Gets or sets the list of extensionHandler properties for a Node.
      Parameters:
      extensionHandler - the extensionHandler value to set.
      Returns:
      the DscNodeInner object itself.
    • namePropertiesName

      public String namePropertiesName()
      Get the name property: Gets or sets the name of the dsc node configuration.
      Returns:
      the name value.
    • withNamePropertiesName

      public DscNodeInner withNamePropertiesName(String name)
      Set the name property: Gets or sets the name of the dsc node configuration.
      Parameters:
      name - the name value to set.
      Returns:
      the DscNodeInner object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.