Class UsageEligibility.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentIds

        public UsageEligibility.Builder compartmentIds​(List<String> compartmentIds)
        The compartment OCID the CCD commitment is applicable to.
        Parameters:
        compartmentIds - the value to set
        Returns:
        this builder
      • region

        public UsageEligibility.Builder region​(String region)
        The region the CCD commitment is applicable to.

        If the CCD offer has already been restricted to any specific region, then the offer will supersede this input.

        Parameters:
        region - the value to set
        Returns:
        this builder
      • availabilityDomain

        public UsageEligibility.Builder availabilityDomain​(String availabilityDomain)
        The Availability Domain the CCD is applicable to.

        If you’re setting the availabilityDomain, ensure to also set the region property value. If the CCD offer has already been restricted to a specific Availability Domain, then the offer will supersede this input.

        Parameters:
        availabilityDomain - the value to set
        Returns:
        this builder
      • tenancyIds

        public UsageEligibility.Builder tenancyIds​(List<String> tenancyIds)
        The tenancy IDs the CCD commitment is applicable to.
        Parameters:
        tenancyIds - the value to set
        Returns:
        this builder