Class CreateVirtualCircuitDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • bandwidthShapeName

        public CreateVirtualCircuitDetails.Builder bandwidthShapeName​(String bandwidthShapeName)
        The provisioned data rate of the connection.

        To get a list of the available bandwidth levels (that is, shapes), see listFastConnectProviderVirtualCircuitBandwidthShapes.

        Example: 10 Gbps

        Parameters:
        bandwidthShapeName - the value to set
        Returns:
        this builder
      • compartmentId

        public CreateVirtualCircuitDetails.Builder compartmentId​(String compartmentId)
        The OCID of the compartment to contain the virtual circuit.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • crossConnectMappings

        public CreateVirtualCircuitDetails.Builder crossConnectMappings​(List<CrossConnectMapping> crossConnectMappings)
        Create a CrossConnectMapping for each cross-connect or cross-connect group this virtual circuit will run on.
        Parameters:
        crossConnectMappings - the value to set
        Returns:
        this builder
      • isTransportMode

        public CreateVirtualCircuitDetails.Builder isTransportMode​(Boolean isTransportMode)
        Set to true for the virtual circuit to carry only encrypted traffic, or set to false for the virtual circuit to carry unencrypted traffic.

        If this is not set, the default is false.

        Parameters:
        isTransportMode - the value to set
        Returns:
        this builder
      • customerBgpAsn

        public CreateVirtualCircuitDetails.Builder customerBgpAsn​(Integer customerBgpAsn)
        Your BGP ASN (either public or private).

        Provide this value only if there’s a BGP session that goes from your edge router to Oracle. Otherwise, leave this empty or null.

        Parameters:
        customerBgpAsn - the value to set
        Returns:
        this builder
      • displayName

        public CreateVirtualCircuitDetails.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
      • providerName

        public CreateVirtualCircuitDetails.Builder providerName​(String providerName)
        Deprecated.

        Instead use providerServiceId. To get a list of the provider names, see listFastConnectProviderServices.

        Parameters:
        providerName - the value to set
        Returns:
        this builder
      • providerServiceId

        public CreateVirtualCircuitDetails.Builder providerServiceId​(String providerServiceId)
        The OCID of the service offered by the provider (if you’re connecting via a provider).

        To get a list of the available service offerings, see listFastConnectProviderServices.

        Parameters:
        providerServiceId - the value to set
        Returns:
        this builder
      • providerServiceName

        public CreateVirtualCircuitDetails.Builder providerServiceName​(String providerServiceName)
        Deprecated.

        Instead use providerServiceId. To get a list of the provider names, see listFastConnectProviderServices.

        Parameters:
        providerServiceName - the value to set
        Returns:
        this builder
      • region

        public CreateVirtualCircuitDetails.Builder region​(String region)
        The Oracle Cloud Infrastructure region where this virtual circuit is located.

        Example: phx

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