Class QuotaCounterContractInner


  • public final class QuotaCounterContractInner
    extends Object
    Quota counter details.
    • Constructor Detail

      • QuotaCounterContractInner

        public QuotaCounterContractInner()
    • Method Detail

      • counterKey

        public String counterKey()
        Get the counterKey property: The Key value of the Counter. Must not be empty.
        Returns:
        the counterKey value.
      • withCounterKey

        public QuotaCounterContractInner withCounterKey​(String counterKey)
        Set the counterKey property: The Key value of the Counter. Must not be empty.
        Parameters:
        counterKey - the counterKey value to set.
        Returns:
        the QuotaCounterContractInner object itself.
      • periodKey

        public String periodKey()
        Get the periodKey property: Identifier of the Period for which the counter was collected. Must not be empty.
        Returns:
        the periodKey value.
      • withPeriodKey

        public QuotaCounterContractInner withPeriodKey​(String periodKey)
        Set the periodKey property: Identifier of the Period for which the counter was collected. Must not be empty.
        Parameters:
        periodKey - the periodKey value to set.
        Returns:
        the QuotaCounterContractInner object itself.
      • periodStartTime

        public OffsetDateTime periodStartTime()
        Get the periodStartTime property: The date of the start of Counter Period. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
        Returns:
        the periodStartTime value.
      • withPeriodStartTime

        public QuotaCounterContractInner withPeriodStartTime​(OffsetDateTime periodStartTime)
        Set the periodStartTime property: The date of the start of Counter Period. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
        Parameters:
        periodStartTime - the periodStartTime value to set.
        Returns:
        the QuotaCounterContractInner object itself.
      • periodEndTime

        public OffsetDateTime periodEndTime()
        Get the periodEndTime property: The date of the end of Counter Period. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
        Returns:
        the periodEndTime value.
      • withPeriodEndTime

        public QuotaCounterContractInner withPeriodEndTime​(OffsetDateTime periodEndTime)
        Set the periodEndTime property: The date of the end of Counter Period. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
        Parameters:
        periodEndTime - the periodEndTime value to set.
        Returns:
        the QuotaCounterContractInner object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.