Class CertificateConnectorDetails

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataEntityType, com.github.davidmoten.odata.client.ODataType

    public class CertificateConnectorDetails
    extends Entity
    implements com.github.davidmoten.odata.client.ODataEntityType
    “Entity used to retrieve information about Intune Certificate Connectors.”
    • Field Detail

      • connectorName

        protected String connectorName
      • machineName

        protected String machineName
    • Constructor Detail

      • CertificateConnectorDetails

        protected CertificateConnectorDetails()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class Entity
      • builderCertificateConnectorDetails

        public static CertificateConnectorDetails.Builder builderCertificateConnectorDetails()
        Returns a builder which is used to create a new instance of this class (given that this class is immutable).
        Returns:
        a new Builder for this class
      • getChangedFields

        public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
        Specified by:
        getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityType
        Overrides:
        getChangedFields in class Entity
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        postInject in class Entity
      • getConnectorName

        public Optional<String> getConnectorName()
        “Connector name (set during enrollment).”
        Returns:
        property connectorName
      • withConnectorName

        public CertificateConnectorDetails withConnectorName​(String connectorName)
        Returns an immutable copy of this with just the connectorName field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. patch() is called (if available)on the returned object only the changed fields are submitted.

        “Connector name (set during enrollment).”

        Parameters:
        connectorName - new value of connectorName field (as defined in service metadata)
        Returns:
        immutable copy of this with just the connectorName field changed
      • getEnrollmentDateTime

        public Optional<OffsetDateTime> getEnrollmentDateTime()
        “Date/time when this connector was enrolled.”
        Returns:
        property enrollmentDateTime
      • withEnrollmentDateTime

        public CertificateConnectorDetails withEnrollmentDateTime​(OffsetDateTime enrollmentDateTime)
        Returns an immutable copy of this with just the enrollmentDateTime field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Date/time when this connector was enrolled.”

        Parameters:
        enrollmentDateTime - new value of enrollmentDateTime field (as defined in service metadata)
        Returns:
        immutable copy of this with just the enrollmentDateTime field changed
      • getLastCheckinDateTime

        public Optional<OffsetDateTime> getLastCheckinDateTime()
        “Date/time when this connector last connected to the service.”
        Returns:
        property lastCheckinDateTime
      • withLastCheckinDateTime

        public CertificateConnectorDetails withLastCheckinDateTime​(OffsetDateTime lastCheckinDateTime)
        Returns an immutable copy of this with just the lastCheckinDateTime field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Date/time when this connector last connected to the service.”

        Parameters:
        lastCheckinDateTime - new value of lastCheckinDateTime field (as defined in service metadata)
        Returns:
        immutable copy of this with just the lastCheckinDateTime field changed
      • getMachineName

        public Optional<String> getMachineName()
        “Name of the machine hosting this connector service.”
        Returns:
        property machineName
      • withMachineName

        public CertificateConnectorDetails withMachineName​(String machineName)
        Returns an immutable copy of this with just the machineName field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. patch() is called (if available)on the returned object only the changed fields are submitted.

        “Name of the machine hosting this connector service.”

        Parameters:
        machineName - new value of machineName field (as defined in service metadata)
        Returns:
        immutable copy of this with just the machineName field changed
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        getUnmappedFields in class Entity
      • patch

        public CertificateConnectorDetails patch()
        Submits only changed fields for update and returns an immutable copy of this with changed fields reset.
        Overrides:
        patch in class Entity
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected
      • put

        public CertificateConnectorDetails put()
        Submits all fields for update and returns an immutable copy of this with changed fields reset (they were ignored anyway).
        Overrides:
        put in class Entity
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected
      • getHealthMetrics

        public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<KeyLongValuePair> getHealthMetrics​(List<String> metricNames)