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

com.pulumi.kubernetes.discovery.v1.inputs.ForZoneArgs Maven / Gradle / Ivy

There is a newer version: 4.19.0-alpha.1730750641
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.kubernetes.discovery.v1.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;


/**
 * ForZone provides information about which zones should consume this endpoint.
 * 
 */
public final class ForZoneArgs extends com.pulumi.resources.ResourceArgs {

    public static final ForZoneArgs Empty = new ForZoneArgs();

    /**
     * name represents the name of the zone.
     * 
     */
    @Import(name="name", required=true)
    private Output name;

    /**
     * @return name represents the name of the zone.
     * 
     */
    public Output name() {
        return this.name;
    }

    private ForZoneArgs() {}

    private ForZoneArgs(ForZoneArgs $) {
        this.name = $.name;
    }

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

    public static final class Builder {
        private ForZoneArgs $;

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

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

        /**
         * @param name name represents the name of the zone.
         * 
         * @return builder
         * 
         */
        public Builder name(Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name name represents the name of the zone.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        public ForZoneArgs build() {
            if ($.name == null) {
                throw new MissingRequiredPropertyException("ForZoneArgs", "name");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy