Class CertificateConnectorHealthMetricValue

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

    public class CertificateConnectorHealthMetricValue
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    “Metric snapshot value returned in response to a GetHealthMetricTimeSeries request.”
    • 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
      • failureCount

        protected Long failureCount
      • successCount

        protected Long successCount
    • Constructor Detail

      • CertificateConnectorHealthMetricValue

        protected CertificateConnectorHealthMetricValue()
    • Method Detail

      • odataTypeName

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

        public Optional<OffsetDateTime> getDateTime()
        “Timestamp for this metric data-point.”
        Returns:
        property dateTime
      • withDateTime

        public CertificateConnectorHealthMetricValue withDateTime​(OffsetDateTime dateTime)
        Returns an immutable copy of this with just the dateTime 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.

        “Timestamp for this metric data-point.”

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

        public Optional<Long> getFailureCount()
        “Count of failed requests/operations.”
        Returns:
        property failureCount
      • withFailureCount

        public CertificateConnectorHealthMetricValue withFailureCount​(Long failureCount)
        Returns an immutable copy of this with just the failureCount 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.

        “Count of failed requests/operations.”

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

        public Optional<Long> getSuccessCount()
        “Count of successful requests/operations.”
        Returns:
        property successCount
      • withSuccessCount

        public CertificateConnectorHealthMetricValue withSuccessCount​(Long successCount)
        Returns an immutable copy of this with just the successCount 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.

        “Count of successful requests/operations.”

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