Class CertificateConnectorSetting

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

    public class CertificateConnectorSetting
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    “Certificate connector settings.”
    • 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
      • connectorVersion

        protected String connectorVersion
      • enrollmentError

        protected String enrollmentError
      • lastConnectorConnectionTime

        protected OffsetDateTime lastConnectorConnectionTime
      • lastUploadVersion

        protected Long lastUploadVersion
    • Constructor Detail

      • CertificateConnectorSetting

        protected CertificateConnectorSetting()
    • Method Detail

      • odataTypeName

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

        public Optional<OffsetDateTime> getCertExpiryTime()
        “Certificate expire time”
        Returns:
        property certExpiryTime
      • withCertExpiryTime

        public CertificateConnectorSetting withCertExpiryTime​(OffsetDateTime certExpiryTime)
        Returns an immutable copy of this with just the certExpiryTime 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 expire time”

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

        public Optional<String> getConnectorVersion()
        “Version of certificate connector”
        Returns:
        property connectorVersion
      • withConnectorVersion

        public CertificateConnectorSetting withConnectorVersion​(String connectorVersion)
        Returns an immutable copy of this with just the connectorVersion 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.

        “Version of certificate connector”

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

        public Optional<String> getEnrollmentError()
        “Certificate connector enrollment error”
        Returns:
        property enrollmentError
      • withEnrollmentError

        public CertificateConnectorSetting withEnrollmentError​(String enrollmentError)
        Returns an immutable copy of this with just the enrollmentError 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 connector enrollment error”

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

        public Optional<OffsetDateTime> getLastConnectorConnectionTime()
        “Last time certificate connector connected”
        Returns:
        property lastConnectorConnectionTime
      • withLastConnectorConnectionTime

        public CertificateConnectorSetting withLastConnectorConnectionTime​(OffsetDateTime lastConnectorConnectionTime)
        Returns an immutable copy of this with just the lastConnectorConnectionTime 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.

        “Last time certificate connector connected”

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

        public Optional<Long> getLastUploadVersion()
        “Version of last uploaded certificate connector”
        Returns:
        property lastUploadVersion
      • withLastUploadVersion

        public CertificateConnectorSetting withLastUploadVersion​(Long lastUploadVersion)
        Returns an immutable copy of this with just the lastUploadVersion 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.

        “Version of last uploaded certificate connector”

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

        public Optional<Integer> getStatus()
        “Certificate connector status”
        Returns:
        property status
      • withStatus

        public CertificateConnectorSetting withStatus​(Integer status)
        Returns an immutable copy of this with just the status 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 connector status”

        Parameters:
        status - new value of status field (as defined in service metadata)
        Returns:
        immutable copy of this with just the status 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 CertificateConnectorSetting.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