com.pulumi.azurenative.confluent.inputs.OfferDetailArgs 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.confluent.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;
/**
* Confluent Offer detail
*
*/
public final class OfferDetailArgs extends com.pulumi.resources.ResourceArgs {
public static final OfferDetailArgs Empty = new OfferDetailArgs();
/**
* Offer Id
*
*/
@Import(name="id", required=true)
private Output id;
/**
* @return Offer Id
*
*/
public Output id() {
return this.id;
}
/**
* Offer Plan Id
*
*/
@Import(name="planId", required=true)
private Output planId;
/**
* @return Offer Plan Id
*
*/
public Output planId() {
return this.planId;
}
/**
* Offer Plan Name
*
*/
@Import(name="planName", required=true)
private Output planName;
/**
* @return Offer Plan Name
*
*/
public Output planName() {
return this.planName;
}
/**
* Publisher Id
*
*/
@Import(name="publisherId", required=true)
private Output publisherId;
/**
* @return Publisher Id
*
*/
public Output publisherId() {
return this.publisherId;
}
/**
* Offer Plan Term unit
*
*/
@Import(name="termUnit", required=true)
private Output termUnit;
/**
* @return Offer Plan Term unit
*
*/
public Output termUnit() {
return this.termUnit;
}
private OfferDetailArgs() {}
private OfferDetailArgs(OfferDetailArgs $) {
this.id = $.id;
this.planId = $.planId;
this.planName = $.planName;
this.publisherId = $.publisherId;
this.termUnit = $.termUnit;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(OfferDetailArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private OfferDetailArgs $;
public Builder() {
$ = new OfferDetailArgs();
}
public Builder(OfferDetailArgs defaults) {
$ = new OfferDetailArgs(Objects.requireNonNull(defaults));
}
/**
* @param id Offer Id
*
* @return builder
*
*/
public Builder id(Output id) {
$.id = id;
return this;
}
/**
* @param id Offer Id
*
* @return builder
*
*/
public Builder id(String id) {
return id(Output.of(id));
}
/**
* @param planId Offer Plan Id
*
* @return builder
*
*/
public Builder planId(Output planId) {
$.planId = planId;
return this;
}
/**
* @param planId Offer Plan Id
*
* @return builder
*
*/
public Builder planId(String planId) {
return planId(Output.of(planId));
}
/**
* @param planName Offer Plan Name
*
* @return builder
*
*/
public Builder planName(Output planName) {
$.planName = planName;
return this;
}
/**
* @param planName Offer Plan Name
*
* @return builder
*
*/
public Builder planName(String planName) {
return planName(Output.of(planName));
}
/**
* @param publisherId Publisher Id
*
* @return builder
*
*/
public Builder publisherId(Output publisherId) {
$.publisherId = publisherId;
return this;
}
/**
* @param publisherId Publisher Id
*
* @return builder
*
*/
public Builder publisherId(String publisherId) {
return publisherId(Output.of(publisherId));
}
/**
* @param termUnit Offer Plan Term unit
*
* @return builder
*
*/
public Builder termUnit(Output termUnit) {
$.termUnit = termUnit;
return this;
}
/**
* @param termUnit Offer Plan Term unit
*
* @return builder
*
*/
public Builder termUnit(String termUnit) {
return termUnit(Output.of(termUnit));
}
public OfferDetailArgs build() {
if ($.id == null) {
throw new MissingRequiredPropertyException("OfferDetailArgs", "id");
}
if ($.planId == null) {
throw new MissingRequiredPropertyException("OfferDetailArgs", "planId");
}
if ($.planName == null) {
throw new MissingRequiredPropertyException("OfferDetailArgs", "planName");
}
if ($.publisherId == null) {
throw new MissingRequiredPropertyException("OfferDetailArgs", "publisherId");
}
if ($.termUnit == null) {
throw new MissingRequiredPropertyException("OfferDetailArgs", "termUnit");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy