Class PollerRequestBuilderImpl

  • All Implemented Interfaces:
    org.opennms.integration.api.v1.pollers.PollerRequestBuilder

    public class PollerRequestBuilderImpl
    extends java.lang.Object
    implements org.opennms.integration.api.v1.pollers.PollerRequestBuilder
    Builder implementation for ServicePollerClient.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.concurrent.CompletableFuture<org.opennms.integration.api.v1.pollers.PollerResult> execute()  
      org.opennms.integration.api.v1.pollers.PollerRequestBuilder withAddress​(java.net.InetAddress address)  
      org.opennms.integration.api.v1.pollers.PollerRequestBuilder withAttribute​(java.lang.String key, java.lang.String value)  
      org.opennms.integration.api.v1.pollers.PollerRequestBuilder withAttributes​(java.util.Map<java.lang.String,​java.lang.String> attributes)  
      org.opennms.integration.api.v1.pollers.PollerRequestBuilder withPollerClassName​(java.lang.String className)  
      org.opennms.integration.api.v1.pollers.PollerRequestBuilder withServiceName​(java.lang.String serviceName)  
      org.opennms.integration.api.v1.pollers.PollerRequestBuilder withTimeToLive​(java.lang.Long ttlInMs)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • withPollerClassName

        public org.opennms.integration.api.v1.pollers.PollerRequestBuilder withPollerClassName​(java.lang.String className)
        Specified by:
        withPollerClassName in interface org.opennms.integration.api.v1.pollers.PollerRequestBuilder
      • withAddress

        public org.opennms.integration.api.v1.pollers.PollerRequestBuilder withAddress​(java.net.InetAddress address)
        Specified by:
        withAddress in interface org.opennms.integration.api.v1.pollers.PollerRequestBuilder
      • withServiceName

        public org.opennms.integration.api.v1.pollers.PollerRequestBuilder withServiceName​(java.lang.String serviceName)
        Specified by:
        withServiceName in interface org.opennms.integration.api.v1.pollers.PollerRequestBuilder
      • withAttribute

        public org.opennms.integration.api.v1.pollers.PollerRequestBuilder withAttribute​(java.lang.String key,
                                                                                         java.lang.String value)
        Specified by:
        withAttribute in interface org.opennms.integration.api.v1.pollers.PollerRequestBuilder
      • withAttributes

        public org.opennms.integration.api.v1.pollers.PollerRequestBuilder withAttributes​(java.util.Map<java.lang.String,​java.lang.String> attributes)
        Specified by:
        withAttributes in interface org.opennms.integration.api.v1.pollers.PollerRequestBuilder
      • withTimeToLive

        public org.opennms.integration.api.v1.pollers.PollerRequestBuilder withTimeToLive​(java.lang.Long ttlInMs)
        Specified by:
        withTimeToLive in interface org.opennms.integration.api.v1.pollers.PollerRequestBuilder
      • execute

        public java.util.concurrent.CompletableFuture<org.opennms.integration.api.v1.pollers.PollerResult> execute()
        Specified by:
        execute in interface org.opennms.integration.api.v1.pollers.PollerRequestBuilder