com.pulumi.azurenative.managedservices.inputs.PlanArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure 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.pulumi.azurenative.managedservices.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;
/**
* The details for the Managed Services offer’s plan in Azure Marketplace.
*
*/
public final class PlanArgs extends com.pulumi.resources.ResourceArgs {
public static final PlanArgs Empty = new PlanArgs();
/**
* Azure Marketplace plan name.
*
*/
@Import(name="name", required=true)
private Output name;
/**
* @return Azure Marketplace plan name.
*
*/
public Output name() {
return this.name;
}
/**
* Azure Marketplace product code.
*
*/
@Import(name="product", required=true)
private Output product;
/**
* @return Azure Marketplace product code.
*
*/
public Output product() {
return this.product;
}
/**
* Azure Marketplace publisher ID.
*
*/
@Import(name="publisher", required=true)
private Output publisher;
/**
* @return Azure Marketplace publisher ID.
*
*/
public Output publisher() {
return this.publisher;
}
/**
* Azure Marketplace plan's version.
*
*/
@Import(name="version", required=true)
private Output version;
/**
* @return Azure Marketplace plan's version.
*
*/
public Output version() {
return this.version;
}
private PlanArgs() {}
private PlanArgs(PlanArgs $) {
this.name = $.name;
this.product = $.product;
this.publisher = $.publisher;
this.version = $.version;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(PlanArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private PlanArgs $;
public Builder() {
$ = new PlanArgs();
}
public Builder(PlanArgs defaults) {
$ = new PlanArgs(Objects.requireNonNull(defaults));
}
/**
* @param name Azure Marketplace plan name.
*
* @return builder
*
*/
public Builder name(Output name) {
$.name = name;
return this;
}
/**
* @param name Azure Marketplace plan name.
*
* @return builder
*
*/
public Builder name(String name) {
return name(Output.of(name));
}
/**
* @param product Azure Marketplace product code.
*
* @return builder
*
*/
public Builder product(Output product) {
$.product = product;
return this;
}
/**
* @param product Azure Marketplace product code.
*
* @return builder
*
*/
public Builder product(String product) {
return product(Output.of(product));
}
/**
* @param publisher Azure Marketplace publisher ID.
*
* @return builder
*
*/
public Builder publisher(Output publisher) {
$.publisher = publisher;
return this;
}
/**
* @param publisher Azure Marketplace publisher ID.
*
* @return builder
*
*/
public Builder publisher(String publisher) {
return publisher(Output.of(publisher));
}
/**
* @param version Azure Marketplace plan's version.
*
* @return builder
*
*/
public Builder version(Output version) {
$.version = version;
return this;
}
/**
* @param version Azure Marketplace plan's version.
*
* @return builder
*
*/
public Builder version(String version) {
return version(Output.of(version));
}
public PlanArgs build() {
if ($.name == null) {
throw new MissingRequiredPropertyException("PlanArgs", "name");
}
if ($.product == null) {
throw new MissingRequiredPropertyException("PlanArgs", "product");
}
if ($.publisher == null) {
throw new MissingRequiredPropertyException("PlanArgs", "publisher");
}
if ($.version == null) {
throw new MissingRequiredPropertyException("PlanArgs", "version");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy