/** * @param app * The application context of the service. */ public void setApp(String app) { this.app = app; // for backward compatibility this.put("app", app); }
/** * @param cookie * A valid login cookie. */ public void setCookie(String cookie) { this.put("cookie", cookie); } }
/** * @param password * The password to use when logging in. */ public void setPassword(String password) { this.put("password", password); }
/** * @param username * The username to use when logging in. */ public void setUsername(String username) { this.put("username", username); }
/** * @param handler * A URLStreamHandler to handle HTTPS requests for the service. */ public void setHTTPSHandler(URLStreamHandler handler) { this.put("httpsHandler", handler); }
/** * @param owner * The owner context of the service. */ public void setOwner(String owner) { this.owner = owner; // for backward compatibility this.put("owner", owner); }
/** * @param port * The port number of the service. */ public void setPort(int port) { this.port = port; // for backward compatibility this.put("port", port); }
/** * @param token * A Splunk authentication token to use for the session. */ public void setToken(String token) { this.token = token; // for backward compatibility this.put("token", token); }
/** * @param host * The host name of the service. */ public void setHost(String host) { this.host = host; // for backward compatibility this.put("host", host); }
/** * @param scheme * The scheme to use for accessing the service. */ public void setScheme(String scheme) { this.scheme = scheme; // for backward compatibility this.put("scheme", scheme); }
/** * @param securityProtocol * The SSL security protocol for the service. */ public void setSSLSecurityProtocol(SSLSecurityProtocol securityProtocol) { this.put("SSLSecurityProtocol", securityProtocol); }