Class Windows81SCEPCertificateProfile

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

    public class Windows81SCEPCertificateProfile
    extends Windows81CertificateProfileBase
    implements com.github.davidmoten.odata.client.ODataEntityType
    “Windows 8.1+ SCEP certificate profile”
    • Field Detail

      • keySize

        protected KeySize keySize
      • scepServerUrls

        protected List<String> scepServerUrls
      • scepServerUrlsNextLink

        protected String scepServerUrlsNextLink
      • subjectAlternativeNameFormatString

        protected String subjectAlternativeNameFormatString
      • subjectNameFormatString

        protected String subjectNameFormatString
    • Constructor Detail

      • Windows81SCEPCertificateProfile

        protected Windows81SCEPCertificateProfile()
    • Method Detail

      • builderWindows81SCEPCertificateProfile

        public static Windows81SCEPCertificateProfile.Builder builderWindows81SCEPCertificateProfile()
        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 Windows81CertificateProfileBase
      • postInject

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

        public Optional<CertificateStore> getCertificateStore()
        “Target store certificate”
        Returns:
        property certificateStore
      • withCertificateStore

        public Windows81SCEPCertificateProfile withCertificateStore​(CertificateStore certificateStore)
        Returns an immutable copy of this with just the certificateStore 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.

        “Target store certificate”

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

        public Optional<HashAlgorithms> getHashAlgorithm()
        “SCEP Hash Algorithm.”
        Returns:
        property hashAlgorithm
      • withHashAlgorithm

        public Windows81SCEPCertificateProfile withHashAlgorithm​(HashAlgorithms hashAlgorithm)
        Returns an immutable copy of this with just the hashAlgorithm 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.

        “SCEP Hash Algorithm.”

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

        public Optional<KeySize> getKeySize()
        “SCEP Key Size.”
        Returns:
        property keySize
      • withKeySize

        public Windows81SCEPCertificateProfile withKeySize​(KeySize keySize)
        Returns an immutable copy of this with just the keySize 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.

        “SCEP Key Size.”

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

        public Optional<KeyUsages> getKeyUsage()
        “SCEP Key Usage.”
        Returns:
        property keyUsage
      • withKeyUsage

        public Windows81SCEPCertificateProfile withKeyUsage​(KeyUsages keyUsage)
        Returns an immutable copy of this with just the keyUsage 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.

        “SCEP Key Usage.”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getScepServerUrls()
        “SCEP Server Url(s).”
        Returns:
        property scepServerUrls
      • withScepServerUrls

        public Windows81SCEPCertificateProfile withScepServerUrls​(List<String> scepServerUrls)
        Returns an immutable copy of this with just the scepServerUrls 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.

        “SCEP Server Url(s).”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getScepServerUrls​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “SCEP Server Url(s).”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property scepServerUrls
      • getSubjectAlternativeNameFormatString

        public Optional<String> getSubjectAlternativeNameFormatString()
        “Custom String that defines the AAD Attribute.”
        Returns:
        property subjectAlternativeNameFormatString
      • withSubjectAlternativeNameFormatString

        public Windows81SCEPCertificateProfile withSubjectAlternativeNameFormatString​(String subjectAlternativeNameFormatString)
        Returns an immutable copy of this with just the subjectAlternativeNameFormatString 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.

        “Custom String that defines the AAD Attribute.”

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

        public Optional<String> getSubjectNameFormatString()
        “Custom format to use with SubjectNameFormat = Custom. Example: CN={{EmailAddress }},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA, C=US”
        Returns:
        property subjectNameFormatString
      • withSubjectNameFormatString

        public Windows81SCEPCertificateProfile withSubjectNameFormatString​(String subjectNameFormatString)
        Returns an immutable copy of this with just the subjectNameFormatString 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.

        “Custom format to use with SubjectNameFormat = Custom. Example: CN={{EmailAddress }},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA, C=US”

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

        public ManagedDeviceCertificateStateCollectionRequest getManagedDeviceCertificateStates()
        “Certificate state for devices. This collection can contain a maximum of 2147483647 elements.”
        Returns:
        navigational property managedDeviceCertificateStates
      • getUnmappedFields

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

        public Windows81SCEPCertificateProfile patch()
        Submits only changed fields for update and returns an immutable copy of this with changed fields reset.
        Overrides:
        patch in class Windows81CertificateProfileBase
        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 Windows81SCEPCertificateProfile 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 Windows81CertificateProfileBase
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected