Class UpdateVirtualCircuitDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • bandwidthShapeName

        public UpdateVirtualCircuitDetails.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. To be updated only by the customer who owns the virtual circuit.

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

        public UpdateVirtualCircuitDetails.Builder crossConnectMappings​(List<CrossConnectMapping> crossConnectMappings)
        An array of mappings, each containing properties for a cross-connect or cross-connect group associated with this virtual circuit.

        The customer and provider can update different properties in the mapping depending on the situation. See the description of the CrossConnectMapping.

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

        public UpdateVirtualCircuitDetails.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 UpdateVirtualCircuitDetails.Builder customerBgpAsn​(Integer customerBgpAsn)
        The BGP ASN of the network at the other end of the BGP session from Oracle.

        If the BGP session is from the customer's edge router to Oracle, the required value is the customer's ASN, and it can be updated only by the customer.

        If the BGP session is from the provider's edge router to Oracle, the required value is the provider's ASN, and it can be updated only by the provider.

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

        public UpdateVirtualCircuitDetails.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
      • gatewayId

        public UpdateVirtualCircuitDetails.Builder gatewayId​(String gatewayId)
        The OCID of the Drg that this private virtual circuit uses.

        To be updated only by the customer who owns the virtual circuit.

        Parameters:
        gatewayId - the value to set
        Returns:
        this builder
      • providerState

        public UpdateVirtualCircuitDetails.Builder providerState​(UpdateVirtualCircuitDetails.ProviderState providerState)
        The provider’s state in relation to this virtual circuit.

        Relevant only if the customer is using FastConnect via a provider. ACTIVE means the provider has provisioned the virtual circuit from their end. INACTIVE means the provider has not yet provisioned the virtual circuit, or has de-provisioned it.

        To be updated only by the provider.

        Parameters:
        providerState - the value to set
        Returns:
        this builder
      • referenceComment

        public UpdateVirtualCircuitDetails.Builder referenceComment​(String referenceComment)
        Provider-supplied reference information about this virtual circuit.

        Relevant only if the customer is using FastConnect via a provider.

        To be updated only by the provider.

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