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

com.pulumi.scm.RegionArgs Maven / Gradle / Ivy

There is a newer version: 0.2.0-alpha.1732774506
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.scm;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.scm.inputs.RegionGeoLocationArgs;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class RegionArgs extends com.pulumi.resources.ResourceArgs {

    public static final RegionArgs Empty = new RegionArgs();

    /**
     * The Addresses param.
     * 
     */
    @Import(name="addresses")
    private @Nullable Output> addresses;

    /**
     * @return The Addresses param.
     * 
     */
    public Optional>> addresses() {
        return Optional.ofNullable(this.addresses);
    }

    /**
     * The Device param.
     * 
     */
    @Import(name="device")
    private @Nullable Output device;

    /**
     * @return The Device param.
     * 
     */
    public Optional> device() {
        return Optional.ofNullable(this.device);
    }

    /**
     * The Folder param.
     * 
     */
    @Import(name="folder")
    private @Nullable Output folder;

    /**
     * @return The Folder param.
     * 
     */
    public Optional> folder() {
        return Optional.ofNullable(this.folder);
    }

    /**
     * The GeoLocation param.
     * 
     */
    @Import(name="geoLocation")
    private @Nullable Output geoLocation;

    /**
     * @return The GeoLocation param.
     * 
     */
    public Optional> geoLocation() {
        return Optional.ofNullable(this.geoLocation);
    }

    /**
     * Alphanumeric string [ 0-9a-zA-Z._-]. String length must not exceed 31 characters.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Alphanumeric string [ 0-9a-zA-Z._-]. String length must not exceed 31 characters.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * The Snippet param.
     * 
     */
    @Import(name="snippet")
    private @Nullable Output snippet;

    /**
     * @return The Snippet param.
     * 
     */
    public Optional> snippet() {
        return Optional.ofNullable(this.snippet);
    }

    private RegionArgs() {}

    private RegionArgs(RegionArgs $) {
        this.addresses = $.addresses;
        this.device = $.device;
        this.folder = $.folder;
        this.geoLocation = $.geoLocation;
        this.name = $.name;
        this.snippet = $.snippet;
    }

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

    public static final class Builder {
        private RegionArgs $;

        public Builder() {
            $ = new RegionArgs();
        }

        public Builder(RegionArgs defaults) {
            $ = new RegionArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param addresses The Addresses param.
         * 
         * @return builder
         * 
         */
        public Builder addresses(@Nullable Output> addresses) {
            $.addresses = addresses;
            return this;
        }

        /**
         * @param addresses The Addresses param.
         * 
         * @return builder
         * 
         */
        public Builder addresses(List addresses) {
            return addresses(Output.of(addresses));
        }

        /**
         * @param addresses The Addresses param.
         * 
         * @return builder
         * 
         */
        public Builder addresses(String... addresses) {
            return addresses(List.of(addresses));
        }

        /**
         * @param device The Device param.
         * 
         * @return builder
         * 
         */
        public Builder device(@Nullable Output device) {
            $.device = device;
            return this;
        }

        /**
         * @param device The Device param.
         * 
         * @return builder
         * 
         */
        public Builder device(String device) {
            return device(Output.of(device));
        }

        /**
         * @param folder The Folder param.
         * 
         * @return builder
         * 
         */
        public Builder folder(@Nullable Output folder) {
            $.folder = folder;
            return this;
        }

        /**
         * @param folder The Folder param.
         * 
         * @return builder
         * 
         */
        public Builder folder(String folder) {
            return folder(Output.of(folder));
        }

        /**
         * @param geoLocation The GeoLocation param.
         * 
         * @return builder
         * 
         */
        public Builder geoLocation(@Nullable Output geoLocation) {
            $.geoLocation = geoLocation;
            return this;
        }

        /**
         * @param geoLocation The GeoLocation param.
         * 
         * @return builder
         * 
         */
        public Builder geoLocation(RegionGeoLocationArgs geoLocation) {
            return geoLocation(Output.of(geoLocation));
        }

        /**
         * @param name Alphanumeric string [ 0-9a-zA-Z._-]. String length must not exceed 31 characters.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Alphanumeric string [ 0-9a-zA-Z._-]. String length must not exceed 31 characters.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param snippet The Snippet param.
         * 
         * @return builder
         * 
         */
        public Builder snippet(@Nullable Output snippet) {
            $.snippet = snippet;
            return this;
        }

        /**
         * @param snippet The Snippet param.
         * 
         * @return builder
         * 
         */
        public Builder snippet(String snippet) {
            return snippet(Output.of(snippet));
        }

        public RegionArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy