Class Service.Builder

  • Enclosing class:
    Service

    public static class Service.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • cidrBlock

        public Service.Builder cidrBlock​(String cidrBlock)
        A string that represents the regional public IP address ranges for the Oracle service or services covered by this Service object.

        Also known as the Service object’s service CIDR label.

        When you set up a route rule to route traffic to the service gateway, use this value as the rule's destination. See RouteTable. Also, when you set up a security list rule to cover traffic with the service gateway, use the cidrBlock value as the rule's destination (for an egress rule) or the source (for an ingress rule). See SecurityList.

        Example: oci-phx-objectstorage

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

        public Service.Builder description​(String description)
        Description of the Oracle service or services covered by this Service object.

        Example: OCI PHX Object Storage

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

        public Service.Builder id​(String id)
        The Service object’s OCID.
        Parameters:
        id - the value to set
        Returns:
        this builder
      • name

        public Service.Builder name​(String name)
        Name of the Service object.

        This name can change and is not guaranteed to be unique.

        Example: OCI PHX Object Storage

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