
com.pulumi.azurenative.elastic.outputs.MarketplaceSaaSInfoResponse 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.MarketplaceSaaSInfoResponseMarketplaceSubscription;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class MarketplaceSaaSInfoResponse {
/**
* @return The Azure Subscription ID to which the Marketplace Subscription belongs and gets billed into.
*
*/
private @Nullable String billedAzureSubscriptionId;
/**
* @return Marketplace Subscription Details: SAAS Name
*
*/
private @Nullable String marketplaceName;
/**
* @return Marketplace Subscription Details: Resource URI
*
*/
private @Nullable String marketplaceResourceId;
/**
* @return Marketplace Subscription Details: SaaS Subscription Status
*
*/
private @Nullable String marketplaceStatus;
/**
* @return Marketplace Subscription
*
*/
private @Nullable MarketplaceSaaSInfoResponseMarketplaceSubscription marketplaceSubscription;
/**
* @return Flag specifying if the Marketplace status is subscribed or not.
*
*/
private @Nullable Boolean subscribed;
private MarketplaceSaaSInfoResponse() {}
/**
* @return The Azure Subscription ID to which the Marketplace Subscription belongs and gets billed into.
*
*/
public Optional billedAzureSubscriptionId() {
return Optional.ofNullable(this.billedAzureSubscriptionId);
}
/**
* @return Marketplace Subscription Details: SAAS Name
*
*/
public Optional marketplaceName() {
return Optional.ofNullable(this.marketplaceName);
}
/**
* @return Marketplace Subscription Details: Resource URI
*
*/
public Optional marketplaceResourceId() {
return Optional.ofNullable(this.marketplaceResourceId);
}
/**
* @return Marketplace Subscription Details: SaaS Subscription Status
*
*/
public Optional marketplaceStatus() {
return Optional.ofNullable(this.marketplaceStatus);
}
/**
* @return Marketplace Subscription
*
*/
public Optional marketplaceSubscription() {
return Optional.ofNullable(this.marketplaceSubscription);
}
/**
* @return Flag specifying if the Marketplace status is subscribed or not.
*
*/
public Optional subscribed() {
return Optional.ofNullable(this.subscribed);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(MarketplaceSaaSInfoResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String billedAzureSubscriptionId;
private @Nullable String marketplaceName;
private @Nullable String marketplaceResourceId;
private @Nullable String marketplaceStatus;
private @Nullable MarketplaceSaaSInfoResponseMarketplaceSubscription marketplaceSubscription;
private @Nullable Boolean subscribed;
public Builder() {}
public Builder(MarketplaceSaaSInfoResponse defaults) {
Objects.requireNonNull(defaults);
this.billedAzureSubscriptionId = defaults.billedAzureSubscriptionId;
this.marketplaceName = defaults.marketplaceName;
this.marketplaceResourceId = defaults.marketplaceResourceId;
this.marketplaceStatus = defaults.marketplaceStatus;
this.marketplaceSubscription = defaults.marketplaceSubscription;
this.subscribed = defaults.subscribed;
}
@CustomType.Setter
public Builder billedAzureSubscriptionId(@Nullable String billedAzureSubscriptionId) {
this.billedAzureSubscriptionId = billedAzureSubscriptionId;
return this;
}
@CustomType.Setter
public Builder marketplaceName(@Nullable String marketplaceName) {
this.marketplaceName = marketplaceName;
return this;
}
@CustomType.Setter
public Builder marketplaceResourceId(@Nullable String marketplaceResourceId) {
this.marketplaceResourceId = marketplaceResourceId;
return this;
}
@CustomType.Setter
public Builder marketplaceStatus(@Nullable String marketplaceStatus) {
this.marketplaceStatus = marketplaceStatus;
return this;
}
@CustomType.Setter
public Builder marketplaceSubscription(@Nullable MarketplaceSaaSInfoResponseMarketplaceSubscription marketplaceSubscription) {
this.marketplaceSubscription = marketplaceSubscription;
return this;
}
@CustomType.Setter
public Builder subscribed(@Nullable Boolean subscribed) {
this.subscribed = subscribed;
return this;
}
public MarketplaceSaaSInfoResponse build() {
final var _resultValue = new MarketplaceSaaSInfoResponse();
_resultValue.billedAzureSubscriptionId = billedAzureSubscriptionId;
_resultValue.marketplaceName = marketplaceName;
_resultValue.marketplaceResourceId = marketplaceResourceId;
_resultValue.marketplaceStatus = marketplaceStatus;
_resultValue.marketplaceSubscription = marketplaceSubscription;
_resultValue.subscribed = subscribed;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy