Class MacOSCertificateProfileBase

    • Constructor Detail

      • MacOSCertificateProfileBase

        protected MacOSCertificateProfileBase()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class DeviceConfiguration
      • 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 DeviceConfiguration
      • postInject

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

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

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

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

        public MacOSCertificateProfileBase 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.”

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

        public Optional<SubjectAlternativeNameType> getSubjectAlternativeNameType()
        “Certificate Subject Alternative Name Type.”
        Returns:
        property subjectAlternativeNameType
      • withSubjectAlternativeNameType

        public MacOSCertificateProfileBase withSubjectAlternativeNameType​(SubjectAlternativeNameType subjectAlternativeNameType)
        Returns an immutable copy of this with just the subjectAlternativeNameType 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 Subject Alternative Name Type.”

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

        public Optional<AppleSubjectNameFormat> getSubjectNameFormat()
        “Certificate Subject Name Format.”
        Returns:
        property subjectNameFormat
      • withSubjectNameFormat

        public MacOSCertificateProfileBase withSubjectNameFormat​(AppleSubjectNameFormat subjectNameFormat)
        Returns an immutable copy of this with just the subjectNameFormat 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 Subject Name Format.”

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

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        getUnmappedFields in class DeviceConfiguration
      • patch

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