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 java.util.concurrent.CompletableFuture<T>
execute()
SNMPRequestBuilder<T>
withDescription(java.lang.String string)
SNMPRequestBuilder<T>
withLocation(java.lang.String location)
SNMPRequestBuilder<T>
withSystemId(java.lang.String systemId)
SNMPRequestBuilder<T>
withTimeToLive(long duration, java.util.concurrent.TimeUnit unit)
SNMPRequestBuilder<T>
withTimeToLive(java.lang.Long ttlInMs)
-
-
-
Method Detail
-
withLocation
SNMPRequestBuilder<T> withLocation(java.lang.String location)
-
withSystemId
SNMPRequestBuilder<T> withSystemId(java.lang.String systemId)
-
withDescription
SNMPRequestBuilder<T> withDescription(java.lang.String string)
-
withTimeToLive
SNMPRequestBuilder<T> withTimeToLive(java.lang.Long ttlInMs)
-
withTimeToLive
SNMPRequestBuilder<T> withTimeToLive(long duration, java.util.concurrent.TimeUnit unit)
-
execute
java.util.concurrent.CompletableFuture<T> execute()
-
-