Package org.opennms.netmgt.snmp.proxy
Interface SNMPRequestBuilder<T>
-
- All Known Implementing Classes:
AbstractSNMPRequestBuilder
,SNMPMultiGetBuilder
,SNMPSingleGetBuilder
,SNMPWalkBuilder
,SNMPWalkWithTrackerBuilder
public interface SNMPRequestBuilder<T>
Fluent API for building SNMP requests. The methods here are common to all SNMP request types.- Author:
- jwhite
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompletableFuture<T>
execute()
SNMPRequestBuilder<T>
withDescription(String string)
SNMPRequestBuilder<T>
withLocation(String location)
SNMPRequestBuilder<T>
withSystemId(String systemId)
SNMPRequestBuilder<T>
withTimeToLive(long duration, TimeUnit unit)
SNMPRequestBuilder<T>
withTimeToLive(Long ttlInMs)
-
-
-
Method Detail
-
withLocation
SNMPRequestBuilder<T> withLocation(String location)
-
withSystemId
SNMPRequestBuilder<T> withSystemId(String systemId)
-
withDescription
SNMPRequestBuilder<T> withDescription(String string)
-
withTimeToLive
SNMPRequestBuilder<T> withTimeToLive(Long ttlInMs)
-
withTimeToLive
SNMPRequestBuilder<T> withTimeToLive(long duration, TimeUnit unit)
-
execute
CompletableFuture<T> execute()
-
-