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

com.pulumi.aws.route53recoveryreadiness.inputs.ResourceSetResourceDnsTargetResourceTargetResourceArgs 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.route53recoveryreadiness.inputs;

import com.pulumi.aws.route53recoveryreadiness.inputs.ResourceSetResourceDnsTargetResourceTargetResourceNlbResourceArgs;
import com.pulumi.aws.route53recoveryreadiness.inputs.ResourceSetResourceDnsTargetResourceTargetResourceR53ResourceArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ResourceSetResourceDnsTargetResourceTargetResourceArgs Empty = new ResourceSetResourceDnsTargetResourceTargetResourceArgs();

    /**
     * NLB resource a DNS Target Resource points to. Required if `r53_resource` is not set.
     * 
     */
    @Import(name="nlbResource")
    private @Nullable Output nlbResource;

    /**
     * @return NLB resource a DNS Target Resource points to. Required if `r53_resource` is not set.
     * 
     */
    public Optional> nlbResource() {
        return Optional.ofNullable(this.nlbResource);
    }

    /**
     * Route53 resource a DNS Target Resource record points to.
     * 
     */
    @Import(name="r53Resource")
    private @Nullable Output r53Resource;

    /**
     * @return Route53 resource a DNS Target Resource record points to.
     * 
     */
    public Optional> r53Resource() {
        return Optional.ofNullable(this.r53Resource);
    }

    private ResourceSetResourceDnsTargetResourceTargetResourceArgs() {}

    private ResourceSetResourceDnsTargetResourceTargetResourceArgs(ResourceSetResourceDnsTargetResourceTargetResourceArgs $) {
        this.nlbResource = $.nlbResource;
        this.r53Resource = $.r53Resource;
    }

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

    public static final class Builder {
        private ResourceSetResourceDnsTargetResourceTargetResourceArgs $;

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

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

        /**
         * @param nlbResource NLB resource a DNS Target Resource points to. Required if `r53_resource` is not set.
         * 
         * @return builder
         * 
         */
        public Builder nlbResource(@Nullable Output nlbResource) {
            $.nlbResource = nlbResource;
            return this;
        }

        /**
         * @param nlbResource NLB resource a DNS Target Resource points to. Required if `r53_resource` is not set.
         * 
         * @return builder
         * 
         */
        public Builder nlbResource(ResourceSetResourceDnsTargetResourceTargetResourceNlbResourceArgs nlbResource) {
            return nlbResource(Output.of(nlbResource));
        }

        /**
         * @param r53Resource Route53 resource a DNS Target Resource record points to.
         * 
         * @return builder
         * 
         */
        public Builder r53Resource(@Nullable Output r53Resource) {
            $.r53Resource = r53Resource;
            return this;
        }

        /**
         * @param r53Resource Route53 resource a DNS Target Resource record points to.
         * 
         * @return builder
         * 
         */
        public Builder r53Resource(ResourceSetResourceDnsTargetResourceTargetResourceR53ResourceArgs r53Resource) {
            return r53Resource(Output.of(r53Resource));
        }

        public ResourceSetResourceDnsTargetResourceTargetResourceArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy