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

com.pulumi.azurenative.network.inputs.GetDnsResourceReferenceByTarResourcesArgs Maven / Gradle / Ivy

The 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.azurenative.network.inputs;

import com.pulumi.azurenative.network.inputs.SubResourceArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final GetDnsResourceReferenceByTarResourcesArgs Empty = new GetDnsResourceReferenceByTarResourcesArgs();

    /**
     * A list of references to azure resources for which referencing dns records need to be queried.
     * 
     */
    @Import(name="targetResources")
    private @Nullable Output> targetResources;

    /**
     * @return A list of references to azure resources for which referencing dns records need to be queried.
     * 
     */
    public Optional>> targetResources() {
        return Optional.ofNullable(this.targetResources);
    }

    private GetDnsResourceReferenceByTarResourcesArgs() {}

    private GetDnsResourceReferenceByTarResourcesArgs(GetDnsResourceReferenceByTarResourcesArgs $) {
        this.targetResources = $.targetResources;
    }

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

    public static final class Builder {
        private GetDnsResourceReferenceByTarResourcesArgs $;

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

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

        /**
         * @param targetResources A list of references to azure resources for which referencing dns records need to be queried.
         * 
         * @return builder
         * 
         */
        public Builder targetResources(@Nullable Output> targetResources) {
            $.targetResources = targetResources;
            return this;
        }

        /**
         * @param targetResources A list of references to azure resources for which referencing dns records need to be queried.
         * 
         * @return builder
         * 
         */
        public Builder targetResources(List targetResources) {
            return targetResources(Output.of(targetResources));
        }

        /**
         * @param targetResources A list of references to azure resources for which referencing dns records need to be queried.
         * 
         * @return builder
         * 
         */
        public Builder targetResources(SubResourceArgs... targetResources) {
            return targetResources(List.of(targetResources));
        }

        public GetDnsResourceReferenceByTarResourcesArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy