Class Windows10XTrustedRootCertificate

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

    public class Windows10XTrustedRootCertificate
    extends DeviceManagementResourceAccessProfileBase
    implements com.github.davidmoten.odata.client.ODataEntityType
    “Windows X Trusted Root Certificate configuration profile”
    • Field Detail

      • certFileName

        protected String certFileName
      • trustedRootCertificate

        protected byte[] trustedRootCertificate
    • Constructor Detail

      • Windows10XTrustedRootCertificate

        protected Windows10XTrustedRootCertificate()
    • Method Detail

      • builderWindows10XTrustedRootCertificate

        public static Windows10XTrustedRootCertificate.Builder builderWindows10XTrustedRootCertificate()
        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
      • getCertFileName

        public Optional<String> getCertFileName()
        “File name to display in UI.”
        Returns:
        property certFileName
      • withCertFileName

        public Windows10XTrustedRootCertificate withCertFileName​(String certFileName)
        Returns an immutable copy of this with just the certFileName 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.

        “File name to display in UI.”

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

        public Optional<CertificateDestinationStore> getDestinationStore()
        “Destination store location for the Trusted Root Certificate.”
        Returns:
        property destinationStore
      • withDestinationStore

        public Windows10XTrustedRootCertificate withDestinationStore​(CertificateDestinationStore destinationStore)
        Returns an immutable copy of this with just the destinationStore 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.

        “Destination store location for the Trusted Root Certificate.”

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

        public Optional<byte[]> getTrustedRootCertificate()
        “Trusted Root Certificate”
        Returns:
        property trustedRootCertificate
      • withTrustedRootCertificate

        public Windows10XTrustedRootCertificate withTrustedRootCertificate​(byte[] trustedRootCertificate)
        Returns an immutable copy of this with just the trustedRootCertificate 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.

        “Trusted Root Certificate”

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

        public Windows10XTrustedRootCertificate 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 DeviceManagementResourceAccessProfileBase
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected