Class Windows10XSCEPCertificateProfile

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

    public class Windows10XSCEPCertificateProfile
    extends Windows10XCertificateProfile
    implements com.github.davidmoten.odata.client.ODataEntityType
    “Windows X SCEP Certificate configuration profile”
    • Constructor Detail

      • Windows10XSCEPCertificateProfile

        protected Windows10XSCEPCertificateProfile()
    • Method Detail

      • builderWindows10XSCEPCertificateProfile

        public static Windows10XSCEPCertificateProfile.Builder builderWindows10XSCEPCertificateProfile()
        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 Windows10XCertificateProfile
      • postInject

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

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

        public Windows10XSCEPCertificateProfile 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
      • getCertificateValidityPeriodScale

        public Optional<CertificateValidityPeriodScale> getCertificateValidityPeriodScale()
        “Scale for the Certificate Validity Period”
        Returns:
        property certificateValidityPeriodScale
      • withCertificateValidityPeriodScale

        public Windows10XSCEPCertificateProfile withCertificateValidityPeriodScale​(CertificateValidityPeriodScale certificateValidityPeriodScale)
        Returns an immutable copy of this with just the certificateValidityPeriodScale 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.

        “Scale for the Certificate Validity Period”

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

        public Optional<Integer> getCertificateValidityPeriodValue()
        “Value for the Certificate Validity Period”
        Returns:
        property certificateValidityPeriodValue
      • withCertificateValidityPeriodValue

        public Windows10XSCEPCertificateProfile withCertificateValidityPeriodValue​(Integer certificateValidityPeriodValue)
        Returns an immutable copy of this with just the certificateValidityPeriodValue 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.

        “Value for the Certificate Validity Period”

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

        public com.github.davidmoten.odata.client.CollectionPage<ExtendedKeyUsage> getExtendedKeyUsages()
        “Extended Key Usage (EKU) settings.”
        Returns:
        property extendedKeyUsages
      • withExtendedKeyUsages

        public Windows10XSCEPCertificateProfile withExtendedKeyUsages​(List<ExtendedKeyUsage> extendedKeyUsages)
        Returns an immutable copy of this with just the extendedKeyUsages 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.

        “Extended Key Usage (EKU) settings.”

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

        public com.github.davidmoten.odata.client.CollectionPage<ExtendedKeyUsage> getExtendedKeyUsages​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “Extended Key Usage (EKU) settings.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property extendedKeyUsages
      • getHashAlgorithm

        public com.github.davidmoten.odata.client.CollectionPage<HashAlgorithms> getHashAlgorithm()
        “SCEP Hash Algorithm.”
        Returns:
        property hashAlgorithm
      • withHashAlgorithm

        public Windows10XSCEPCertificateProfile withHashAlgorithm​(List<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
      • getHashAlgorithm

        public com.github.davidmoten.odata.client.CollectionPage<HashAlgorithms> getHashAlgorithm​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “SCEP Hash Algorithm.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property hashAlgorithm
      • getKeySize

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

        public Windows10XSCEPCertificateProfile 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
      • getKeyStorageProvider

        public Optional<KeyStorageProviderOption> getKeyStorageProvider()
        “Key Storage Provider (KSP)”
        Returns:
        property keyStorageProvider
      • withKeyStorageProvider

        public Windows10XSCEPCertificateProfile withKeyStorageProvider​(KeyStorageProviderOption keyStorageProvider)
        Returns an immutable copy of this with just the keyStorageProvider 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.

        “Key Storage Provider (KSP)”

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

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

        public Windows10XSCEPCertificateProfile 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
      • getRenewalThresholdPercentage

        public Optional<Integer> getRenewalThresholdPercentage()
        “Certificate renewal threshold percentage”
        Returns:
        property renewalThresholdPercentage
      • withRenewalThresholdPercentage

        public Windows10XSCEPCertificateProfile withRenewalThresholdPercentage​(Integer renewalThresholdPercentage)
        Returns an immutable copy of this with just the renewalThresholdPercentage 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.

        “Certificate renewal threshold percentage”

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

        public Optional<UUID> getRootCertificateId()
        “Trusted Root Certificate ID”
        Returns:
        property rootCertificateId
      • withRootCertificateId

        public Windows10XSCEPCertificateProfile withRootCertificateId​(UUID rootCertificateId)
        Returns an immutable copy of this with just the rootCertificateId 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 ID”

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

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

        public Windows10XSCEPCertificateProfile 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
      • getSubjectAlternativeNameFormats

        public com.github.davidmoten.odata.client.CollectionPage<Windows10XCustomSubjectAlternativeName> getSubjectAlternativeNameFormats()
        “Custom AAD Attributes.”
        Returns:
        property subjectAlternativeNameFormats
      • withSubjectAlternativeNameFormats

        public Windows10XSCEPCertificateProfile withSubjectAlternativeNameFormats​(List<Windows10XCustomSubjectAlternativeName> subjectAlternativeNameFormats)
        Returns an immutable copy of this with just the subjectAlternativeNameFormats 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 AAD Attributes.”

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

        public com.github.davidmoten.odata.client.CollectionPage<Windows10XCustomSubjectAlternativeName> getSubjectAlternativeNameFormats​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “Custom AAD Attributes.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property subjectAlternativeNameFormats
      • 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 Windows10XSCEPCertificateProfile 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
      • getUnmappedFields

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

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