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

com.pulumi.azure.appservice.outputs.GetLinuxWebAppStickySetting Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
Show newest version
// *** 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 com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;

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

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

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

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

        @CustomType.Setter
        public Builder appSettingNames(List appSettingNames) {
            if (appSettingNames == null) {
              throw new MissingRequiredPropertyException("GetLinuxWebAppStickySetting", "appSettingNames");
            }
            this.appSettingNames = appSettingNames;
            return this;
        }
        public Builder appSettingNames(String... appSettingNames) {
            return appSettingNames(List.of(appSettingNames));
        }
        @CustomType.Setter
        public Builder connectionStringNames(List connectionStringNames) {
            if (connectionStringNames == null) {
              throw new MissingRequiredPropertyException("GetLinuxWebAppStickySetting", "connectionStringNames");
            }
            this.connectionStringNames = connectionStringNames;
            return this;
        }
        public Builder connectionStringNames(String... connectionStringNames) {
            return connectionStringNames(List.of(connectionStringNames));
        }
        public GetLinuxWebAppStickySetting build() {
            final var _resultValue = new GetLinuxWebAppStickySetting();
            _resultValue.appSettingNames = appSettingNames;
            _resultValue.connectionStringNames = connectionStringNames;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy