001/* 002 * Copyright 2012-2017 the original author or authors. 003 * 004 * Licensed under the Apache License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.apache.org/licenses/LICENSE-2.0 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016 017package org.springframework.boot.autoconfigure.influx; 018 019import org.springframework.boot.context.properties.ConfigurationProperties; 020 021/** 022 * Configuration properties for InfluxDB. 023 * 024 * @author Sergey Kuptsov 025 * @author Stephane Nicoll 026 * @since 2.0.0 027 */ 028@ConfigurationProperties(prefix = "spring.influx") 029public class InfluxDbProperties { 030 031 /** 032 * URL of the InfluxDB instance to which to connect. 033 */ 034 private String url; 035 036 /** 037 * Login user. 038 */ 039 private String user; 040 041 /** 042 * Login password. 043 */ 044 private String password; 045 046 public String getUrl() { 047 return this.url; 048 } 049 050 public void setUrl(String url) { 051 this.url = url; 052 } 053 054 public String getUser() { 055 return this.user; 056 } 057 058 public void setUser(String user) { 059 this.user = user; 060 } 061 062 public String getPassword() { 063 return this.password; 064 } 065 066 public void setPassword(String password) { 067 this.password = password; 068 } 069 070}