
com.pulumi.azurenative.marketplace.outputs.GetPrivateStoreCollectionOfferResult 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.marketplace.outputs;
import com.pulumi.azurenative.marketplace.outputs.PlanResponse;
import com.pulumi.azurenative.marketplace.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetPrivateStoreCollectionOfferResult {
/**
* @return Private store offer creation date
*
*/
private String createdAt;
/**
* @return Identifier for purposes of race condition
*
*/
private @Nullable String eTag;
/**
* @return Icon File Uris
*
*/
private @Nullable Map iconFileUris;
/**
* @return The resource ID.
*
*/
private String id;
/**
* @return Private store offer modification date
*
*/
private String modifiedAt;
/**
* @return The name of the resource.
*
*/
private String name;
/**
* @return It will be displayed prominently in the marketplace
*
*/
private String offerDisplayName;
/**
* @return Offer plans
*
*/
private @Nullable List plans;
/**
* @return Private store unique id
*
*/
private String privateStoreId;
/**
* @return Publisher name that will be displayed prominently in the marketplace
*
*/
private String publisherDisplayName;
/**
* @return Plan ids limitation for this offer
*
*/
private @Nullable List specificPlanIdsLimitation;
/**
* @return Metadata pertaining to creation and last modification of the resource
*
*/
private SystemDataResponse systemData;
/**
* @return The type of the resource.
*
*/
private String type;
/**
* @return Offers unique id
*
*/
private String uniqueOfferId;
/**
* @return Indicating whether the offer was not updated to db (true = not updated). If the allow list is identical to the existed one in db, the offer would not be updated.
*
*/
private @Nullable Boolean updateSuppressedDueIdempotence;
private GetPrivateStoreCollectionOfferResult() {}
/**
* @return Private store offer creation date
*
*/
public String createdAt() {
return this.createdAt;
}
/**
* @return Identifier for purposes of race condition
*
*/
public Optional eTag() {
return Optional.ofNullable(this.eTag);
}
/**
* @return Icon File Uris
*
*/
public Map iconFileUris() {
return this.iconFileUris == null ? Map.of() : this.iconFileUris;
}
/**
* @return The resource ID.
*
*/
public String id() {
return this.id;
}
/**
* @return Private store offer modification date
*
*/
public String modifiedAt() {
return this.modifiedAt;
}
/**
* @return The name of the resource.
*
*/
public String name() {
return this.name;
}
/**
* @return It will be displayed prominently in the marketplace
*
*/
public String offerDisplayName() {
return this.offerDisplayName;
}
/**
* @return Offer plans
*
*/
public List plans() {
return this.plans == null ? List.of() : this.plans;
}
/**
* @return Private store unique id
*
*/
public String privateStoreId() {
return this.privateStoreId;
}
/**
* @return Publisher name that will be displayed prominently in the marketplace
*
*/
public String publisherDisplayName() {
return this.publisherDisplayName;
}
/**
* @return Plan ids limitation for this offer
*
*/
public List specificPlanIdsLimitation() {
return this.specificPlanIdsLimitation == null ? List.of() : this.specificPlanIdsLimitation;
}
/**
* @return Metadata pertaining to creation and last modification of the resource
*
*/
public SystemDataResponse systemData() {
return this.systemData;
}
/**
* @return The type of the resource.
*
*/
public String type() {
return this.type;
}
/**
* @return Offers unique id
*
*/
public String uniqueOfferId() {
return this.uniqueOfferId;
}
/**
* @return Indicating whether the offer was not updated to db (true = not updated). If the allow list is identical to the existed one in db, the offer would not be updated.
*
*/
public Optional updateSuppressedDueIdempotence() {
return Optional.ofNullable(this.updateSuppressedDueIdempotence);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetPrivateStoreCollectionOfferResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String createdAt;
private @Nullable String eTag;
private @Nullable Map iconFileUris;
private String id;
private String modifiedAt;
private String name;
private String offerDisplayName;
private @Nullable List plans;
private String privateStoreId;
private String publisherDisplayName;
private @Nullable List specificPlanIdsLimitation;
private SystemDataResponse systemData;
private String type;
private String uniqueOfferId;
private @Nullable Boolean updateSuppressedDueIdempotence;
public Builder() {}
public Builder(GetPrivateStoreCollectionOfferResult defaults) {
Objects.requireNonNull(defaults);
this.createdAt = defaults.createdAt;
this.eTag = defaults.eTag;
this.iconFileUris = defaults.iconFileUris;
this.id = defaults.id;
this.modifiedAt = defaults.modifiedAt;
this.name = defaults.name;
this.offerDisplayName = defaults.offerDisplayName;
this.plans = defaults.plans;
this.privateStoreId = defaults.privateStoreId;
this.publisherDisplayName = defaults.publisherDisplayName;
this.specificPlanIdsLimitation = defaults.specificPlanIdsLimitation;
this.systemData = defaults.systemData;
this.type = defaults.type;
this.uniqueOfferId = defaults.uniqueOfferId;
this.updateSuppressedDueIdempotence = defaults.updateSuppressedDueIdempotence;
}
@CustomType.Setter
public Builder createdAt(String createdAt) {
if (createdAt == null) {
throw new MissingRequiredPropertyException("GetPrivateStoreCollectionOfferResult", "createdAt");
}
this.createdAt = createdAt;
return this;
}
@CustomType.Setter
public Builder eTag(@Nullable String eTag) {
this.eTag = eTag;
return this;
}
@CustomType.Setter
public Builder iconFileUris(@Nullable Map iconFileUris) {
this.iconFileUris = iconFileUris;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetPrivateStoreCollectionOfferResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder modifiedAt(String modifiedAt) {
if (modifiedAt == null) {
throw new MissingRequiredPropertyException("GetPrivateStoreCollectionOfferResult", "modifiedAt");
}
this.modifiedAt = modifiedAt;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetPrivateStoreCollectionOfferResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder offerDisplayName(String offerDisplayName) {
if (offerDisplayName == null) {
throw new MissingRequiredPropertyException("GetPrivateStoreCollectionOfferResult", "offerDisplayName");
}
this.offerDisplayName = offerDisplayName;
return this;
}
@CustomType.Setter
public Builder plans(@Nullable List plans) {
this.plans = plans;
return this;
}
public Builder plans(PlanResponse... plans) {
return plans(List.of(plans));
}
@CustomType.Setter
public Builder privateStoreId(String privateStoreId) {
if (privateStoreId == null) {
throw new MissingRequiredPropertyException("GetPrivateStoreCollectionOfferResult", "privateStoreId");
}
this.privateStoreId = privateStoreId;
return this;
}
@CustomType.Setter
public Builder publisherDisplayName(String publisherDisplayName) {
if (publisherDisplayName == null) {
throw new MissingRequiredPropertyException("GetPrivateStoreCollectionOfferResult", "publisherDisplayName");
}
this.publisherDisplayName = publisherDisplayName;
return this;
}
@CustomType.Setter
public Builder specificPlanIdsLimitation(@Nullable List specificPlanIdsLimitation) {
this.specificPlanIdsLimitation = specificPlanIdsLimitation;
return this;
}
public Builder specificPlanIdsLimitation(String... specificPlanIdsLimitation) {
return specificPlanIdsLimitation(List.of(specificPlanIdsLimitation));
}
@CustomType.Setter
public Builder systemData(SystemDataResponse systemData) {
if (systemData == null) {
throw new MissingRequiredPropertyException("GetPrivateStoreCollectionOfferResult", "systemData");
}
this.systemData = systemData;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetPrivateStoreCollectionOfferResult", "type");
}
this.type = type;
return this;
}
@CustomType.Setter
public Builder uniqueOfferId(String uniqueOfferId) {
if (uniqueOfferId == null) {
throw new MissingRequiredPropertyException("GetPrivateStoreCollectionOfferResult", "uniqueOfferId");
}
this.uniqueOfferId = uniqueOfferId;
return this;
}
@CustomType.Setter
public Builder updateSuppressedDueIdempotence(@Nullable Boolean updateSuppressedDueIdempotence) {
this.updateSuppressedDueIdempotence = updateSuppressedDueIdempotence;
return this;
}
public GetPrivateStoreCollectionOfferResult build() {
final var _resultValue = new GetPrivateStoreCollectionOfferResult();
_resultValue.createdAt = createdAt;
_resultValue.eTag = eTag;
_resultValue.iconFileUris = iconFileUris;
_resultValue.id = id;
_resultValue.modifiedAt = modifiedAt;
_resultValue.name = name;
_resultValue.offerDisplayName = offerDisplayName;
_resultValue.plans = plans;
_resultValue.privateStoreId = privateStoreId;
_resultValue.publisherDisplayName = publisherDisplayName;
_resultValue.specificPlanIdsLimitation = specificPlanIdsLimitation;
_resultValue.systemData = systemData;
_resultValue.type = type;
_resultValue.uniqueOfferId = uniqueOfferId;
_resultValue.updateSuppressedDueIdempotence = updateSuppressedDueIdempotence;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy