Class AndroidScepCertificateProfile

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

    public class AndroidScepCertificateProfile
    extends AndroidCertificateProfileBase
    implements com.github.davidmoten.odata.client.ODataEntityType
    “Android 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

      • AndroidScepCertificateProfile

        protected AndroidScepCertificateProfile()
    • Method Detail

      • builderAndroidScepCertificateProfile

        public static AndroidScepCertificateProfile.Builder builderAndroidScepCertificateProfile()
        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 AndroidCertificateProfileBase
      • postInject

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

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

        public AndroidScepCertificateProfile 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 AndroidScepCertificateProfile 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 AndroidScepCertificateProfile 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 AndroidScepCertificateProfile 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 AndroidScepCertificateProfile 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 AndroidScepCertificateProfile 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 AndroidCertificateProfileBase
      • patch

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