Class AndroidWorkProfileScepCertificateProfile

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

    public class AndroidWorkProfileScepCertificateProfile
    extends AndroidWorkProfileCertificateProfileBase
    implements com.github.davidmoten.odata.client.ODataEntityType
    “Android Work Profile SCEP certificate profile”
    • Field Detail

      • customSubjectAlternativeNamesNextLink

        protected String customSubjectAlternativeNamesNextLink
      • keySize

        protected KeySize keySize
      • scepServerUrls

        protected List<String> scepServerUrls
      • scepServerUrlsNextLink

        protected String scepServerUrlsNextLink
      • subjectAlternativeNameFormatString

        protected String subjectAlternativeNameFormatString
      • subjectNameFormatString

        protected String subjectNameFormatString
    • Constructor Detail

      • AndroidWorkProfileScepCertificateProfile

        protected AndroidWorkProfileScepCertificateProfile()
    • Method Detail

      • builderAndroidWorkProfileScepCertificateProfile

        public static AndroidWorkProfileScepCertificateProfile.Builder builderAndroidWorkProfileScepCertificateProfile()
        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 AndroidWorkProfileCertificateProfileBase
      • getCertificateStore

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

        public AndroidWorkProfileScepCertificateProfile 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
      • getCustomSubjectAlternativeNames

        public com.github.davidmoten.odata.client.CollectionPage<CustomSubjectAlternativeName> getCustomSubjectAlternativeNames()
        “Custom Subject Alternative Name Settings. This collection can contain a maximum of 500 elements.”
        Returns:
        property customSubjectAlternativeNames
      • withCustomSubjectAlternativeNames

        public AndroidWorkProfileScepCertificateProfile withCustomSubjectAlternativeNames​(List<CustomSubjectAlternativeName> customSubjectAlternativeNames)
        Returns an immutable copy of this with just the customSubjectAlternativeNames 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 Subject Alternative Name Settings. This collection can contain a maximum of 500 elements.”

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

        public com.github.davidmoten.odata.client.CollectionPage<CustomSubjectAlternativeName> getCustomSubjectAlternativeNames​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “Custom Subject Alternative Name Settings. This collection can contain a maximum of 500 elements.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property customSubjectAlternativeNames
      • getHashAlgorithm

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

        public AndroidWorkProfileScepCertificateProfile 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 AndroidWorkProfileScepCertificateProfile 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 AndroidWorkProfileScepCertificateProfile 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 AndroidWorkProfileScepCertificateProfile 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 AndroidWorkProfileScepCertificateProfile 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 AndroidWorkProfileScepCertificateProfile 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