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

com.pulumi.aws.networkmanager.inputs.GetLinksArgs 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.networkmanager.inputs;

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


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

    public static final GetLinksArgs Empty = new GetLinksArgs();

    /**
     * ID of the Global Network of the links to retrieve.
     * 
     */
    @Import(name="globalNetworkId", required=true)
    private Output globalNetworkId;

    /**
     * @return ID of the Global Network of the links to retrieve.
     * 
     */
    public Output globalNetworkId() {
        return this.globalNetworkId;
    }

    /**
     * Link provider to retrieve.
     * 
     */
    @Import(name="providerName")
    private @Nullable Output providerName;

    /**
     * @return Link provider to retrieve.
     * 
     */
    public Optional> providerName() {
        return Optional.ofNullable(this.providerName);
    }

    /**
     * ID of the site of the links to retrieve.
     * 
     */
    @Import(name="siteId")
    private @Nullable Output siteId;

    /**
     * @return ID of the site of the links to retrieve.
     * 
     */
    public Optional> siteId() {
        return Optional.ofNullable(this.siteId);
    }

    /**
     * Restricts the list to the links with these tags.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Restricts the list to the links with these tags.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    /**
     * Link type to retrieve.
     * 
     */
    @Import(name="type")
    private @Nullable Output type;

    /**
     * @return Link type to retrieve.
     * 
     */
    public Optional> type() {
        return Optional.ofNullable(this.type);
    }

    private GetLinksArgs() {}

    private GetLinksArgs(GetLinksArgs $) {
        this.globalNetworkId = $.globalNetworkId;
        this.providerName = $.providerName;
        this.siteId = $.siteId;
        this.tags = $.tags;
        this.type = $.type;
    }

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

    public static final class Builder {
        private GetLinksArgs $;

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

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

        /**
         * @param globalNetworkId ID of the Global Network of the links to retrieve.
         * 
         * @return builder
         * 
         */
        public Builder globalNetworkId(Output globalNetworkId) {
            $.globalNetworkId = globalNetworkId;
            return this;
        }

        /**
         * @param globalNetworkId ID of the Global Network of the links to retrieve.
         * 
         * @return builder
         * 
         */
        public Builder globalNetworkId(String globalNetworkId) {
            return globalNetworkId(Output.of(globalNetworkId));
        }

        /**
         * @param providerName Link provider to retrieve.
         * 
         * @return builder
         * 
         */
        public Builder providerName(@Nullable Output providerName) {
            $.providerName = providerName;
            return this;
        }

        /**
         * @param providerName Link provider to retrieve.
         * 
         * @return builder
         * 
         */
        public Builder providerName(String providerName) {
            return providerName(Output.of(providerName));
        }

        /**
         * @param siteId ID of the site of the links to retrieve.
         * 
         * @return builder
         * 
         */
        public Builder siteId(@Nullable Output siteId) {
            $.siteId = siteId;
            return this;
        }

        /**
         * @param siteId ID of the site of the links to retrieve.
         * 
         * @return builder
         * 
         */
        public Builder siteId(String siteId) {
            return siteId(Output.of(siteId));
        }

        /**
         * @param tags Restricts the list to the links with these tags.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Restricts the list to the links with these tags.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        /**
         * @param type Link type to retrieve.
         * 
         * @return builder
         * 
         */
        public Builder type(@Nullable Output type) {
            $.type = type;
            return this;
        }

        /**
         * @param type Link type to retrieve.
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Output.of(type));
        }

        public GetLinksArgs build() {
            if ($.globalNetworkId == null) {
                throw new MissingRequiredPropertyException("GetLinksArgs", "globalNetworkId");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy