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

com.pulumi.azurenative.apicenter.inputs.TermsOfServiceArgs 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.azurenative.apicenter.inputs;

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


/**
 * Terms of service for the API.
 * 
 */
public final class TermsOfServiceArgs extends com.pulumi.resources.ResourceArgs {

    public static final TermsOfServiceArgs Empty = new TermsOfServiceArgs();

    /**
     * URL pointing to the terms of service.
     * 
     */
    @Import(name="url", required=true)
    private Output url;

    /**
     * @return URL pointing to the terms of service.
     * 
     */
    public Output url() {
        return this.url;
    }

    private TermsOfServiceArgs() {}

    private TermsOfServiceArgs(TermsOfServiceArgs $) {
        this.url = $.url;
    }

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

    public static final class Builder {
        private TermsOfServiceArgs $;

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

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

        /**
         * @param url URL pointing to the terms of service.
         * 
         * @return builder
         * 
         */
        public Builder url(Output url) {
            $.url = url;
            return this;
        }

        /**
         * @param url URL pointing to the terms of service.
         * 
         * @return builder
         * 
         */
        public Builder url(String url) {
            return url(Output.of(url));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy