Interface SnmpEndpointBuilderFactory.SnmpEndpointProducerBuilder

  • All Superinterfaces:
    org.apache.camel.builder.EndpointProducerBuilder, org.apache.camel.EndpointProducerResolver
    All Known Subinterfaces:
    SnmpEndpointBuilderFactory.SnmpEndpointBuilder
    Enclosing interface:
    SnmpEndpointBuilderFactory

    public static interface SnmpEndpointBuilderFactory.SnmpEndpointProducerBuilder
    extends org.apache.camel.builder.EndpointProducerBuilder
    Builder for endpoint producers for the SNMP component.
    • Method Detail

      • oids

        default SnmpEndpointBuilderFactory.SnmpEndpointProducerBuilder oids​(Object oids)
        Defines which values you are interested in. Please have a look at the Wikipedia to get a better understanding. You may provide a single OID or a coma separated list of OIDs. Example: oids=1.3.6.1.2.1.1.3.0,1.3.6.1.2.1.25.3.2.1.5.1,1.3.6.1.2.1.25.3.5.1.1.1,1.3.6.1.2.1.43.5.1.1.11.1. The option is a: org.apache.camel.component.snmp.OIDList type. Group: common
      • oids

        default SnmpEndpointBuilderFactory.SnmpEndpointProducerBuilder oids​(String oids)
        Defines which values you are interested in. Please have a look at the Wikipedia to get a better understanding. You may provide a single OID or a coma separated list of OIDs. Example: oids=1.3.6.1.2.1.1.3.0,1.3.6.1.2.1.25.3.2.1.5.1,1.3.6.1.2.1.25.3.5.1.1.1,1.3.6.1.2.1.43.5.1.1.11.1. The option will be converted to a org.apache.camel.component.snmp.OIDList type. Group: common
      • snmpVersion

        default SnmpEndpointBuilderFactory.SnmpEndpointProducerBuilder snmpVersion​(int snmpVersion)
        Sets the snmp version for the request. The value 0 means SNMPv1, 1 means SNMPv2c, and the value 3 means SNMPv3. The option is a: int type. Default: 0 Group: common
      • lazyStartProducer

        default SnmpEndpointBuilderFactory.SnmpEndpointProducerBuilder lazyStartProducer​(boolean lazyStartProducer)
        Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option is a: boolean type. Default: false Group: producer
      • lazyStartProducer

        default SnmpEndpointBuilderFactory.SnmpEndpointProducerBuilder lazyStartProducer​(String lazyStartProducer)
        Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option will be converted to a boolean type. Default: false Group: producer
      • authenticationPassphrase

        default SnmpEndpointBuilderFactory.SnmpEndpointProducerBuilder authenticationPassphrase​(String authenticationPassphrase)
        The authentication passphrase. If not null, authenticationProtocol must also be not null. RFC3414 11.2 requires passphrases to have a minimum length of 8 bytes. If the length of authenticationPassphrase is less than 8 bytes an IllegalArgumentException is thrown. The option is a: java.lang.String type. Group: security
      • authenticationProtocol

        default SnmpEndpointBuilderFactory.SnmpEndpointProducerBuilder authenticationProtocol​(String authenticationProtocol)
        Authentication protocol to use if security level is set to enable authentication The possible values are: MD5, SHA1. The option is a: java.lang.String type. Group: security
      • privacyPassphrase

        default SnmpEndpointBuilderFactory.SnmpEndpointProducerBuilder privacyPassphrase​(String privacyPassphrase)
        The privacy passphrase. If not null, privacyProtocol must also be not null. RFC3414 11.2 requires passphrases to have a minimum length of 8 bytes. If the length of authenticationPassphrase is less than 8 bytes an IllegalArgumentException is thrown. The option is a: java.lang.String type. Group: security
      • privacyProtocol

        default SnmpEndpointBuilderFactory.SnmpEndpointProducerBuilder privacyProtocol​(String privacyProtocol)
        The privacy protocol ID to be associated with this user. If set to null, this user only supports unencrypted messages. The option is a: java.lang.String type. Group: security
      • securityLevel

        default SnmpEndpointBuilderFactory.SnmpEndpointProducerBuilder securityLevel​(int securityLevel)
        Sets the security level for this target. The supplied security level must be supported by the security model dependent information associated with the security name set for this target. The value 1 means: No authentication and no encryption. Anyone can create and read messages with this security level The value 2 means: Authentication and no encryption. Only the one with the right authentication key can create messages with this security level, but anyone can read the contents of the message. The value 3 means: Authentication and encryption. Only the one with the right authentication key can create messages with this security level, and only the one with the right encryption/decryption key can read the contents of the message. The option is a: int type. Default: 3 Group: security
      • securityLevel

        default SnmpEndpointBuilderFactory.SnmpEndpointProducerBuilder securityLevel​(String securityLevel)
        Sets the security level for this target. The supplied security level must be supported by the security model dependent information associated with the security name set for this target. The value 1 means: No authentication and no encryption. Anyone can create and read messages with this security level The value 2 means: Authentication and no encryption. Only the one with the right authentication key can create messages with this security level, but anyone can read the contents of the message. The value 3 means: Authentication and encryption. Only the one with the right authentication key can create messages with this security level, and only the one with the right encryption/decryption key can read the contents of the message. The option will be converted to a int type. Default: 3 Group: security