com.pulumi.azurenative.web.outputs.GetWebAppPremierAddOnSlotResult 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.web.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetWebAppPremierAddOnSlotResult {
/**
* @return Resource Id.
*
*/
private String id;
/**
* @return Kind of resource.
*
*/
private @Nullable String kind;
/**
* @return Resource Location.
*
*/
private String location;
/**
* @return Premier add on Marketplace offer.
*
*/
private @Nullable String marketplaceOffer;
/**
* @return Premier add on Marketplace publisher.
*
*/
private @Nullable String marketplacePublisher;
/**
* @return Resource Name.
*
*/
private String name;
/**
* @return Premier add on Product.
*
*/
private @Nullable String product;
/**
* @return Premier add on SKU.
*
*/
private @Nullable String sku;
/**
* @return Resource tags.
*
*/
private @Nullable Map tags;
/**
* @return Resource type.
*
*/
private String type;
/**
* @return Premier add on Vendor.
*
*/
private @Nullable String vendor;
private GetWebAppPremierAddOnSlotResult() {}
/**
* @return Resource Id.
*
*/
public String id() {
return this.id;
}
/**
* @return Kind of resource.
*
*/
public Optional kind() {
return Optional.ofNullable(this.kind);
}
/**
* @return Resource Location.
*
*/
public String location() {
return this.location;
}
/**
* @return Premier add on Marketplace offer.
*
*/
public Optional marketplaceOffer() {
return Optional.ofNullable(this.marketplaceOffer);
}
/**
* @return Premier add on Marketplace publisher.
*
*/
public Optional marketplacePublisher() {
return Optional.ofNullable(this.marketplacePublisher);
}
/**
* @return Resource Name.
*
*/
public String name() {
return this.name;
}
/**
* @return Premier add on Product.
*
*/
public Optional product() {
return Optional.ofNullable(this.product);
}
/**
* @return Premier add on SKU.
*
*/
public Optional sku() {
return Optional.ofNullable(this.sku);
}
/**
* @return Resource tags.
*
*/
public Map tags() {
return this.tags == null ? Map.of() : this.tags;
}
/**
* @return Resource type.
*
*/
public String type() {
return this.type;
}
/**
* @return Premier add on Vendor.
*
*/
public Optional vendor() {
return Optional.ofNullable(this.vendor);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetWebAppPremierAddOnSlotResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String id;
private @Nullable String kind;
private String location;
private @Nullable String marketplaceOffer;
private @Nullable String marketplacePublisher;
private String name;
private @Nullable String product;
private @Nullable String sku;
private @Nullable Map tags;
private String type;
private @Nullable String vendor;
public Builder() {}
public Builder(GetWebAppPremierAddOnSlotResult defaults) {
Objects.requireNonNull(defaults);
this.id = defaults.id;
this.kind = defaults.kind;
this.location = defaults.location;
this.marketplaceOffer = defaults.marketplaceOffer;
this.marketplacePublisher = defaults.marketplacePublisher;
this.name = defaults.name;
this.product = defaults.product;
this.sku = defaults.sku;
this.tags = defaults.tags;
this.type = defaults.type;
this.vendor = defaults.vendor;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetWebAppPremierAddOnSlotResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder kind(@Nullable String kind) {
this.kind = kind;
return this;
}
@CustomType.Setter
public Builder location(String location) {
if (location == null) {
throw new MissingRequiredPropertyException("GetWebAppPremierAddOnSlotResult", "location");
}
this.location = location;
return this;
}
@CustomType.Setter
public Builder marketplaceOffer(@Nullable String marketplaceOffer) {
this.marketplaceOffer = marketplaceOffer;
return this;
}
@CustomType.Setter
public Builder marketplacePublisher(@Nullable String marketplacePublisher) {
this.marketplacePublisher = marketplacePublisher;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetWebAppPremierAddOnSlotResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder product(@Nullable String product) {
this.product = product;
return this;
}
@CustomType.Setter
public Builder sku(@Nullable String sku) {
this.sku = sku;
return this;
}
@CustomType.Setter
public Builder tags(@Nullable Map tags) {
this.tags = tags;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetWebAppPremierAddOnSlotResult", "type");
}
this.type = type;
return this;
}
@CustomType.Setter
public Builder vendor(@Nullable String vendor) {
this.vendor = vendor;
return this;
}
public GetWebAppPremierAddOnSlotResult build() {
final var _resultValue = new GetWebAppPremierAddOnSlotResult();
_resultValue.id = id;
_resultValue.kind = kind;
_resultValue.location = location;
_resultValue.marketplaceOffer = marketplaceOffer;
_resultValue.marketplacePublisher = marketplacePublisher;
_resultValue.name = name;
_resultValue.product = product;
_resultValue.sku = sku;
_resultValue.tags = tags;
_resultValue.type = type;
_resultValue.vendor = vendor;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy