Class Cpe.Builder

  • Enclosing class:
    Cpe

    public static class Cpe.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

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

        public Cpe.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 Cpe.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 Cpe.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
      • id

        public Cpe.Builder id​(String id)
        The CPE’s Oracle ID (OCID).
        Parameters:
        id - the value to set
        Returns:
        this builder
      • ipAddress

        public Cpe.Builder ipAddress​(String ipAddress)
        The public IP address of the on-premises router.
        Parameters:
        ipAddress - the value to set
        Returns:
        this builder
      • cpeDeviceShapeId

        public Cpe.Builder cpeDeviceShapeId​(String cpeDeviceShapeId)
        The OCID of the CPE’s device type.

        The Networking service maintains a general list of CPE device types (for example, Cisco ASA). For each type, Oracle provides CPE configuration content that can help a network engineer configure the CPE. The OCID uniquely identifies the type of device. To get the OCIDs for the device types on the list, see listCpeDeviceShapes.

        For information about how to generate CPE configuration content for a CPE device type, see:

        getCpeDeviceConfigContent * getIpsecCpeDeviceConfigContent * getTunnelCpeDeviceConfigContent * getTunnelCpeDeviceConfig

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

        public Cpe.Builder timeCreated​(Date timeCreated)
        The date and time the CPE was created, in the format defined by RFC3339.

        Example: 2016-08-25T21:10:29.600Z

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

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

        public Cpe build()