
com.pulumi.azurenative.costmanagement.outputs.CustomerMetadataResponse 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.costmanagement.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class CustomerMetadataResponse {
/**
* @return Customer billing account id
*
*/
private String billingAccountId;
/**
* @return Customer billing profile id
*
*/
private String billingProfileId;
private CustomerMetadataResponse() {}
/**
* @return Customer billing account id
*
*/
public String billingAccountId() {
return this.billingAccountId;
}
/**
* @return Customer billing profile id
*
*/
public String billingProfileId() {
return this.billingProfileId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(CustomerMetadataResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String billingAccountId;
private String billingProfileId;
public Builder() {}
public Builder(CustomerMetadataResponse defaults) {
Objects.requireNonNull(defaults);
this.billingAccountId = defaults.billingAccountId;
this.billingProfileId = defaults.billingProfileId;
}
@CustomType.Setter
public Builder billingAccountId(String billingAccountId) {
if (billingAccountId == null) {
throw new MissingRequiredPropertyException("CustomerMetadataResponse", "billingAccountId");
}
this.billingAccountId = billingAccountId;
return this;
}
@CustomType.Setter
public Builder billingProfileId(String billingProfileId) {
if (billingProfileId == null) {
throw new MissingRequiredPropertyException("CustomerMetadataResponse", "billingProfileId");
}
this.billingProfileId = billingProfileId;
return this;
}
public CustomerMetadataResponse build() {
final var _resultValue = new CustomerMetadataResponse();
_resultValue.billingAccountId = billingAccountId;
_resultValue.billingProfileId = billingProfileId;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy