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

com.pulumi.azurenative.network.inputs.GetDnsResourceReferenceByTarResourcesPlainArgs 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.SubResource;
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 GetDnsResourceReferenceByTarResourcesPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetDnsResourceReferenceByTarResourcesPlainArgs Empty = new GetDnsResourceReferenceByTarResourcesPlainArgs();

    /**
     * A list of references to azure resources for which referencing dns records need to be queried.
     * 
     */
    @Import(name="targetResources")
    private @Nullable List 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 GetDnsResourceReferenceByTarResourcesPlainArgs() {}

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

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

    public static final class Builder {
        private GetDnsResourceReferenceByTarResourcesPlainArgs $;

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

        public Builder(GetDnsResourceReferenceByTarResourcesPlainArgs defaults) {
            $ = new GetDnsResourceReferenceByTarResourcesPlainArgs(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 List 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(SubResource... targetResources) {
            return targetResources(List.of(targetResources));
        }

        public GetDnsResourceReferenceByTarResourcesPlainArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy