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

com.pulumi.aws.networkmanager.outputs.GetLinkResult 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.networkmanager.outputs;

import com.pulumi.aws.networkmanager.outputs.GetLinkBandwidth;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;

@CustomType
public final class GetLinkResult {
    /**
     * @return ARN of the link.
     * 
     */
    private String arn;
    /**
     * @return Upload speed and download speed of the link as documented below
     * 
     */
    private List bandwidths;
    /**
     * @return Description of the link.
     * 
     */
    private String description;
    private String globalNetworkId;
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    private String linkId;
    /**
     * @return Provider of the link.
     * 
     */
    private String providerName;
    /**
     * @return ID of the site.
     * 
     */
    private String siteId;
    /**
     * @return Key-value tags for the link.
     * 
     */
    private Map tags;
    /**
     * @return Type of the link.
     * 
     */
    private String type;

    private GetLinkResult() {}
    /**
     * @return ARN of the link.
     * 
     */
    public String arn() {
        return this.arn;
    }
    /**
     * @return Upload speed and download speed of the link as documented below
     * 
     */
    public List bandwidths() {
        return this.bandwidths;
    }
    /**
     * @return Description of the link.
     * 
     */
    public String description() {
        return this.description;
    }
    public String globalNetworkId() {
        return this.globalNetworkId;
    }
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    public String linkId() {
        return this.linkId;
    }
    /**
     * @return Provider of the link.
     * 
     */
    public String providerName() {
        return this.providerName;
    }
    /**
     * @return ID of the site.
     * 
     */
    public String siteId() {
        return this.siteId;
    }
    /**
     * @return Key-value tags for the link.
     * 
     */
    public Map tags() {
        return this.tags;
    }
    /**
     * @return Type of the link.
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(GetLinkResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String arn;
        private List bandwidths;
        private String description;
        private String globalNetworkId;
        private String id;
        private String linkId;
        private String providerName;
        private String siteId;
        private Map tags;
        private String type;
        public Builder() {}
        public Builder(GetLinkResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.arn = defaults.arn;
    	      this.bandwidths = defaults.bandwidths;
    	      this.description = defaults.description;
    	      this.globalNetworkId = defaults.globalNetworkId;
    	      this.id = defaults.id;
    	      this.linkId = defaults.linkId;
    	      this.providerName = defaults.providerName;
    	      this.siteId = defaults.siteId;
    	      this.tags = defaults.tags;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder arn(String arn) {
            if (arn == null) {
              throw new MissingRequiredPropertyException("GetLinkResult", "arn");
            }
            this.arn = arn;
            return this;
        }
        @CustomType.Setter
        public Builder bandwidths(List bandwidths) {
            if (bandwidths == null) {
              throw new MissingRequiredPropertyException("GetLinkResult", "bandwidths");
            }
            this.bandwidths = bandwidths;
            return this;
        }
        public Builder bandwidths(GetLinkBandwidth... bandwidths) {
            return bandwidths(List.of(bandwidths));
        }
        @CustomType.Setter
        public Builder description(String description) {
            if (description == null) {
              throw new MissingRequiredPropertyException("GetLinkResult", "description");
            }
            this.description = description;
            return this;
        }
        @CustomType.Setter
        public Builder globalNetworkId(String globalNetworkId) {
            if (globalNetworkId == null) {
              throw new MissingRequiredPropertyException("GetLinkResult", "globalNetworkId");
            }
            this.globalNetworkId = globalNetworkId;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetLinkResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder linkId(String linkId) {
            if (linkId == null) {
              throw new MissingRequiredPropertyException("GetLinkResult", "linkId");
            }
            this.linkId = linkId;
            return this;
        }
        @CustomType.Setter
        public Builder providerName(String providerName) {
            if (providerName == null) {
              throw new MissingRequiredPropertyException("GetLinkResult", "providerName");
            }
            this.providerName = providerName;
            return this;
        }
        @CustomType.Setter
        public Builder siteId(String siteId) {
            if (siteId == null) {
              throw new MissingRequiredPropertyException("GetLinkResult", "siteId");
            }
            this.siteId = siteId;
            return this;
        }
        @CustomType.Setter
        public Builder tags(Map tags) {
            if (tags == null) {
              throw new MissingRequiredPropertyException("GetLinkResult", "tags");
            }
            this.tags = tags;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetLinkResult", "type");
            }
            this.type = type;
            return this;
        }
        public GetLinkResult build() {
            final var _resultValue = new GetLinkResult();
            _resultValue.arn = arn;
            _resultValue.bandwidths = bandwidths;
            _resultValue.description = description;
            _resultValue.globalNetworkId = globalNetworkId;
            _resultValue.id = id;
            _resultValue.linkId = linkId;
            _resultValue.providerName = providerName;
            _resultValue.siteId = siteId;
            _resultValue.tags = tags;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy