Class CreateCpeDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public CreateCpeDetails.Builder compartmentId​(String compartmentId)
        The OCID of the compartment to contain the CPE.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • definedTags

        public CreateCpeDetails.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
      • displayName

        public CreateCpeDetails.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
      • freeformTags

        public CreateCpeDetails.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
      • ipAddress

        public CreateCpeDetails.Builder ipAddress​(String ipAddress)
        The public IP address of the on-premises router.

        Example: 203.0.113.2

        Parameters:
        ipAddress - the value to set
        Returns:
        this builder
      • cpeDeviceShapeId

        public CreateCpeDetails.Builder cpeDeviceShapeId​(String cpeDeviceShapeId)
        The OCID of the CPE device type.

        You can provide a value if you want to later generate CPE device configuration content for IPSec connections that use this CPE. You can also call updateCpe later to provide a value. For a list of possible values, see listCpeDeviceShapes.

        For more information about generating CPE device configuration content, see:

        getCpeDeviceConfigContent * getIpsecCpeDeviceConfigContent * getTunnelCpeDeviceConfigContent * getTunnelCpeDeviceConfig

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

        public CreateCpeDetails.Builder isPrivate​(Boolean isPrivate)
        Indicates whether this CPE is of type private or not.
        Parameters:
        isPrivate - the value to set
        Returns:
        this builder