Class LicenseRecordSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • productLicenseId

        public LicenseRecordSummary.Builder productLicenseId​(String productLicenseId)
        The product license OCID with which the license record is associated.
        Parameters:
        productLicenseId - the value to set
        Returns:
        this builder
      • compartmentId

        public LicenseRecordSummary.Builder compartmentId​(String compartmentId)
        The compartment OCID where the license record is created.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • displayName

        public LicenseRecordSummary.Builder displayName​(String displayName)
        License record display name.

        Avoid entering confidential information.

        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • productId

        public LicenseRecordSummary.Builder productId​(String productId)
        The license record product ID.
        Parameters:
        productId - the value to set
        Returns:
        this builder
      • licenseCount

        public LicenseRecordSummary.Builder licenseCount​(Integer licenseCount)
        The number of license record units added by the user for the given license record.

        Default 1

        Parameters:
        licenseCount - the value to set
        Returns:
        this builder
      • expirationDate

        public LicenseRecordSummary.Builder expirationDate​(Date expirationDate)
        The license record end date in RFC 3339 format.

        date format. Example: 2018-09-12

        Parameters:
        expirationDate - the value to set
        Returns:
        this builder
      • supportEndDate

        public LicenseRecordSummary.Builder supportEndDate​(Date supportEndDate)
        The license record support end date in RFC 3339 format.

        date format. Example: 2018-09-12

        Parameters:
        supportEndDate - the value to set
        Returns:
        this builder
      • isUnlimited

        public LicenseRecordSummary.Builder isUnlimited​(Boolean isUnlimited)
        Specifies if the license count is unlimited.
        Parameters:
        isUnlimited - the value to set
        Returns:
        this builder
      • isPerpetual

        public LicenseRecordSummary.Builder isPerpetual​(Boolean isPerpetual)
        Specifies if the license record term is perpertual.
        Parameters:
        isPerpetual - the value to set
        Returns:
        this builder
      • timeCreated

        public LicenseRecordSummary.Builder timeCreated​(Date timeCreated)
        The time the license record was created.

        An RFC 3339-formatted datetime string.

        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeUpdated

        public LicenseRecordSummary.Builder timeUpdated​(Date timeUpdated)
        The time the license record was updated.

        An RFC 3339-formatted datetime string.

        Parameters:
        timeUpdated - the value to set
        Returns:
        this builder
      • productLicense

        public LicenseRecordSummary.Builder productLicense​(String productLicense)
        The product license name with which the license record is associated.
        Parameters:
        productLicense - the value to set
        Returns:
        this builder
      • freeformTags

        public LicenseRecordSummary.Builder freeformTags​(Map<String,​String> freeformTags)
        Simple key-value pair that is applied without any predefined name, type, or scope.

        Exists for cross-compatibility only. Example: {“bar-key”: “value”}

        Parameters:
        freeformTags - the value to set
        Returns:
        this builder
      • definedTags

        public LicenseRecordSummary.Builder definedTags​(Map<String,​Map<String,​Object>> definedTags)
        Defined tags for this resource.

        Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

        Parameters:
        definedTags - the value to set
        Returns:
        this builder
      • systemTags

        public LicenseRecordSummary.Builder systemTags​(Map<String,​Map<String,​Object>> systemTags)
        Usage of system tag keys.

        These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

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