Class ListingMeter.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • name

        public ListingMeter.Builder name​(String name)
        The meter name, ex - MP_BOBO_AP.
        Parameters:
        name - the value to set
        Returns:
        this builder
      • rateAllocation

        public ListingMeter.Builder rateAllocation​(Float rateAllocation)
        rate allocation, these are calculated based on rate information at parent part/sku and listing revision.
        Parameters:
        rateAllocation - the value to set
        Returns:
        this builder
      • extendedMetadata

        public ListingMeter.Builder extendedMetadata​(Map<String,​String> extendedMetadata)
        Additional metadata key/value pairs for the listing meter.

        For example:

        {"pausedOnInstanceStop": "True","coreSuffixMeter": "_VMWARE", "minimumBillingPeriodInHours": "755", "weight": "1.0" }

        Parameters:
        extendedMetadata - the value to set
        Returns:
        this builder