com.pulumi.azurenative.elastic.outputs.GetBillingInfoResult 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.elastic.outputs;
import com.pulumi.azurenative.elastic.outputs.MarketplaceSaaSInfoResponse;
import com.pulumi.azurenative.elastic.outputs.PartnerBillingEntityResponse;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetBillingInfoResult {
/**
* @return Marketplace Subscription details
*
*/
private @Nullable MarketplaceSaaSInfoResponse marketplaceSaasInfo;
/**
* @return Partner Billing Entity details: Organization Info
*
*/
private @Nullable PartnerBillingEntityResponse partnerBillingEntity;
private GetBillingInfoResult() {}
/**
* @return Marketplace Subscription details
*
*/
public Optional marketplaceSaasInfo() {
return Optional.ofNullable(this.marketplaceSaasInfo);
}
/**
* @return Partner Billing Entity details: Organization Info
*
*/
public Optional partnerBillingEntity() {
return Optional.ofNullable(this.partnerBillingEntity);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetBillingInfoResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable MarketplaceSaaSInfoResponse marketplaceSaasInfo;
private @Nullable PartnerBillingEntityResponse partnerBillingEntity;
public Builder() {}
public Builder(GetBillingInfoResult defaults) {
Objects.requireNonNull(defaults);
this.marketplaceSaasInfo = defaults.marketplaceSaasInfo;
this.partnerBillingEntity = defaults.partnerBillingEntity;
}
@CustomType.Setter
public Builder marketplaceSaasInfo(@Nullable MarketplaceSaaSInfoResponse marketplaceSaasInfo) {
this.marketplaceSaasInfo = marketplaceSaasInfo;
return this;
}
@CustomType.Setter
public Builder partnerBillingEntity(@Nullable PartnerBillingEntityResponse partnerBillingEntity) {
this.partnerBillingEntity = partnerBillingEntity;
return this;
}
public GetBillingInfoResult build() {
final var _resultValue = new GetBillingInfoResult();
_resultValue.marketplaceSaasInfo = marketplaceSaasInfo;
_resultValue.partnerBillingEntity = partnerBillingEntity;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy