Class AndroidDeviceOwnerCertificateProfileBase

    • Constructor Detail

      • AndroidDeviceOwnerCertificateProfileBase

        protected AndroidDeviceOwnerCertificateProfileBase()
    • 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 AndroidDeviceOwnerCertificateProfileBase 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 AndroidDeviceOwnerCertificateProfileBase 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
      • 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 AndroidDeviceOwnerCertificateProfileBase 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
      • getRenewalThresholdPercentage

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

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