com.pulumi.azurenative.marketplace.outputs.PlanResponse 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.marketplace.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 PlanResponse {
/**
* @return Plan accessibility
*
*/
private @Nullable String accessibility;
/**
* @return Alternative stack type
*
*/
private String altStackReference;
/**
* @return Friendly name for the plan for display in the marketplace
*
*/
private String planDisplayName;
/**
* @return Text identifier for this plan
*
*/
private String planId;
/**
* @return Identifier for this plan
*
*/
private String skuId;
/**
* @return Stack type (classic or arm)
*
*/
private String stackType;
private PlanResponse() {}
/**
* @return Plan accessibility
*
*/
public Optional accessibility() {
return Optional.ofNullable(this.accessibility);
}
/**
* @return Alternative stack type
*
*/
public String altStackReference() {
return this.altStackReference;
}
/**
* @return Friendly name for the plan for display in the marketplace
*
*/
public String planDisplayName() {
return this.planDisplayName;
}
/**
* @return Text identifier for this plan
*
*/
public String planId() {
return this.planId;
}
/**
* @return Identifier for this plan
*
*/
public String skuId() {
return this.skuId;
}
/**
* @return Stack type (classic or arm)
*
*/
public String stackType() {
return this.stackType;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(PlanResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String accessibility;
private String altStackReference;
private String planDisplayName;
private String planId;
private String skuId;
private String stackType;
public Builder() {}
public Builder(PlanResponse defaults) {
Objects.requireNonNull(defaults);
this.accessibility = defaults.accessibility;
this.altStackReference = defaults.altStackReference;
this.planDisplayName = defaults.planDisplayName;
this.planId = defaults.planId;
this.skuId = defaults.skuId;
this.stackType = defaults.stackType;
}
@CustomType.Setter
public Builder accessibility(@Nullable String accessibility) {
this.accessibility = accessibility;
return this;
}
@CustomType.Setter
public Builder altStackReference(String altStackReference) {
if (altStackReference == null) {
throw new MissingRequiredPropertyException("PlanResponse", "altStackReference");
}
this.altStackReference = altStackReference;
return this;
}
@CustomType.Setter
public Builder planDisplayName(String planDisplayName) {
if (planDisplayName == null) {
throw new MissingRequiredPropertyException("PlanResponse", "planDisplayName");
}
this.planDisplayName = planDisplayName;
return this;
}
@CustomType.Setter
public Builder planId(String planId) {
if (planId == null) {
throw new MissingRequiredPropertyException("PlanResponse", "planId");
}
this.planId = planId;
return this;
}
@CustomType.Setter
public Builder skuId(String skuId) {
if (skuId == null) {
throw new MissingRequiredPropertyException("PlanResponse", "skuId");
}
this.skuId = skuId;
return this;
}
@CustomType.Setter
public Builder stackType(String stackType) {
if (stackType == null) {
throw new MissingRequiredPropertyException("PlanResponse", "stackType");
}
this.stackType = stackType;
return this;
}
public PlanResponse build() {
final var _resultValue = new PlanResponse();
_resultValue.accessibility = accessibility;
_resultValue.altStackReference = altStackReference;
_resultValue.planDisplayName = planDisplayName;
_resultValue.planId = planId;
_resultValue.skuId = skuId;
_resultValue.stackType = stackType;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy