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

com.ovhcloud.pulumi.ovh.outputs.GetInstallationTemplateLicenseUsage Maven / Gradle / Ivy

There is a newer version: 1.1.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.ovhcloud.pulumi.ovh.outputs;

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

@CustomType
public final class GetInstallationTemplateLicenseUsage {
    private List names;
    private String url;

    private GetInstallationTemplateLicenseUsage() {}
    public List names() {
        return this.names;
    }
    public String url() {
        return this.url;
    }

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

    public static Builder builder(GetInstallationTemplateLicenseUsage defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List names;
        private String url;
        public Builder() {}
        public Builder(GetInstallationTemplateLicenseUsage defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.names = defaults.names;
    	      this.url = defaults.url;
        }

        @CustomType.Setter
        public Builder names(List names) {
            if (names == null) {
              throw new MissingRequiredPropertyException("GetInstallationTemplateLicenseUsage", "names");
            }
            this.names = names;
            return this;
        }
        public Builder names(String... names) {
            return names(List.of(names));
        }
        @CustomType.Setter
        public Builder url(String url) {
            if (url == null) {
              throw new MissingRequiredPropertyException("GetInstallationTemplateLicenseUsage", "url");
            }
            this.url = url;
            return this;
        }
        public GetInstallationTemplateLicenseUsage build() {
            final var _resultValue = new GetInstallationTemplateLicenseUsage();
            _resultValue.names = names;
            _resultValue.url = url;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy