com.pulumi.azure.appservice.outputs.LinuxWebAppStickySettings Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
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.
// *** 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 LinuxWebAppStickySettings {
/**
* @return A list of `app_setting` names that the Linux 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 Linux Web App will not swap between Slots when a swap operation is triggered.
*
*/
private @Nullable List connectionStringNames;
private LinuxWebAppStickySettings() {}
/**
* @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 == null ? List.of() : 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 == null ? List.of() : this.connectionStringNames;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(LinuxWebAppStickySettings defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List appSettingNames;
private @Nullable List connectionStringNames;
public Builder() {}
public Builder(LinuxWebAppStickySettings 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 LinuxWebAppStickySettings build() {
final var _resultValue = new LinuxWebAppStickySettings();
_resultValue.appSettingNames = appSettingNames;
_resultValue.connectionStringNames = connectionStringNames;
return _resultValue;
}
}
}