Class CrossConnect.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public CrossConnect.Builder compartmentId​(String compartmentId)
        The OCID of the compartment containing the cross-connect group.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • crossConnectGroupId

        public CrossConnect.Builder crossConnectGroupId​(String crossConnectGroupId)
        The OCID of the cross-connect group this cross-connect belongs to (if any).
        Parameters:
        crossConnectGroupId - the value to set
        Returns:
        this builder
      • definedTags

        public CrossConnect.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 CrossConnect.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 CrossConnect.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 CrossConnect.Builder id​(String id)
        The cross-connect’s Oracle ID (OCID).
        Parameters:
        id - the value to set
        Returns:
        this builder
      • locationName

        public CrossConnect.Builder locationName​(String locationName)
        The name of the FastConnect location where this cross-connect is installed.
        Parameters:
        locationName - the value to set
        Returns:
        this builder
      • portName

        public CrossConnect.Builder portName​(String portName)
        A string identifying the meet-me room port for this cross-connect.
        Parameters:
        portName - the value to set
        Returns:
        this builder
      • portSpeedShapeName

        public CrossConnect.Builder portSpeedShapeName​(String portSpeedShapeName)
        The port speed for this cross-connect.

        Example: 10 Gbps

        Parameters:
        portSpeedShapeName - the value to set
        Returns:
        this builder
      • customerReferenceName

        public CrossConnect.Builder customerReferenceName​(String customerReferenceName)
        A reference name or identifier for the physical fiber connection that this cross-connect uses.
        Parameters:
        customerReferenceName - the value to set
        Returns:
        this builder
      • timeCreated

        public CrossConnect.Builder timeCreated​(Date timeCreated)
        The date and time the cross-connect was created, in the format defined by RFC3339.

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

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

        public CrossConnect.Builder ociPhysicalDeviceName​(String ociPhysicalDeviceName)
        The FastConnect device that terminates the physical connection.
        Parameters:
        ociPhysicalDeviceName - the value to set
        Returns:
        this builder
      • ociLogicalDeviceName

        public CrossConnect.Builder ociLogicalDeviceName​(String ociLogicalDeviceName)
        The FastConnect device that terminates the logical connection.

        This device might be different than the device that terminates the physical connection.

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