Class AndroidPkcsCertificateProfile

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

    public class AndroidPkcsCertificateProfile
    extends AndroidCertificateProfileBase
    implements com.github.davidmoten.odata.client.ODataEntityType
    “Android PKCS certificate profile”
    • Field Detail

      • certificateTemplateName

        protected String certificateTemplateName
      • certificationAuthority

        protected String certificationAuthority
      • certificationAuthorityName

        protected String certificationAuthorityName
      • subjectAlternativeNameFormatString

        protected String subjectAlternativeNameFormatString
    • Constructor Detail

      • AndroidPkcsCertificateProfile

        protected AndroidPkcsCertificateProfile()
    • Method Detail

      • builderAndroidPkcsCertificateProfile

        public static AndroidPkcsCertificateProfile.Builder builderAndroidPkcsCertificateProfile()
        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
      • getCertificateTemplateName

        public Optional<String> getCertificateTemplateName()
        “PKCS Certificate Template Name”
        Returns:
        property certificateTemplateName
      • withCertificateTemplateName

        public AndroidPkcsCertificateProfile withCertificateTemplateName​(String certificateTemplateName)
        Returns an immutable copy of this with just the certificateTemplateName 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.

        “PKCS Certificate Template Name”

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

        public Optional<String> getCertificationAuthority()
        “PKCS Certification Authority”
        Returns:
        property certificationAuthority
      • withCertificationAuthority

        public AndroidPkcsCertificateProfile withCertificationAuthority​(String certificationAuthority)
        Returns an immutable copy of this with just the certificationAuthority 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.

        “PKCS Certification Authority”

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

        public Optional<String> getCertificationAuthorityName()
        “PKCS Certification Authority Name”
        Returns:
        property certificationAuthorityName
      • withCertificationAuthorityName

        public AndroidPkcsCertificateProfile withCertificationAuthorityName​(String certificationAuthorityName)
        Returns an immutable copy of this with just the certificationAuthorityName 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.

        “PKCS Certification Authority Name”

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

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

        public AndroidPkcsCertificateProfile 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
      • 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 AndroidPkcsCertificateProfile 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 AndroidPkcsCertificateProfile 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