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