
com.pulumi.azurenative.migrate.outputs.WebApplicationConfigurationResponse 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.migrate.outputs;
import com.pulumi.azurenative.migrate.outputs.SecretStoreDetailsResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class WebApplicationConfigurationResponse {
/**
* @return Gets or sets the configuration file path.
*
*/
private @Nullable String filePath;
/**
* @return Gets the ID.
*
*/
private String id;
/**
* @return Gets or sets the identifier for the configuration.
*
*/
private @Nullable String identifier;
/**
* @return Gets or sets a value indicating whether the configuration is edited or not by the user.
*
*/
private @Nullable Boolean isDeploymentTimeEditable;
/**
* @return Gets or sets the configuration local file path.
*
*/
private @Nullable String localFilePath;
/**
* @return Gets or sets the configuration name.
*
*/
private @Nullable String name;
private @Nullable SecretStoreDetailsResponse secretStoreDetails;
/**
* @return Gets or sets the configuration section in the file.
*
*/
private @Nullable String section;
/**
* @return Gets or sets the configuration target file path.
*
*/
private @Nullable String targetFilePath;
/**
* @return Gets or sets the configuration type.
*
*/
private @Nullable String type;
/**
* @return Gets or sets the configuration value.
*
*/
private @Nullable String value;
private WebApplicationConfigurationResponse() {}
/**
* @return Gets or sets the configuration file path.
*
*/
public Optional filePath() {
return Optional.ofNullable(this.filePath);
}
/**
* @return Gets the ID.
*
*/
public String id() {
return this.id;
}
/**
* @return Gets or sets the identifier for the configuration.
*
*/
public Optional identifier() {
return Optional.ofNullable(this.identifier);
}
/**
* @return Gets or sets a value indicating whether the configuration is edited or not by the user.
*
*/
public Optional isDeploymentTimeEditable() {
return Optional.ofNullable(this.isDeploymentTimeEditable);
}
/**
* @return Gets or sets the configuration local file path.
*
*/
public Optional localFilePath() {
return Optional.ofNullable(this.localFilePath);
}
/**
* @return Gets or sets the configuration name.
*
*/
public Optional name() {
return Optional.ofNullable(this.name);
}
public Optional secretStoreDetails() {
return Optional.ofNullable(this.secretStoreDetails);
}
/**
* @return Gets or sets the configuration section in the file.
*
*/
public Optional section() {
return Optional.ofNullable(this.section);
}
/**
* @return Gets or sets the configuration target file path.
*
*/
public Optional targetFilePath() {
return Optional.ofNullable(this.targetFilePath);
}
/**
* @return Gets or sets the configuration type.
*
*/
public Optional type() {
return Optional.ofNullable(this.type);
}
/**
* @return Gets or sets the configuration value.
*
*/
public Optional value() {
return Optional.ofNullable(this.value);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(WebApplicationConfigurationResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String filePath;
private String id;
private @Nullable String identifier;
private @Nullable Boolean isDeploymentTimeEditable;
private @Nullable String localFilePath;
private @Nullable String name;
private @Nullable SecretStoreDetailsResponse secretStoreDetails;
private @Nullable String section;
private @Nullable String targetFilePath;
private @Nullable String type;
private @Nullable String value;
public Builder() {}
public Builder(WebApplicationConfigurationResponse defaults) {
Objects.requireNonNull(defaults);
this.filePath = defaults.filePath;
this.id = defaults.id;
this.identifier = defaults.identifier;
this.isDeploymentTimeEditable = defaults.isDeploymentTimeEditable;
this.localFilePath = defaults.localFilePath;
this.name = defaults.name;
this.secretStoreDetails = defaults.secretStoreDetails;
this.section = defaults.section;
this.targetFilePath = defaults.targetFilePath;
this.type = defaults.type;
this.value = defaults.value;
}
@CustomType.Setter
public Builder filePath(@Nullable String filePath) {
this.filePath = filePath;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("WebApplicationConfigurationResponse", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder identifier(@Nullable String identifier) {
this.identifier = identifier;
return this;
}
@CustomType.Setter
public Builder isDeploymentTimeEditable(@Nullable Boolean isDeploymentTimeEditable) {
this.isDeploymentTimeEditable = isDeploymentTimeEditable;
return this;
}
@CustomType.Setter
public Builder localFilePath(@Nullable String localFilePath) {
this.localFilePath = localFilePath;
return this;
}
@CustomType.Setter
public Builder name(@Nullable String name) {
this.name = name;
return this;
}
@CustomType.Setter
public Builder secretStoreDetails(@Nullable SecretStoreDetailsResponse secretStoreDetails) {
this.secretStoreDetails = secretStoreDetails;
return this;
}
@CustomType.Setter
public Builder section(@Nullable String section) {
this.section = section;
return this;
}
@CustomType.Setter
public Builder targetFilePath(@Nullable String targetFilePath) {
this.targetFilePath = targetFilePath;
return this;
}
@CustomType.Setter
public Builder type(@Nullable String type) {
this.type = type;
return this;
}
@CustomType.Setter
public Builder value(@Nullable String value) {
this.value = value;
return this;
}
public WebApplicationConfigurationResponse build() {
final var _resultValue = new WebApplicationConfigurationResponse();
_resultValue.filePath = filePath;
_resultValue.id = id;
_resultValue.identifier = identifier;
_resultValue.isDeploymentTimeEditable = isDeploymentTimeEditable;
_resultValue.localFilePath = localFilePath;
_resultValue.name = name;
_resultValue.secretStoreDetails = secretStoreDetails;
_resultValue.section = section;
_resultValue.targetFilePath = targetFilePath;
_resultValue.type = type;
_resultValue.value = value;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy