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

com.pulumi.azurenative.servicelinker.outputs.ConfigurationInfoResponse Maven / Gradle / Ivy

// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.azurenative.servicelinker.outputs;

import com.pulumi.azurenative.servicelinker.outputs.DaprPropertiesResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class ConfigurationInfoResponse {
    /**
     * @return Optional, indicate whether to apply configurations on source application. If enable, generate configurations and applied to the source application. Default is enable. If optOut, no configuration change will be made on source.
     * 
     */
    private @Nullable String action;
    /**
     * @return A dictionary of additional configurations to be added. Service will auto generate a set of basic configurations and this property is to full fill more customized configurations
     * 
     */
    private @Nullable Map additionalConfigurations;
    /**
     * @return Optional. A dictionary of default key name and customized key name mapping. If not specified, default key name will be used for generate configurations
     * 
     */
    private @Nullable Map customizedKeys;
    /**
     * @return Indicates some additional properties for dapr client type
     * 
     */
    private @Nullable DaprPropertiesResponse daprProperties;
    /**
     * @return Indicates whether to clean up previous operation when Linker is updating or deleting
     * 
     */
    private @Nullable String deleteOrUpdateBehavior;

    private ConfigurationInfoResponse() {}
    /**
     * @return Optional, indicate whether to apply configurations on source application. If enable, generate configurations and applied to the source application. Default is enable. If optOut, no configuration change will be made on source.
     * 
     */
    public Optional action() {
        return Optional.ofNullable(this.action);
    }
    /**
     * @return A dictionary of additional configurations to be added. Service will auto generate a set of basic configurations and this property is to full fill more customized configurations
     * 
     */
    public Map additionalConfigurations() {
        return this.additionalConfigurations == null ? Map.of() : this.additionalConfigurations;
    }
    /**
     * @return Optional. A dictionary of default key name and customized key name mapping. If not specified, default key name will be used for generate configurations
     * 
     */
    public Map customizedKeys() {
        return this.customizedKeys == null ? Map.of() : this.customizedKeys;
    }
    /**
     * @return Indicates some additional properties for dapr client type
     * 
     */
    public Optional daprProperties() {
        return Optional.ofNullable(this.daprProperties);
    }
    /**
     * @return Indicates whether to clean up previous operation when Linker is updating or deleting
     * 
     */
    public Optional deleteOrUpdateBehavior() {
        return Optional.ofNullable(this.deleteOrUpdateBehavior);
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(ConfigurationInfoResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String action;
        private @Nullable Map additionalConfigurations;
        private @Nullable Map customizedKeys;
        private @Nullable DaprPropertiesResponse daprProperties;
        private @Nullable String deleteOrUpdateBehavior;
        public Builder() {}
        public Builder(ConfigurationInfoResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.action = defaults.action;
    	      this.additionalConfigurations = defaults.additionalConfigurations;
    	      this.customizedKeys = defaults.customizedKeys;
    	      this.daprProperties = defaults.daprProperties;
    	      this.deleteOrUpdateBehavior = defaults.deleteOrUpdateBehavior;
        }

        @CustomType.Setter
        public Builder action(@Nullable String action) {

            this.action = action;
            return this;
        }
        @CustomType.Setter
        public Builder additionalConfigurations(@Nullable Map additionalConfigurations) {

            this.additionalConfigurations = additionalConfigurations;
            return this;
        }
        @CustomType.Setter
        public Builder customizedKeys(@Nullable Map customizedKeys) {

            this.customizedKeys = customizedKeys;
            return this;
        }
        @CustomType.Setter
        public Builder daprProperties(@Nullable DaprPropertiesResponse daprProperties) {

            this.daprProperties = daprProperties;
            return this;
        }
        @CustomType.Setter
        public Builder deleteOrUpdateBehavior(@Nullable String deleteOrUpdateBehavior) {

            this.deleteOrUpdateBehavior = deleteOrUpdateBehavior;
            return this;
        }
        public ConfigurationInfoResponse build() {
            final var _resultValue = new ConfigurationInfoResponse();
            _resultValue.action = action;
            _resultValue.additionalConfigurations = additionalConfigurations;
            _resultValue.customizedKeys = customizedKeys;
            _resultValue.daprProperties = daprProperties;
            _resultValue.deleteOrUpdateBehavior = deleteOrUpdateBehavior;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy