com.pulumi.azure.nginx.inputs.ConfigurationProtectedFileArgs 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.nginx.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class ConfigurationProtectedFileArgs extends com.pulumi.resources.ResourceArgs {
public static final ConfigurationProtectedFileArgs Empty = new ConfigurationProtectedFileArgs();
/**
* Specifies the base-64 encoded contents of this config file (Sensitive).
*
*/
@Import(name="content", required=true)
private Output content;
/**
* @return Specifies the base-64 encoded contents of this config file (Sensitive).
*
*/
public Output content() {
return this.content;
}
/**
* Specifies the path of this config file.
*
*/
@Import(name="virtualPath", required=true)
private Output virtualPath;
/**
* @return Specifies the path of this config file.
*
*/
public Output virtualPath() {
return this.virtualPath;
}
private ConfigurationProtectedFileArgs() {}
private ConfigurationProtectedFileArgs(ConfigurationProtectedFileArgs $) {
this.content = $.content;
this.virtualPath = $.virtualPath;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ConfigurationProtectedFileArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private ConfigurationProtectedFileArgs $;
public Builder() {
$ = new ConfigurationProtectedFileArgs();
}
public Builder(ConfigurationProtectedFileArgs defaults) {
$ = new ConfigurationProtectedFileArgs(Objects.requireNonNull(defaults));
}
/**
* @param content Specifies the base-64 encoded contents of this config file (Sensitive).
*
* @return builder
*
*/
public Builder content(Output content) {
$.content = content;
return this;
}
/**
* @param content Specifies the base-64 encoded contents of this config file (Sensitive).
*
* @return builder
*
*/
public Builder content(String content) {
return content(Output.of(content));
}
/**
* @param virtualPath Specifies the path of this config file.
*
* @return builder
*
*/
public Builder virtualPath(Output virtualPath) {
$.virtualPath = virtualPath;
return this;
}
/**
* @param virtualPath Specifies the path of this config file.
*
* @return builder
*
*/
public Builder virtualPath(String virtualPath) {
return virtualPath(Output.of(virtualPath));
}
public ConfigurationProtectedFileArgs build() {
if ($.content == null) {
throw new MissingRequiredPropertyException("ConfigurationProtectedFileArgs", "content");
}
if ($.virtualPath == null) {
throw new MissingRequiredPropertyException("ConfigurationProtectedFileArgs", "virtualPath");
}
return $;
}
}
}