Class MacOSPkcsCertificateProfile

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

    public class MacOSPkcsCertificateProfile
    extends MacOSCertificateProfileBase
    implements com.github.davidmoten.odata.client.ODataEntityType
    “MacOS PKCS certificate profile.”
    • Field Detail

      • allowAllAppsAccess

        protected Boolean allowAllAppsAccess
      • 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

      • MacOSPkcsCertificateProfile

        protected MacOSPkcsCertificateProfile()
    • Method Detail

      • builderMacOSPkcsCertificateProfile

        public static MacOSPkcsCertificateProfile.Builder builderMacOSPkcsCertificateProfile()
        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 MacOSCertificateProfileBase
      • postInject

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

        public Optional<Boolean> getAllowAllAppsAccess()
        “AllowAllAppsAccess setting”
        Returns:
        property allowAllAppsAccess
      • withAllowAllAppsAccess

        public MacOSPkcsCertificateProfile withAllowAllAppsAccess​(Boolean allowAllAppsAccess)
        Returns an immutable copy of this with just the allowAllAppsAccess 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.

        “AllowAllAppsAccess setting”

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

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

        public MacOSPkcsCertificateProfile 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 MacOSPkcsCertificateProfile 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 FQDN.”
        Returns:
        property certificationAuthority
      • withCertificationAuthority

        public MacOSPkcsCertificateProfile 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 FQDN.”

        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 MacOSPkcsCertificateProfile 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 MacOSPkcsCertificateProfile 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()
        “Format string that defines the subject alternative name.”
        Returns:
        property subjectAlternativeNameFormatString
      • withSubjectAlternativeNameFormatString

        public MacOSPkcsCertificateProfile 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.

        “Format string that defines the subject alternative name.”

        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()
        “Format string that defines the subject name. Example: CN={{EmailAddress}},E={{ EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA,C=US”
        Returns:
        property subjectNameFormatString
      • withSubjectNameFormatString

        public MacOSPkcsCertificateProfile 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.

        “Format string that defines the subject name. 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 MacOSCertificateProfileBase
      • patch

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