Class StreamPoolSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public StreamPoolSummary.Builder compartmentId​(String compartmentId)
        Compartment OCID that the pool belongs to.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • timeCreated

        public StreamPoolSummary.Builder timeCreated​(Date timeCreated)
        The date and time the stream pool was created, expressed in in RFC 3339 timestamp format.

        Example: 2018-04-20T00:00:07.405Z

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

        public StreamPoolSummary.Builder isPrivate​(Boolean isPrivate)
        True if the stream pool is private, false otherwise.

        The associated endpoint and subnetId of a private stream pool can be retrieved through the getStreamPool API.

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

        public StreamPoolSummary.Builder freeformTags​(Map<String,​String> freeformTags)
        Free-form tags for this resource.

        Each tag is a simple key-value pair that is applied with no predefined name, type, or namespace. Exists for cross-compatibility only. For more information, see Resource Tags.

        Example: {"Department": "Finance"}

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

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

        Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

        Example: {"Operations": {"CostCenter": "42"}}

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