com.ovhcloud.pulumi.ovh.outputs.GetInstallationTemplateLicenseO Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-ovh Show documentation
Show all versions of pulumi-ovh Show documentation
A Pulumi package for creating and managing OVH resources.
// *** 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 GetInstallationTemplateLicenseO {
private List names;
private String url;
private GetInstallationTemplateLicenseO() {}
public List names() {
return this.names;
}
public String url() {
return this.url;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetInstallationTemplateLicenseO defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List names;
private String url;
public Builder() {}
public Builder(GetInstallationTemplateLicenseO 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("GetInstallationTemplateLicenseO", "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("GetInstallationTemplateLicenseO", "url");
}
this.url = url;
return this;
}
public GetInstallationTemplateLicenseO build() {
final var _resultValue = new GetInstallationTemplateLicenseO();
_resultValue.names = names;
_resultValue.url = url;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy