
com.pulumi.azurenative.billing.outputs.AzurePlanResponse 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.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class AzurePlanResponse {
/**
* @return The ID that uniquely identifies a product.
*
*/
private @Nullable String productId;
/**
* @return The sku description.
*
*/
private String skuDescription;
/**
* @return The sku id.
*
*/
private @Nullable String skuId;
private AzurePlanResponse() {}
/**
* @return The ID that uniquely identifies a product.
*
*/
public Optional productId() {
return Optional.ofNullable(this.productId);
}
/**
* @return The sku description.
*
*/
public String skuDescription() {
return this.skuDescription;
}
/**
* @return The sku id.
*
*/
public Optional skuId() {
return Optional.ofNullable(this.skuId);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AzurePlanResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String productId;
private String skuDescription;
private @Nullable String skuId;
public Builder() {}
public Builder(AzurePlanResponse defaults) {
Objects.requireNonNull(defaults);
this.productId = defaults.productId;
this.skuDescription = defaults.skuDescription;
this.skuId = defaults.skuId;
}
@CustomType.Setter
public Builder productId(@Nullable String productId) {
this.productId = productId;
return this;
}
@CustomType.Setter
public Builder skuDescription(String skuDescription) {
if (skuDescription == null) {
throw new MissingRequiredPropertyException("AzurePlanResponse", "skuDescription");
}
this.skuDescription = skuDescription;
return this;
}
@CustomType.Setter
public Builder skuId(@Nullable String skuId) {
this.skuId = skuId;
return this;
}
public AzurePlanResponse build() {
final var _resultValue = new AzurePlanResponse();
_resultValue.productId = productId;
_resultValue.skuDescription = skuDescription;
_resultValue.skuId = skuId;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy