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

com.sap.cloud.mt.subscription.DynamicHdiDeploymentParameters Maven / Gradle / Ivy

There is a newer version: 3.3.1
Show newest version
/*
 * *************************************************************************
 *  * (C) 2019-2021 SAP SE or an SAP affiliate company. All rights reserved. *
 *  *************************************************************************
 */

package com.sap.cloud.mt.subscription;


import com.sap.cloud.mt.tools.api.ResilienceConfig;

public class DynamicHdiDeploymentParameters {
    private final String user;
    private final String password;
    private final PollingParameters polling;
    private final ResilienceConfig resilienceConfig;
    private final String url;

    public DynamicHdiDeploymentParameters(String url, String user,
                                          String password, PollingParameters polling, ResilienceConfig resilienceConfig) {
        this.url = url;
        this.user = user;
        this.password = password;
        this.polling = polling != null ? polling : PollingParameters.DEFAULT;
        this.resilienceConfig = resilienceConfig != null ? resilienceConfig : ResilienceConfig.NONE;
    }

    public String getUser() {
        return user;
    }

    public String getPassword() {
        return password;
    }

    public PollingParameters getPolling() {
        return polling;
    }

    public ResilienceConfig getResilienceConfig() {
        return resilienceConfig;
    }

    public String getUrl() {
        return url;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy