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

com.pulumi.azurenative.web.outputs.StaticSiteDatabaseConnectionConfigurationFileOverviewResponse Maven / Gradle / Ivy

There is a newer version: 2.82.0
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.azurenative.web.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class StaticSiteDatabaseConnectionConfigurationFileOverviewResponse {
    /**
     * @return The Base64 encoding of the file contents.
     * 
     */
    private String contents;
    /**
     * @return The name of the configuration file.
     * 
     */
    private String fileName;
    /**
     * @return The type of configuration file.
     * 
     */
    private String type;

    private StaticSiteDatabaseConnectionConfigurationFileOverviewResponse() {}
    /**
     * @return The Base64 encoding of the file contents.
     * 
     */
    public String contents() {
        return this.contents;
    }
    /**
     * @return The name of the configuration file.
     * 
     */
    public String fileName() {
        return this.fileName;
    }
    /**
     * @return The type of configuration file.
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(StaticSiteDatabaseConnectionConfigurationFileOverviewResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String contents;
        private String fileName;
        private String type;
        public Builder() {}
        public Builder(StaticSiteDatabaseConnectionConfigurationFileOverviewResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.contents = defaults.contents;
    	      this.fileName = defaults.fileName;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder contents(String contents) {
            if (contents == null) {
              throw new MissingRequiredPropertyException("StaticSiteDatabaseConnectionConfigurationFileOverviewResponse", "contents");
            }
            this.contents = contents;
            return this;
        }
        @CustomType.Setter
        public Builder fileName(String fileName) {
            if (fileName == null) {
              throw new MissingRequiredPropertyException("StaticSiteDatabaseConnectionConfigurationFileOverviewResponse", "fileName");
            }
            this.fileName = fileName;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("StaticSiteDatabaseConnectionConfigurationFileOverviewResponse", "type");
            }
            this.type = type;
            return this;
        }
        public StaticSiteDatabaseConnectionConfigurationFileOverviewResponse build() {
            final var _resultValue = new StaticSiteDatabaseConnectionConfigurationFileOverviewResponse();
            _resultValue.contents = contents;
            _resultValue.fileName = fileName;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy