Class WindowsCertificateProfileBase

    • Constructor Detail

      • WindowsCertificateProfileBase

        protected WindowsCertificateProfileBase()
    • 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 WindowsCertificateProfileBase 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 WindowsCertificateProfileBase 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
      • getKeyStorageProvider

        public Optional<KeyStorageProviderOption> getKeyStorageProvider()
        “Key Storage Provider (KSP)”
        Returns:
        property keyStorageProvider
      • withKeyStorageProvider

        public WindowsCertificateProfileBase withKeyStorageProvider​(KeyStorageProviderOption keyStorageProvider)
        Returns an immutable copy of this with just the keyStorageProvider 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.

        “Key Storage Provider (KSP)”

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

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

        public WindowsCertificateProfileBase 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
      • getSubjectAlternativeNameType

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

        public WindowsCertificateProfileBase 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<SubjectNameFormat> getSubjectNameFormat()
        “Certificate Subject Name Format”
        Returns:
        property subjectNameFormat
      • withSubjectNameFormat

        public WindowsCertificateProfileBase withSubjectNameFormat​(SubjectNameFormat 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 WindowsCertificateProfileBase 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 WindowsCertificateProfileBase 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