Class DscNodeProperties

java.lang.Object
com.azure.resourcemanager.automation.fluent.models.DscNodeProperties

public final class DscNodeProperties extends Object
The properties of a DscNode.
  • Constructor Details

    • DscNodeProperties

      public DscNodeProperties()
  • 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 DscNodeProperties 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 DscNodeProperties 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 DscNodeProperties 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 DscNodeProperties object itself.
    • ip

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

      public DscNodeProperties withIp(String ip)
      Set the ip property: Gets or sets the ip of the node.
      Parameters:
      ip - the ip value to set.
      Returns:
      the DscNodeProperties 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 DscNodeProperties 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 DscNodeProperties object itself.
    • status

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

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

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

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

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

      public DscNodeProperties withEtag(String etag)
      Set the etag property: Gets or sets the etag of the resource.
      Parameters:
      etag - the etag value to set.
      Returns:
      the DscNodeProperties 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 DscNodeProperties 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 DscNodeProperties object itself.
    • extensionHandler

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

      public DscNodeProperties 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 DscNodeProperties object itself.
    • name

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

      public DscNodeProperties withName(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 DscNodeProperties object itself.
    • validate

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