All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.gitee.summer9102.develop.alibaba.elasticsearch.AliElasticsearchProperties Maven / Gradle / Ivy

The newest version!
package com.gitee.summer9102.develop.alibaba.elasticsearch;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "ali.elasticsearch")
public class AliElasticsearchProperties {
    /**
     * 是否启用
     */
    private boolean enabled = false;
    private String hostname;
    private int port;
    private String username;
    private String password;

    public boolean isEnabled() {
        return enabled;
    }

    public void setEnabled(boolean enabled) {
        this.enabled = enabled;
    }

    public String getHostname() {
        return hostname;
    }

    public void setHostname(String hostname) {
        this.hostname = hostname;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy