Class SubscriptionSku.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • quantity

        public SubscriptionSku.Builder quantity​(Integer quantity)
        Quantity of the stock units.
        Parameters:
        quantity - the value to set
        Returns:
        this builder
      • description

        public SubscriptionSku.Builder description​(String description)
        Description of the stock units.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • gsiOrderLineId

        public SubscriptionSku.Builder gsiOrderLineId​(String gsiOrderLineId)
        Sales order line identifier.
        Parameters:
        gsiOrderLineId - the value to set
        Returns:
        this builder
      • licensePartDescription

        public SubscriptionSku.Builder licensePartDescription​(String licensePartDescription)
        Description of the covered product belonging to this SKU.
        Parameters:
        licensePartDescription - the value to set
        Returns:
        this builder
      • metricName

        public SubscriptionSku.Builder metricName​(String metricName)
        Base metric for billing the service.
        Parameters:
        metricName - the value to set
        Returns:
        this builder
      • isBaseServiceComponent

        public SubscriptionSku.Builder isBaseServiceComponent​(Boolean isBaseServiceComponent)
        Specifies if the SKU is considered as a parent or child.
        Parameters:
        isBaseServiceComponent - the value to set
        Returns:
        this builder
      • isAdditionalInstance

        public SubscriptionSku.Builder isAdditionalInstance​(Boolean isAdditionalInstance)
        Specifies if an additional test instance can be provisioned by the SaaS application.
        Parameters:
        isAdditionalInstance - the value to set
        Returns:
        this builder
      • startDate

        public SubscriptionSku.Builder startDate​(Date startDate)
        Date and time when the SKU was created.
        Parameters:
        startDate - the value to set
        Returns:
        this builder
      • endDate

        public SubscriptionSku.Builder endDate​(Date endDate)
        Date and time when the SKU ended.
        Parameters:
        endDate - the value to set
        Returns:
        this builder