Class CrossConnectMapping.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • bgpMd5AuthKey

        public CrossConnectMapping.Builder bgpMd5AuthKey​(String bgpMd5AuthKey)
        The key for BGP MD5 authentication.

        Only applicable if your system requires MD5 authentication. If empty or not set (null), that means you don’t use BGP MD5 authentication.

        Parameters:
        bgpMd5AuthKey - the value to set
        Returns:
        this builder
      • crossConnectOrCrossConnectGroupId

        public CrossConnectMapping.Builder crossConnectOrCrossConnectGroupId​(String crossConnectOrCrossConnectGroupId)
        The OCID of the cross-connect or cross-connect group for this mapping.

        Specified by the owner of the cross-connect or cross-connect group (the customer if the customer is colocated with Oracle, or the provider if the customer is connecting via provider).

        Parameters:
        crossConnectOrCrossConnectGroupId - the value to set
        Returns:
        this builder
      • customerBgpPeeringIp

        public CrossConnectMapping.Builder customerBgpPeeringIp​(String customerBgpPeeringIp)
        The BGP IPv4 address for the router on the other end of the BGP session from Oracle.

        Specified by the owner of that router. If the session goes from Oracle to a customer, this is the BGP IPv4 address of the customer’s edge router. If the session goes from Oracle to a provider, this is the BGP IPv4 address of the provider’s edge router. Must use a subnet mask from /28 to /31.

        There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 addresses.

        Example: 10.0.0.18/31

        Parameters:
        customerBgpPeeringIp - the value to set
        Returns:
        this builder
      • oracleBgpPeeringIp

        public CrossConnectMapping.Builder oracleBgpPeeringIp​(String oracleBgpPeeringIp)
        The IPv4 address for Oracle’s end of the BGP session.

        Must use a subnet mask from /28 to /31. If the session goes from Oracle to a customer’s edge router, the customer specifies this information. If the session goes from Oracle to a provider’s edge router, the provider specifies this.

        There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 addresses.

        Example: 10.0.0.19/31

        Parameters:
        oracleBgpPeeringIp - the value to set
        Returns:
        this builder
      • customerBgpPeeringIpv6

        public CrossConnectMapping.Builder customerBgpPeeringIpv6​(String customerBgpPeeringIpv6)
        The BGP IPv6 address for the router on the other end of the BGP session from Oracle.

        Specified by the owner of that router. If the session goes from Oracle to a customer, this is the BGP IPv6 address of the customer’s edge router. If the session goes from Oracle to a provider, this is the BGP IPv6 address of the provider’s edge router. Only subnet masks from /64 up to /127 are allowed.

        There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv6 addresses.

        IPv6 addressing is supported for all commercial and government regions. See [IPv6 Addresses](https://docs.oracle.com/iaas/Content/Network/Concepts/ipv6.htm).

        Example: 2001:db8::1/64

        Parameters:
        customerBgpPeeringIpv6 - the value to set
        Returns:
        this builder
      • oracleBgpPeeringIpv6

        public CrossConnectMapping.Builder oracleBgpPeeringIpv6​(String oracleBgpPeeringIpv6)
        The IPv6 address for Oracle’s end of the BGP session.

        Only subnet masks from /64 up to /127 are allowed. If the session goes from Oracle to a customer’s edge router, the customer specifies this information. If the session goes from Oracle to a provider’s edge router, the provider specifies this.

        There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv6 addresses.

        Note that IPv6 addressing is currently supported only in certain regions. See [IPv6 Addresses](https://docs.oracle.com/iaas/Content/Network/Concepts/ipv6.htm).

        Example: 2001:db8::2/64

        Parameters:
        oracleBgpPeeringIpv6 - the value to set
        Returns:
        this builder
      • vlan

        public CrossConnectMapping.Builder vlan​(Integer vlan)
        The number of the specific VLAN (on the cross-connect or cross-connect group) that is assigned to this virtual circuit.

        Specified by the owner of the cross-connect or cross-connect group (the customer if the customer is colocated with Oracle, or the provider if the customer is connecting via provider).

        Example: 200

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