Class CreateCrossConnectDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

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

        public CreateCrossConnectDetails.Builder crossConnectGroupId​(String crossConnectGroupId)
        The OCID of the cross-connect group to put this cross-connect in.
        Parameters:
        crossConnectGroupId - the value to set
        Returns:
        this builder
      • definedTags

        public CreateCrossConnectDetails.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 CreateCrossConnectDetails.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
      • farCrossConnectOrCrossConnectGroupId

        public CreateCrossConnectDetails.Builder farCrossConnectOrCrossConnectGroupId​(String farCrossConnectOrCrossConnectGroupId)
        If you already have an existing cross-connect or cross-connect group at this FastConnect location, and you want this new cross-connect to be on a different router (for the purposes of redundancy), provide the OCID of that existing cross-connect or cross-connect group.
        Parameters:
        farCrossConnectOrCrossConnectGroupId - the value to set
        Returns:
        this builder
      • freeformTags

        public CreateCrossConnectDetails.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
      • locationName

        public CreateCrossConnectDetails.Builder locationName​(String locationName)
        The name of the FastConnect location where this cross-connect will be installed.

        To get a list of the available locations, see listCrossConnectLocations.

        Example: CyrusOne, Chandler, AZ

        Parameters:
        locationName - the value to set
        Returns:
        this builder
      • nearCrossConnectOrCrossConnectGroupId

        public CreateCrossConnectDetails.Builder nearCrossConnectOrCrossConnectGroupId​(String nearCrossConnectOrCrossConnectGroupId)
        If you already have an existing cross-connect or cross-connect group at this FastConnect location, and you want this new cross-connect to be on the same router, provide the OCID of that existing cross-connect or cross-connect group.
        Parameters:
        nearCrossConnectOrCrossConnectGroupId - the value to set
        Returns:
        this builder
      • portSpeedShapeName

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

        To get a list of the available port speeds, see listCrossconnectPortSpeedShapes.

        Example: 10 Gbps

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

        public CreateCrossConnectDetails.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