// *** 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.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GetLinksResult {
    private String globalNetworkId;
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    /**
     * @return IDs of the links.
     * 
     */
    private List<String> ids;
    private @Nullable String providerName;
    private @Nullable String siteId;
    private @Nullable Map<String,String> tags;
    private @Nullable String type;

    private GetLinksResult() {}
    public String globalNetworkId() {
        return this.globalNetworkId;
    }
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return IDs of the links.
     * 
     */
    public List<String> ids() {
        return this.ids;
    }
    public Optional<String> providerName() {
        return Optional.ofNullable(this.providerName);
    }
    public Optional<String> siteId() {
        return Optional.ofNullable(this.siteId);
    }
    public Map<String,String> tags() {
        return this.tags == null ? Map.of() : this.tags;
    }
    public Optional<String> type() {
        return Optional.ofNullable(this.type);
    }

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

    public static Builder builder(GetLinksResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String globalNetworkId;
        private String id;
        private List<String> ids;
        private @Nullable String providerName;
        private @Nullable String siteId;
        private @Nullable Map<String,String> tags;
        private @Nullable String type;
        public Builder() {}
        public Builder(GetLinksResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.globalNetworkId = defaults.globalNetworkId;
    	      this.id = defaults.id;
    	      this.ids = defaults.ids;
    	      this.providerName = defaults.providerName;
    	      this.siteId = defaults.siteId;
    	      this.tags = defaults.tags;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder globalNetworkId(String globalNetworkId) {
            this.globalNetworkId = Objects.requireNonNull(globalNetworkId);
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            this.id = Objects.requireNonNull(id);
            return this;
        }
        @CustomType.Setter
        public Builder ids(List<String> ids) {
            this.ids = Objects.requireNonNull(ids);
            return this;
        }
        public Builder ids(String... ids) {
            return ids(List.of(ids));
        }
        @CustomType.Setter
        public Builder providerName(@Nullable String providerName) {
            this.providerName = providerName;
            return this;
        }
        @CustomType.Setter
        public Builder siteId(@Nullable String siteId) {
            this.siteId = siteId;
            return this;
        }
        @CustomType.Setter
        public Builder tags(@Nullable Map<String,String> tags) {
            this.tags = tags;
            return this;
        }
        @CustomType.Setter
        public Builder type(@Nullable String type) {
            this.type = type;
            return this;
        }
        public GetLinksResult build() {
            final var o = new GetLinksResult();
            o.globalNetworkId = globalNetworkId;
            o.id = id;
            o.ids = ids;
            o.providerName = providerName;
            o.siteId = siteId;
            o.tags = tags;
            o.type = type;
            return o;
        }
    }
}
