Class SecondarySkus.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • sku

        public SecondarySkus.Builder sku​(String sku)
        The secondary SKU part number (prefaced with “B”).

        For example, the “E4 MEMORY” SKU will be the secondary SKU with the main “E4 OCPUs” SKU. Must also be the same as CcdOffers’s bundleSkus sku value.

        Parameters:
        sku - the value to set
        Returns:
        this builder
      • skuDisplayName

        public SecondarySkus.Builder skuDisplayName​(String skuDisplayName)
        The canonical SKU display name derived from the associated offer.

        This property remains accepted in create and update requests for compatibility, but CCD uses the offer-derived value. Avoid entering confidential information.

        Parameters:
        skuDisplayName - the value to set
        Returns:
        this builder
      • skuMetric

        public SecondarySkus.Builder skuMetric​(String skuMetric)
        The canonical billing metric derived from the associated offer.

        This property remains accepted in create and update requests for compatibility, but CCD uses the offer-derived value.

        Parameters:
        skuMetric - the value to set
        Returns:
        this builder
      • quantity

        public SecondarySkus.Builder quantity​(Long quantity)
        The resolved hourly commitment quantity for this secondary SKU.

        In create or update requests, this property is required when the corresponding offer component uses CUSTOMER_SELECTED, and the value must be within the offer component’s minimum and maximum. For FLEX offers with CUSTOMER_SELECTED, this quantity must equal the offer component’s minQuantity and, if defined, maxQuantity. For FIXED_RATIO, this property may be omitted because CCD derives it from the primary quantity and the offer-defined ratio. If an existing client supplies a quantity for FIXED_RATIO, the offer-defined ratio is authoritative.

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