package com.webank.wecube.platform.core.entity.plugin;

public class PluginInstances {
    public static final String CONTAINER_STATUS_RUNNING = "RUNNING";
    public static final String CONTAINER_STATUS_REMOVED = "REMOVED";
    private String id;

    private String host;

    private String containerName;

    private Integer port;

    private String containerStatus;

    private String packageId;

    private String dockerInstanceResourceId;

    private String instanceName;

    private String pluginMysqlInstanceResourceId;

    private String s3bucketResourceId;

    private transient PluginPackages pluginPackage;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host == null ? null : host.trim();
    }

    public String getContainerName() {
        return containerName;
    }

    public void setContainerName(String containerName) {
        this.containerName = containerName == null ? null : containerName.trim();
    }

    public Integer getPort() {
        return port;
    }

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

    public String getContainerStatus() {
        return containerStatus;
    }

    public void setContainerStatus(String containerStatus) {
        this.containerStatus = containerStatus == null ? null : containerStatus.trim();
    }

    public String getPackageId() {
        return packageId;
    }

    public void setPackageId(String packageId) {
        this.packageId = packageId == null ? null : packageId.trim();
    }

    public String getDockerInstanceResourceId() {
        return dockerInstanceResourceId;
    }

    public void setDockerInstanceResourceId(String dockerInstanceResourceId) {
        this.dockerInstanceResourceId = dockerInstanceResourceId == null ? null : dockerInstanceResourceId.trim();
    }

    public String getInstanceName() {
        return instanceName;
    }

    public void setInstanceName(String instanceName) {
        this.instanceName = instanceName == null ? null : instanceName.trim();
    }

    public String getPluginMysqlInstanceResourceId() {
        return pluginMysqlInstanceResourceId;
    }

    public void setPluginMysqlInstanceResourceId(String pluginMysqlInstanceResourceId) {
        this.pluginMysqlInstanceResourceId = pluginMysqlInstanceResourceId == null ? null
                : pluginMysqlInstanceResourceId.trim();
    }

    public String getS3bucketResourceId() {
        return s3bucketResourceId;
    }

    public void setS3bucketResourceId(String s3bucketResourceId) {
        this.s3bucketResourceId = s3bucketResourceId == null ? null : s3bucketResourceId.trim();
    }

    public PluginPackages getPluginPackage() {
        return pluginPackage;
    }

    public void setPluginPackage(PluginPackages pluginPackage) {
        this.pluginPackage = pluginPackage;
    }

}