Class AcceptedAgreement.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • id

        public AcceptedAgreement.Builder id​(String id)
        The unique identifier for the acceptance of the agreement within a specific compartment.
        Parameters:
        id - the value to set
        Returns:
        this builder
      • displayName

        public AcceptedAgreement.Builder displayName​(String displayName)
        A display name for the accepted agreement.
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • compartmentId

        public AcceptedAgreement.Builder compartmentId​(String compartmentId)
        The unique identifier for the compartment where the agreement was accepted.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • listingId

        public AcceptedAgreement.Builder listingId​(String listingId)
        The unique identifier for the listing associated with the agreement.
        Parameters:
        listingId - the value to set
        Returns:
        this builder
      • packageVersion

        public AcceptedAgreement.Builder packageVersion​(String packageVersion)
        The package version associated with the agreement.
        Parameters:
        packageVersion - the value to set
        Returns:
        this builder
      • agreementId

        public AcceptedAgreement.Builder agreementId​(String agreementId)
        The unique identifier for the terms of use agreement itself.
        Parameters:
        agreementId - the value to set
        Returns:
        this builder
      • timeAccepted

        public AcceptedAgreement.Builder timeAccepted​(Date timeAccepted)
        The time the agreement was accepted.
        Parameters:
        timeAccepted - the value to set
        Returns:
        this builder
      • definedTags

        public AcceptedAgreement.Builder definedTags​(Map<String,​Map<String,​Object>> definedTags)
        The defined tags associated with this resource, if any.

        Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}

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

        public AcceptedAgreement.Builder freeformTags​(Map<String,​String> freeformTags)
        The freeform tags associated with this resource, if any.

        Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}

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