Class PrivateEndpoint.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public PrivateEndpoint.Builder compartmentId​(String compartmentId)
        The OCID of the compartment containing this private endpoint.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • displayName

        public PrivateEndpoint.Builder displayName​(String displayName)
        A user-friendly name.

        Does not have to be unique, and it’s changeable. Avoid entering confidential information.

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

        public PrivateEndpoint.Builder description​(String description)
        Description of the private endpoint.

        Avoid entering confidential information.

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

        public PrivateEndpoint.Builder vcnId​(String vcnId)
        The OCID of the VCN for the private endpoint.
        Parameters:
        vcnId - the value to set
        Returns:
        this builder
      • subnetId

        public PrivateEndpoint.Builder subnetId​(String subnetId)
        The OCID of the subnet within the VCN for the private endpoint.
        Parameters:
        subnetId - the value to set
        Returns:
        this builder
      • sourceIps

        public PrivateEndpoint.Builder sourceIps​(List<String> sourceIps)
        The source IP addresses that Resource Manager uses to connect to your network.

        Automatically assigned by Resource Manager.

        Parameters:
        sourceIps - the value to set
        Returns:
        this builder
      • isUsedWithConfigurationSourceProvider

        public PrivateEndpoint.Builder isUsedWithConfigurationSourceProvider​(Boolean isUsedWithConfigurationSourceProvider)
        When true, allows the private endpoint to be used with a configuration source provider.
        Parameters:
        isUsedWithConfigurationSourceProvider - the value to set
        Returns:
        this builder
      • dnsZones

        public PrivateEndpoint.Builder dnsZones​(List<String> dnsZones)
        DNS zones to use for accessing private Git servers.

        For private Git server instructions, see Private Git Server. Specify DNS fully qualified domain names (FQDNs); DNS Proxy forwards related DNS FQDN queries to the consumer DNS resolver. For DNS FQDNs not specified, queries go to service provider VCN resolver. Example: abc.oraclevcn.com

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

        public PrivateEndpoint.Builder timeCreated​(Date timeCreated)
        The date and time at which the private endpoint was created.

        Format is defined by RFC3339. Example: 2020-11-25T21:10:29.600Z

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

        public PrivateEndpoint.Builder freeformTags​(Map<String,​String> freeformTags)
        Free-form tags associated with the resource.

        Each tag is a 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
      • definedTags

        public PrivateEndpoint.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
      • systemTags

        public PrivateEndpoint.Builder systemTags​(Map<String,​Map<String,​Object>> systemTags)
        The system tags associated with this resource, if any.

        The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}

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