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

com.pulumi.aws.route53.inputs.GetZoneArgs 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.72.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.aws.route53.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final GetZoneArgs Empty = new GetZoneArgs();

    /**
     * Hosted Zone name of the desired Hosted Zone.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Hosted Zone name of the desired Hosted Zone.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Used with `name` field to get a private Hosted Zone.
     * 
     */
    @Import(name="privateZone")
    private @Nullable Output privateZone;

    /**
     * @return Used with `name` field to get a private Hosted Zone.
     * 
     */
    public Optional> privateZone() {
        return Optional.ofNullable(this.privateZone);
    }

    /**
     * Used with `name` field. A map of tags, each pair of which must exactly match a pair on the desired Hosted Zone.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Used with `name` field. A map of tags, each pair of which must exactly match a pair on the desired Hosted Zone.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    /**
     * Used with `name` field to get a private Hosted Zone associated with the vpc_id (in this case, private_zone is not mandatory).
     * 
     */
    @Import(name="vpcId")
    private @Nullable Output vpcId;

    /**
     * @return Used with `name` field to get a private Hosted Zone associated with the vpc_id (in this case, private_zone is not mandatory).
     * 
     */
    public Optional> vpcId() {
        return Optional.ofNullable(this.vpcId);
    }

    /**
     * Hosted Zone id of the desired Hosted Zone.
     * 
     */
    @Import(name="zoneId")
    private @Nullable Output zoneId;

    /**
     * @return Hosted Zone id of the desired Hosted Zone.
     * 
     */
    public Optional> zoneId() {
        return Optional.ofNullable(this.zoneId);
    }

    private GetZoneArgs() {}

    private GetZoneArgs(GetZoneArgs $) {
        this.name = $.name;
        this.privateZone = $.privateZone;
        this.tags = $.tags;
        this.vpcId = $.vpcId;
        this.zoneId = $.zoneId;
    }

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

    public static final class Builder {
        private GetZoneArgs $;

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

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

        /**
         * @param name Hosted Zone name of the desired Hosted Zone.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Hosted Zone name of the desired Hosted Zone.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param privateZone Used with `name` field to get a private Hosted Zone.
         * 
         * @return builder
         * 
         */
        public Builder privateZone(@Nullable Output privateZone) {
            $.privateZone = privateZone;
            return this;
        }

        /**
         * @param privateZone Used with `name` field to get a private Hosted Zone.
         * 
         * @return builder
         * 
         */
        public Builder privateZone(Boolean privateZone) {
            return privateZone(Output.of(privateZone));
        }

        /**
         * @param tags Used with `name` field. A map of tags, each pair of which must exactly match a pair on the desired Hosted Zone.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Used with `name` field. A map of tags, each pair of which must exactly match a pair on the desired Hosted Zone.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        /**
         * @param vpcId Used with `name` field to get a private Hosted Zone associated with the vpc_id (in this case, private_zone is not mandatory).
         * 
         * @return builder
         * 
         */
        public Builder vpcId(@Nullable Output vpcId) {
            $.vpcId = vpcId;
            return this;
        }

        /**
         * @param vpcId Used with `name` field to get a private Hosted Zone associated with the vpc_id (in this case, private_zone is not mandatory).
         * 
         * @return builder
         * 
         */
        public Builder vpcId(String vpcId) {
            return vpcId(Output.of(vpcId));
        }

        /**
         * @param zoneId Hosted Zone id of the desired Hosted Zone.
         * 
         * @return builder
         * 
         */
        public Builder zoneId(@Nullable Output zoneId) {
            $.zoneId = zoneId;
            return this;
        }

        /**
         * @param zoneId Hosted Zone id of the desired Hosted Zone.
         * 
         * @return builder
         * 
         */
        public Builder zoneId(String zoneId) {
            return zoneId(Output.of(zoneId));
        }

        public GetZoneArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy