Class IosScepCertificateProfile

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

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

      • customSubjectAlternativeNamesNextLink

        protected String customSubjectAlternativeNamesNextLink
      • extendedKeyUsagesNextLink

        protected String extendedKeyUsagesNextLink
      • keySize

        protected KeySize keySize
      • scepServerUrls

        protected List<String> scepServerUrls
      • scepServerUrlsNextLink

        protected String scepServerUrlsNextLink
      • subjectAlternativeNameFormatString

        protected String subjectAlternativeNameFormatString
      • subjectNameFormatString

        protected String subjectNameFormatString
    • Constructor Detail

      • IosScepCertificateProfile

        protected IosScepCertificateProfile()
    • Method Detail

      • builderIosScepCertificateProfile

        public static IosScepCertificateProfile.Builder builderIosScepCertificateProfile()
        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 IosScepCertificateProfile 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. The OnPremisesUserPrincipalName variable is support as well as others documented here: http://go.microsoft.com/ fwlink/?LinkId=2027630. This collection can contain a maximum of 500 elements.”
        Returns:
        property customSubjectAlternativeNames
      • withCustomSubjectAlternativeNames

        public IosScepCertificateProfile 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. The OnPremisesUserPrincipalName variable is support as well as others documented here: http://go.microsoft.com/ fwlink/?LinkId=2027630. 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. The OnPremisesUserPrincipalName variable is support as well as others documented here: http://go.microsoft.com/ fwlink/?LinkId=2027630. This collection can contain a maximum of 500 elements.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property customSubjectAlternativeNames
      • getExtendedKeyUsages

        public com.github.davidmoten.odata.client.CollectionPage<ExtendedKeyUsage> getExtendedKeyUsages()
        “Extended Key Usage (EKU) settings. This collection can contain a maximum of 500 elements.”
        Returns:
        property extendedKeyUsages
      • withExtendedKeyUsages

        public IosScepCertificateProfile withExtendedKeyUsages​(List<ExtendedKeyUsage> extendedKeyUsages)
        Returns an immutable copy of this with just the extendedKeyUsages 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.

        “Extended Key Usage (EKU) settings. This collection can contain a maximum of 500 elements.”

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

        public com.github.davidmoten.odata.client.CollectionPage<ExtendedKeyUsage> getExtendedKeyUsages​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “Extended Key Usage (EKU) settings. This collection can contain a maximum of 500 elements.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property extendedKeyUsages
      • getKeySize

        public Optional<KeySize> getKeySize()
        “SCEP Key Size.”
        Returns:
        property keySize
      • withKeySize

        public IosScepCertificateProfile 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 IosScepCertificateProfile 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 IosScepCertificateProfile 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 IosScepCertificateProfile 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 IosScepCertificateProfile 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
      • getRootCertificate

        public IosTrustedRootCertificateRequest getRootCertificate()
        “Trusted Root Certificate.”
        Returns:
        navigational property rootCertificate
      • 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 IosScepCertificateProfile 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 IosScepCertificateProfile 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