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

com.pulumi.aws.route53.inputs.ZoneAssociationState Maven / Gradle / Ivy

// *** 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.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ZoneAssociationState Empty = new ZoneAssociationState();

    /**
     * The account ID of the account that created the hosted zone.
     * 
     */
    @Import(name="owningAccount")
    private @Nullable Output owningAccount;

    /**
     * @return The account ID of the account that created the hosted zone.
     * 
     */
    public Optional> owningAccount() {
        return Optional.ofNullable(this.owningAccount);
    }

    /**
     * The VPC to associate with the private hosted zone.
     * 
     */
    @Import(name="vpcId")
    private @Nullable Output vpcId;

    /**
     * @return The VPC to associate with the private hosted zone.
     * 
     */
    public Optional> vpcId() {
        return Optional.ofNullable(this.vpcId);
    }

    /**
     * The VPC's region. Defaults to the region of the AWS provider.
     * 
     */
    @Import(name="vpcRegion")
    private @Nullable Output vpcRegion;

    /**
     * @return The VPC's region. Defaults to the region of the AWS provider.
     * 
     */
    public Optional> vpcRegion() {
        return Optional.ofNullable(this.vpcRegion);
    }

    /**
     * The private hosted zone to associate.
     * 
     */
    @Import(name="zoneId")
    private @Nullable Output zoneId;

    /**
     * @return The private hosted zone to associate.
     * 
     */
    public Optional> zoneId() {
        return Optional.ofNullable(this.zoneId);
    }

    private ZoneAssociationState() {}

    private ZoneAssociationState(ZoneAssociationState $) {
        this.owningAccount = $.owningAccount;
        this.vpcId = $.vpcId;
        this.vpcRegion = $.vpcRegion;
        this.zoneId = $.zoneId;
    }

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

    public static final class Builder {
        private ZoneAssociationState $;

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

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

        /**
         * @param owningAccount The account ID of the account that created the hosted zone.
         * 
         * @return builder
         * 
         */
        public Builder owningAccount(@Nullable Output owningAccount) {
            $.owningAccount = owningAccount;
            return this;
        }

        /**
         * @param owningAccount The account ID of the account that created the hosted zone.
         * 
         * @return builder
         * 
         */
        public Builder owningAccount(String owningAccount) {
            return owningAccount(Output.of(owningAccount));
        }

        /**
         * @param vpcId The VPC to associate with the private hosted zone.
         * 
         * @return builder
         * 
         */
        public Builder vpcId(@Nullable Output vpcId) {
            $.vpcId = vpcId;
            return this;
        }

        /**
         * @param vpcId The VPC to associate with the private hosted zone.
         * 
         * @return builder
         * 
         */
        public Builder vpcId(String vpcId) {
            return vpcId(Output.of(vpcId));
        }

        /**
         * @param vpcRegion The VPC's region. Defaults to the region of the AWS provider.
         * 
         * @return builder
         * 
         */
        public Builder vpcRegion(@Nullable Output vpcRegion) {
            $.vpcRegion = vpcRegion;
            return this;
        }

        /**
         * @param vpcRegion The VPC's region. Defaults to the region of the AWS provider.
         * 
         * @return builder
         * 
         */
        public Builder vpcRegion(String vpcRegion) {
            return vpcRegion(Output.of(vpcRegion));
        }

        /**
         * @param zoneId The private hosted zone to associate.
         * 
         * @return builder
         * 
         */
        public Builder zoneId(@Nullable Output zoneId) {
            $.zoneId = zoneId;
            return this;
        }

        /**
         * @param zoneId The private hosted zone to associate.
         * 
         * @return builder
         * 
         */
        public Builder zoneId(String zoneId) {
            return zoneId(Output.of(zoneId));
        }

        public ZoneAssociationState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy