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

com.pulumi.azure.appservice.outputs.WindowsWebAppStickySettings 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.azure.appservice.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;

@CustomType
public final class WindowsWebAppStickySettings {
    /**
     * @return A list of `app_setting` names that the Windows Web App will not swap between Slots when a swap operation is triggered.
     * 
     */
    private @Nullable List appSettingNames;
    /**
     * @return A list of `connection_string` names that the Windows Web App will not swap between Slots when a swap operation is triggered.
     * 
     */
    private @Nullable List connectionStringNames;

    private WindowsWebAppStickySettings() {}
    /**
     * @return A list of `app_setting` names that the Windows Web App will not swap between Slots when a swap operation is triggered.
     * 
     */
    public List appSettingNames() {
        return this.appSettingNames == null ? List.of() : this.appSettingNames;
    }
    /**
     * @return A list of `connection_string` names that the Windows Web App will not swap between Slots when a swap operation is triggered.
     * 
     */
    public List connectionStringNames() {
        return this.connectionStringNames == null ? List.of() : this.connectionStringNames;
    }

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

    public static Builder builder(WindowsWebAppStickySettings defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List appSettingNames;
        private @Nullable List connectionStringNames;
        public Builder() {}
        public Builder(WindowsWebAppStickySettings defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.appSettingNames = defaults.appSettingNames;
    	      this.connectionStringNames = defaults.connectionStringNames;
        }

        @CustomType.Setter
        public Builder appSettingNames(@Nullable List appSettingNames) {

            this.appSettingNames = appSettingNames;
            return this;
        }
        public Builder appSettingNames(String... appSettingNames) {
            return appSettingNames(List.of(appSettingNames));
        }
        @CustomType.Setter
        public Builder connectionStringNames(@Nullable List connectionStringNames) {

            this.connectionStringNames = connectionStringNames;
            return this;
        }
        public Builder connectionStringNames(String... connectionStringNames) {
            return connectionStringNames(List.of(connectionStringNames));
        }
        public WindowsWebAppStickySettings build() {
            final var _resultValue = new WindowsWebAppStickySettings();
            _resultValue.appSettingNames = appSettingNames;
            _resultValue.connectionStringNames = connectionStringNames;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy