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

com.pulumi.azurenative.edgeorder.outputs.LinkResponse Maven / Gradle / Ivy

There is a newer version: 2.82.0
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.azurenative.edgeorder.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class LinkResponse {
    /**
     * @return Type of link.
     * 
     */
    private String linkType;
    /**
     * @return Url of the link.
     * 
     */
    private String linkUrl;

    private LinkResponse() {}
    /**
     * @return Type of link.
     * 
     */
    public String linkType() {
        return this.linkType;
    }
    /**
     * @return Url of the link.
     * 
     */
    public String linkUrl() {
        return this.linkUrl;
    }

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

    public static Builder builder(LinkResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String linkType;
        private String linkUrl;
        public Builder() {}
        public Builder(LinkResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.linkType = defaults.linkType;
    	      this.linkUrl = defaults.linkUrl;
        }

        @CustomType.Setter
        public Builder linkType(String linkType) {
            if (linkType == null) {
              throw new MissingRequiredPropertyException("LinkResponse", "linkType");
            }
            this.linkType = linkType;
            return this;
        }
        @CustomType.Setter
        public Builder linkUrl(String linkUrl) {
            if (linkUrl == null) {
              throw new MissingRequiredPropertyException("LinkResponse", "linkUrl");
            }
            this.linkUrl = linkUrl;
            return this;
        }
        public LinkResponse build() {
            final var _resultValue = new LinkResponse();
            _resultValue.linkType = linkType;
            _resultValue.linkUrl = linkUrl;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy