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

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

There is a newer version: 3.3.1
Show newest version
/*******************************************************************************
 *   © 2019-2024 SAP SE or an SAP affiliate company. All rights reserved.
 ******************************************************************************/
package com.sap.cloud.mt.subscription;


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

import java.util.Map;

public class ServiceCreateOptions {

    private Map provisioningParameters = null;
    private Map bindingParameters = null;

    public ServiceCreateOptions() {
    }

    public ServiceCreateOptions(InstanceCreationOptions instanceCreationOptions) {
        if (instanceCreationOptions != null) {
            this.provisioningParameters = instanceCreationOptions.getProvisioningParameters();
            this.bindingParameters = instanceCreationOptions.getBindingParameters();
        }
    }

    public Map getProvisioningParameters() {
        return provisioningParameters;
    }

    public ServiceCreateOptions withProvisioningParameters(Map provisioningParameters) {
        this.provisioningParameters = provisioningParameters;
        return this;
    }

    public Map getBindingParameters() {
        return bindingParameters;
    }

    public ServiceCreateOptions withBindingParameters(Map bindingParameters) {
        this.bindingParameters = bindingParameters;
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy