Class IosPkcsCertificateProfile

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

    public class IosPkcsCertificateProfile
    extends IosCertificateProfileBase
    implements com.github.davidmoten.odata.client.ODataEntityType
    “iOS PKCS certificate profile.”
    • Field Detail

      • certificateTemplateName

        protected String certificateTemplateName
      • certificationAuthority

        protected String certificationAuthority
      • certificationAuthorityName

        protected String certificationAuthorityName
      • customSubjectAlternativeNamesNextLink

        protected String customSubjectAlternativeNamesNextLink
      • subjectAlternativeNameFormatString

        protected String subjectAlternativeNameFormatString
      • subjectNameFormatString

        protected String subjectNameFormatString
    • Constructor Detail

      • IosPkcsCertificateProfile

        protected IosPkcsCertificateProfile()
    • Method Detail

      • builderIosPkcsCertificateProfile

        public static IosPkcsCertificateProfile.Builder builderIosPkcsCertificateProfile()
        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 IosCertificateProfileBase
      • postInject

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

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

        public IosPkcsCertificateProfile 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
      • getCertificateTemplateName

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

        public IosPkcsCertificateProfile 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 IosPkcsCertificateProfile 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 IosPkcsCertificateProfile 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
      • 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 IosPkcsCertificateProfile 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
      • getSubjectAlternativeNameFormatString

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

        public IosPkcsCertificateProfile 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 IosPkcsCertificateProfile 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 IosCertificateProfileBase
      • patch

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