Class IosEduCertificateSettings

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

    public class IosEduCertificateSettings
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    “Trusted Root and PFX certificates for iOS EDU.”
    • Field Detail

      • contextPath

        protected com.github.davidmoten.odata.client.ContextPath contextPath
      • unmappedFields

        protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
      • odataType

        protected String odataType
      • certFileName

        protected String certFileName
      • certificateTemplateName

        protected String certificateTemplateName
      • certificateValidityPeriodValue

        protected Integer certificateValidityPeriodValue
      • certificationAuthority

        protected String certificationAuthority
      • certificationAuthorityName

        protected String certificationAuthorityName
      • renewalThresholdPercentage

        protected Integer renewalThresholdPercentage
      • trustedRootCertificate

        protected byte[] trustedRootCertificate
    • Constructor Detail

      • IosEduCertificateSettings

        protected IosEduCertificateSettings()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
      • getCertFileName

        public Optional<String> getCertFileName()
        “File name to display in UI.”
        Returns:
        property certFileName
      • withCertFileName

        public IosEduCertificateSettings withCertFileName​(String certFileName)
        Returns an immutable copy of this with just the certFileName 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.

        “File name to display in UI.”

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

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

        public IosEduCertificateSettings 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
      • getCertificateValidityPeriodScale

        public Optional<CertificateValidityPeriodScale> getCertificateValidityPeriodScale()
        “Scale for the Certificate Validity Period.”
        Returns:
        property certificateValidityPeriodScale
      • withCertificateValidityPeriodScale

        public IosEduCertificateSettings withCertificateValidityPeriodScale​(CertificateValidityPeriodScale certificateValidityPeriodScale)
        Returns an immutable copy of this with just the certificateValidityPeriodScale 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.

        “Scale for the Certificate Validity Period.”

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

        public Optional<Integer> getCertificateValidityPeriodValue()
        “Value for the Certificate Validity Period.”
        Returns:
        property certificateValidityPeriodValue
      • withCertificateValidityPeriodValue

        public IosEduCertificateSettings withCertificateValidityPeriodValue​(Integer certificateValidityPeriodValue)
        Returns an immutable copy of this with just the certificateValidityPeriodValue 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.

        “Value for the Certificate Validity Period.”

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

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

        public IosEduCertificateSettings 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 IosEduCertificateSettings 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
      • getRenewalThresholdPercentage

        public Optional<Integer> getRenewalThresholdPercentage()
        “Certificate renewal threshold percentage. Valid values 1 to 99”
        Returns:
        property renewalThresholdPercentage
      • withRenewalThresholdPercentage

        public IosEduCertificateSettings withRenewalThresholdPercentage​(Integer renewalThresholdPercentage)
        Returns an immutable copy of this with just the renewalThresholdPercentage 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.

        “Certificate renewal threshold percentage. Valid values 1 to 99”

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

        public Optional<byte[]> getTrustedRootCertificate()
        “Trusted Root Certificate.”
        Returns:
        property trustedRootCertificate
      • withTrustedRootCertificate

        public IosEduCertificateSettings withTrustedRootCertificate​(byte[] trustedRootCertificate)
        Returns an immutable copy of this with just the trustedRootCertificate 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.

        “Trusted Root Certificate.”

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

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
      • postInject

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

        public static IosEduCertificateSettings.Builder builder()
        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