Class WindowsPhone81CertificateProfileBase

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataEntityType, com.github.davidmoten.odata.client.ODataType
    Direct Known Subclasses:
    WindowsPhone81SCEPCertificateProfile

    public class WindowsPhone81CertificateProfileBase
    extends DeviceConfiguration
    implements com.github.davidmoten.odata.client.ODataEntityType
    “Base Windows Phone 8.1+ certificate profile.”
    • Constructor Detail

      • WindowsPhone81CertificateProfileBase

        protected WindowsPhone81CertificateProfileBase()
    • 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 WindowsPhone81CertificateProfileBase 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 Validtiy Period.”
        Returns:
        property certificateValidityPeriodValue
      • withCertificateValidityPeriodValue

        public WindowsPhone81CertificateProfileBase 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 Validtiy Period.”

        Parameters:
        certificateValidityPeriodValue - new value of certificateValidityPeriodValue field (as defined in service metadata)
        Returns:
        immutable copy of this with just the certificateValidityPeriodValue field changed
      • 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 WindowsPhone81CertificateProfileBase 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
      • getKeyStorageProvider

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

        public WindowsPhone81CertificateProfileBase 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.”
        Returns:
        property renewalThresholdPercentage
      • withRenewalThresholdPercentage

        public WindowsPhone81CertificateProfileBase 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 WindowsPhone81CertificateProfileBase 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 WindowsPhone81CertificateProfileBase 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 WindowsPhone81CertificateProfileBase 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 WindowsPhone81CertificateProfileBase 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