Class StreamPool.Builder

  • Enclosing class:
    StreamPool

    public static class StreamPool.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • id

        public StreamPool.Builder id​(String id)
        The OCID of the stream pool.
        Parameters:
        id - the value to set
        Returns:
        this builder
      • compartmentId

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

        public StreamPool.Builder name​(String name)
        The name of the stream pool.
        Parameters:
        name - the value to set
        Returns:
        this builder
      • lifecycleStateDetails

        public StreamPool.Builder lifecycleStateDetails​(String lifecycleStateDetails)
        Any additional details about the current state of the stream.
        Parameters:
        lifecycleStateDetails - the value to set
        Returns:
        this builder
      • timeCreated

        public StreamPool.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 StreamPool.Builder isPrivate​(Boolean isPrivate)
        True if the stream pool is private, false otherwise.

        If the stream pool is private, the streams inside the stream pool can only be accessed from inside the associated subnetId.

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

        public StreamPool.Builder endpointFqdn​(String endpointFqdn)
        The FQDN used to access the streams inside the stream pool (same FQDN as the messagesEndpoint attribute of a Stream object).

        If the stream pool is private, the FQDN is customized and can only be accessed from inside the associated subnetId, otherwise the FQDN is publicly resolvable. Depending on which protocol you attempt to use, you need to either prepend https or append the Kafka port.

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

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

        Each tag is a simple key-value pair 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 StreamPool.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