Class CollectorRequestBuilderImpl

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

    public class CollectorRequestBuilderImpl
    extends Object
    implements org.opennms.integration.api.v1.collectors.CollectorRequestBuilder
    • 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​(String className)
        Specified by:
        withCollectorClassName in interface org.opennms.integration.api.v1.collectors.CollectorRequestBuilder
      • withTimeToLive

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

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

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

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