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

com.pulumi.aws.inputs.GetAvailabilityZonePlainArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
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.aws.inputs;

import com.pulumi.aws.inputs.GetAvailabilityZoneFilter;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class GetAvailabilityZonePlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetAvailabilityZonePlainArgs Empty = new GetAvailabilityZonePlainArgs();

    /**
     * Set to `true` to include all Availability Zones and Local Zones regardless of your opt in status.
     * 
     */
    @Import(name="allAvailabilityZones")
    private @Nullable Boolean allAvailabilityZones;

    /**
     * @return Set to `true` to include all Availability Zones and Local Zones regardless of your opt in status.
     * 
     */
    public Optional allAvailabilityZones() {
        return Optional.ofNullable(this.allAvailabilityZones);
    }

    /**
     * Configuration block(s) for filtering. Detailed below.
     * 
     */
    @Import(name="filters")
    private @Nullable List filters;

    /**
     * @return Configuration block(s) for filtering. Detailed below.
     * 
     */
    public Optional> filters() {
        return Optional.ofNullable(this.filters);
    }

    /**
     * Full name of the availability zone to select.
     * 
     */
    @Import(name="name")
    private @Nullable String name;

    /**
     * @return Full name of the availability zone to select.
     * 
     */
    public Optional name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Specific availability zone state to require. May be any of `"available"`, `"information"` or `"impaired"`.
     * 
     */
    @Import(name="state")
    private @Nullable String state;

    /**
     * @return Specific availability zone state to require. May be any of `"available"`, `"information"` or `"impaired"`.
     * 
     */
    public Optional state() {
        return Optional.ofNullable(this.state);
    }

    /**
     * Zone ID of the availability zone to select.
     * 
     */
    @Import(name="zoneId")
    private @Nullable String zoneId;

    /**
     * @return Zone ID of the availability zone to select.
     * 
     */
    public Optional zoneId() {
        return Optional.ofNullable(this.zoneId);
    }

    private GetAvailabilityZonePlainArgs() {}

    private GetAvailabilityZonePlainArgs(GetAvailabilityZonePlainArgs $) {
        this.allAvailabilityZones = $.allAvailabilityZones;
        this.filters = $.filters;
        this.name = $.name;
        this.state = $.state;
        this.zoneId = $.zoneId;
    }

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

    public static final class Builder {
        private GetAvailabilityZonePlainArgs $;

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

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

        /**
         * @param allAvailabilityZones Set to `true` to include all Availability Zones and Local Zones regardless of your opt in status.
         * 
         * @return builder
         * 
         */
        public Builder allAvailabilityZones(@Nullable Boolean allAvailabilityZones) {
            $.allAvailabilityZones = allAvailabilityZones;
            return this;
        }

        /**
         * @param filters Configuration block(s) for filtering. Detailed below.
         * 
         * @return builder
         * 
         */
        public Builder filters(@Nullable List filters) {
            $.filters = filters;
            return this;
        }

        /**
         * @param filters Configuration block(s) for filtering. Detailed below.
         * 
         * @return builder
         * 
         */
        public Builder filters(GetAvailabilityZoneFilter... filters) {
            return filters(List.of(filters));
        }

        /**
         * @param name Full name of the availability zone to select.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable String name) {
            $.name = name;
            return this;
        }

        /**
         * @param state Specific availability zone state to require. May be any of `"available"`, `"information"` or `"impaired"`.
         * 
         * @return builder
         * 
         */
        public Builder state(@Nullable String state) {
            $.state = state;
            return this;
        }

        /**
         * @param zoneId Zone ID of the availability zone to select.
         * 
         * @return builder
         * 
         */
        public Builder zoneId(@Nullable String zoneId) {
            $.zoneId = zoneId;
            return this;
        }

        public GetAvailabilityZonePlainArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy