
com.pulumi.azurenative.costmanagement.inputs.GetMarkupRulePlainArgs 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.costmanagement.inputs;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GetMarkupRulePlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetMarkupRulePlainArgs Empty = new GetMarkupRulePlainArgs();
/**
* BillingAccount ID
*
*/
@Import(name="billingAccountId", required=true)
private String billingAccountId;
/**
* @return BillingAccount ID
*
*/
public String billingAccountId() {
return this.billingAccountId;
}
/**
* BillingProfile ID
*
*/
@Import(name="billingProfileId", required=true)
private String billingProfileId;
/**
* @return BillingProfile ID
*
*/
public String billingProfileId() {
return this.billingProfileId;
}
/**
* Markup rule name.
*
*/
@Import(name="name", required=true)
private String name;
/**
* @return Markup rule name.
*
*/
public String name() {
return this.name;
}
private GetMarkupRulePlainArgs() {}
private GetMarkupRulePlainArgs(GetMarkupRulePlainArgs $) {
this.billingAccountId = $.billingAccountId;
this.billingProfileId = $.billingProfileId;
this.name = $.name;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetMarkupRulePlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetMarkupRulePlainArgs $;
public Builder() {
$ = new GetMarkupRulePlainArgs();
}
public Builder(GetMarkupRulePlainArgs defaults) {
$ = new GetMarkupRulePlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param billingAccountId BillingAccount ID
*
* @return builder
*
*/
public Builder billingAccountId(String billingAccountId) {
$.billingAccountId = billingAccountId;
return this;
}
/**
* @param billingProfileId BillingProfile ID
*
* @return builder
*
*/
public Builder billingProfileId(String billingProfileId) {
$.billingProfileId = billingProfileId;
return this;
}
/**
* @param name Markup rule name.
*
* @return builder
*
*/
public Builder name(String name) {
$.name = name;
return this;
}
public GetMarkupRulePlainArgs build() {
if ($.billingAccountId == null) {
throw new MissingRequiredPropertyException("GetMarkupRulePlainArgs", "billingAccountId");
}
if ($.billingProfileId == null) {
throw new MissingRequiredPropertyException("GetMarkupRulePlainArgs", "billingProfileId");
}
if ($.name == null) {
throw new MissingRequiredPropertyException("GetMarkupRulePlainArgs", "name");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy