Class PbfListing.Builder

  • Enclosing class:
    PbfListing

    public static class PbfListing.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • id

        public PbfListing.Builder id​(String id)
        Unique identifier that is immutable on creation.
        Parameters:
        id - the value to set
        Returns:
        this builder
      • name

        public PbfListing.Builder name​(String name)
        A brief descriptive name for the PBF listing.

        The PBF listing name must be unique, and not match and existing PBF.

        Parameters:
        name - the value to set
        Returns:
        this builder
      • description

        public PbfListing.Builder description​(String description)
        A short overview of the PBF Listing: the purpose of the PBF and and associated information.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • triggers

        public PbfListing.Builder triggers​(List<Trigger> triggers)
        An array of Trigger.

        A list of triggers that may activate the PBF.

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

        public PbfListing.Builder timeCreated​(Date timeCreated)
        The time the PbfListing was created.

        An RFC3339 formatted datetime string.

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

        public PbfListing.Builder timeUpdated​(Date timeUpdated)
        The last time the PbfListing was updated.

        An RFC3339 formatted datetime string.

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

        public PbfListing.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 PbfListing.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 PbfListing.Builder systemTags​(Map<String,​Map<String,​Object>> systemTags)
        System tags for this resource.

        Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

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