
com.pulumi.azurenative.billing.inputs.GetAssociatedTenantPlainArgs Maven / Gradle / Ivy
// *** 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.billing.inputs;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GetAssociatedTenantPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetAssociatedTenantPlainArgs Empty = new GetAssociatedTenantPlainArgs();
/**
* The ID that uniquely identifies a tenant.
*
*/
@Import(name="associatedTenantName", required=true)
private String associatedTenantName;
/**
* @return The ID that uniquely identifies a tenant.
*
*/
public String associatedTenantName() {
return this.associatedTenantName;
}
/**
* The ID that uniquely identifies a billing account.
*
*/
@Import(name="billingAccountName", required=true)
private String billingAccountName;
/**
* @return The ID that uniquely identifies a billing account.
*
*/
public String billingAccountName() {
return this.billingAccountName;
}
private GetAssociatedTenantPlainArgs() {}
private GetAssociatedTenantPlainArgs(GetAssociatedTenantPlainArgs $) {
this.associatedTenantName = $.associatedTenantName;
this.billingAccountName = $.billingAccountName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetAssociatedTenantPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetAssociatedTenantPlainArgs $;
public Builder() {
$ = new GetAssociatedTenantPlainArgs();
}
public Builder(GetAssociatedTenantPlainArgs defaults) {
$ = new GetAssociatedTenantPlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param associatedTenantName The ID that uniquely identifies a tenant.
*
* @return builder
*
*/
public Builder associatedTenantName(String associatedTenantName) {
$.associatedTenantName = associatedTenantName;
return this;
}
/**
* @param billingAccountName The ID that uniquely identifies a billing account.
*
* @return builder
*
*/
public Builder billingAccountName(String billingAccountName) {
$.billingAccountName = billingAccountName;
return this;
}
public GetAssociatedTenantPlainArgs build() {
if ($.associatedTenantName == null) {
throw new MissingRequiredPropertyException("GetAssociatedTenantPlainArgs", "associatedTenantName");
}
if ($.billingAccountName == null) {
throw new MissingRequiredPropertyException("GetAssociatedTenantPlainArgs", "billingAccountName");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy