@InterfaceAudience.Public public final class CoprocessorDescriptorBuilder extends Object
CoprocessorDescriptor
Modifier and Type | Method and Description |
---|---|
CoprocessorDescriptor |
build() |
static CoprocessorDescriptorBuilder |
newBuilder(String className) |
static CoprocessorDescriptor |
of(String className) |
CoprocessorDescriptorBuilder |
setJarPath(String jarPath) |
CoprocessorDescriptorBuilder |
setPriority(int priority) |
CoprocessorDescriptorBuilder |
setProperties(Map<String,String> properties) |
CoprocessorDescriptorBuilder |
setProperty(String key,
String value) |
public static CoprocessorDescriptor of(String className)
public static CoprocessorDescriptorBuilder newBuilder(String className)
public CoprocessorDescriptorBuilder setJarPath(String jarPath)
public CoprocessorDescriptorBuilder setPriority(int priority)
public CoprocessorDescriptorBuilder setProperty(String key, String value)
public CoprocessorDescriptorBuilder setProperties(Map<String,String> properties)
public CoprocessorDescriptor build()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.