Class CollectorRequestBuilderImpl

  • All Implemented Interfaces:
    org.opennms.integration.api.v1.collectors.CollectorRequestBuilder

    public class CollectorRequestBuilderImpl
    extends java.lang.Object
    implements org.opennms.integration.api.v1.collectors.CollectorRequestBuilder
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.concurrent.CompletableFuture<org.opennms.integration.api.v1.collectors.CollectionSet> execute()  
      org.opennms.integration.api.v1.collectors.CollectorRequestBuilder withAttribute​(java.lang.String key, java.lang.Object value)  
      org.opennms.integration.api.v1.collectors.CollectorRequestBuilder withAttributes​(java.util.Map<java.lang.String,​java.lang.Object> attributes)  
      org.opennms.integration.api.v1.collectors.CollectorRequestBuilder withCollectorClassName​(java.lang.String className)  
      org.opennms.integration.api.v1.collectors.CollectorRequestBuilder withRequest​(org.opennms.integration.api.v1.collectors.CollectionRequest request)  
      org.opennms.integration.api.v1.collectors.CollectorRequestBuilder 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

      • withRequest

        public org.opennms.integration.api.v1.collectors.CollectorRequestBuilder withRequest​(org.opennms.integration.api.v1.collectors.CollectionRequest request)
        Specified by:
        withRequest in interface org.opennms.integration.api.v1.collectors.CollectorRequestBuilder
      • withCollectorClassName

        public org.opennms.integration.api.v1.collectors.CollectorRequestBuilder withCollectorClassName​(java.lang.String className)
        Specified by:
        withCollectorClassName in interface org.opennms.integration.api.v1.collectors.CollectorRequestBuilder
      • withTimeToLive

        public org.opennms.integration.api.v1.collectors.CollectorRequestBuilder withTimeToLive​(java.lang.Long ttlInMs)
        Specified by:
        withTimeToLive in interface org.opennms.integration.api.v1.collectors.CollectorRequestBuilder
      • withAttribute

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

        public org.opennms.integration.api.v1.collectors.CollectorRequestBuilder withAttributes​(java.util.Map<java.lang.String,​java.lang.Object> attributes)
        Specified by:
        withAttributes in interface org.opennms.integration.api.v1.collectors.CollectorRequestBuilder
      • execute

        public java.util.concurrent.CompletableFuture<org.opennms.integration.api.v1.collectors.CollectionSet> execute()
        Specified by:
        execute in interface org.opennms.integration.api.v1.collectors.CollectorRequestBuilder