com.pulumi.azure.lighthouse.inputs.DefinitionPlanArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.
// *** 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.azure.lighthouse.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;
public final class DefinitionPlanArgs extends com.pulumi.resources.ResourceArgs {
public static final DefinitionPlanArgs Empty = new DefinitionPlanArgs();
/**
* The plan name of the marketplace offer.
*
*/
@Import(name="name", required=true)
private Output name;
/**
* @return The plan name of the marketplace offer.
*
*/
public Output name() {
return this.name;
}
/**
* The product code of the plan.
*
*/
@Import(name="product", required=true)
private Output product;
/**
* @return The product code of the plan.
*
*/
public Output product() {
return this.product;
}
/**
* The publisher ID of the plan.
*
*/
@Import(name="publisher", required=true)
private Output publisher;
/**
* @return The publisher ID of the plan.
*
*/
public Output publisher() {
return this.publisher;
}
/**
* The version of the plan.
*
*/
@Import(name="version", required=true)
private Output version;
/**
* @return The version of the plan.
*
*/
public Output version() {
return this.version;
}
private DefinitionPlanArgs() {}
private DefinitionPlanArgs(DefinitionPlanArgs $) {
this.name = $.name;
this.product = $.product;
this.publisher = $.publisher;
this.version = $.version;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DefinitionPlanArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private DefinitionPlanArgs $;
public Builder() {
$ = new DefinitionPlanArgs();
}
public Builder(DefinitionPlanArgs defaults) {
$ = new DefinitionPlanArgs(Objects.requireNonNull(defaults));
}
/**
* @param name The plan name of the marketplace offer.
*
* @return builder
*
*/
public Builder name(Output name) {
$.name = name;
return this;
}
/**
* @param name The plan name of the marketplace offer.
*
* @return builder
*
*/
public Builder name(String name) {
return name(Output.of(name));
}
/**
* @param product The product code of the plan.
*
* @return builder
*
*/
public Builder product(Output product) {
$.product = product;
return this;
}
/**
* @param product The product code of the plan.
*
* @return builder
*
*/
public Builder product(String product) {
return product(Output.of(product));
}
/**
* @param publisher The publisher ID of the plan.
*
* @return builder
*
*/
public Builder publisher(Output publisher) {
$.publisher = publisher;
return this;
}
/**
* @param publisher The publisher ID of the plan.
*
* @return builder
*
*/
public Builder publisher(String publisher) {
return publisher(Output.of(publisher));
}
/**
* @param version The version of the plan.
*
* @return builder
*
*/
public Builder version(Output version) {
$.version = version;
return this;
}
/**
* @param version The version of the plan.
*
* @return builder
*
*/
public Builder version(String version) {
return version(Output.of(version));
}
public DefinitionPlanArgs build() {
if ($.name == null) {
throw new MissingRequiredPropertyException("DefinitionPlanArgs", "name");
}
if ($.product == null) {
throw new MissingRequiredPropertyException("DefinitionPlanArgs", "product");
}
if ($.publisher == null) {
throw new MissingRequiredPropertyException("DefinitionPlanArgs", "publisher");
}
if ($.version == null) {
throw new MissingRequiredPropertyException("DefinitionPlanArgs", "version");
}
return $;
}
}
}