Class ServiceChainMapping.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of ServiceChainMapping.
    • Method Detail

      • setDirection

        public ServiceChainMapping.Builder setDirection​(java.lang.String direction)
        Possible values are: Each ServiceChain has forward_path_service_profiles and reverse_path_service_profiles. This property will indicate which of them being used. FORWARD - forward_path_service_profiles REVERSE - reverse_path_service_profiles This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        direction - New value for the property.
      • setServiceChainId

        public ServiceChainMapping.Builder setServiceChainId​(java.lang.String serviceChainId)
        A unique id generated for every ServiceChain. This is not a uuid. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        serviceChainId - New value for the property.
      • setServiceIndex

        public ServiceChainMapping.Builder setServiceIndex​(java.lang.Long serviceIndex)
        Service Index represents a numerical position of a ServiceInsertionServiceProfile in a ServiceChain. It will be in reverse order. Service Index can point to either forward_path_service_profiles or reverse_path_service_profiles indicated by direction property. Example - For a ServiceChain A-B-C, A will have index of 3, B will have index of 2 and C will have index of 1. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        serviceIndex - New value for the property.