
com.pulumi.azurenative.agfoodplatform.outputs.SolutionPropertiesResponse 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.agfoodplatform.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 SolutionPropertiesResponse {
/**
* @return SaaS application Marketplace Publisher Id.
*
*/
private String marketplacePublisherId;
/**
* @return SaaS application Offer Id.
*
*/
private String offerId;
/**
* @return Partner Id of the Solution.
*
*/
private String partnerId;
/**
* @return SaaS application Plan Id.
*
*/
private String planId;
/**
* @return Role Assignment Id.
*
*/
private @Nullable String roleAssignmentId;
/**
* @return SaaS subscriptionId of the installed SaaS application.
*
*/
private String saasSubscriptionId;
/**
* @return SaaS subscription name of the installed SaaS application.
*
*/
private String saasSubscriptionName;
/**
* @return SaaS application Term Id.
*
*/
private String termId;
private SolutionPropertiesResponse() {}
/**
* @return SaaS application Marketplace Publisher Id.
*
*/
public String marketplacePublisherId() {
return this.marketplacePublisherId;
}
/**
* @return SaaS application Offer Id.
*
*/
public String offerId() {
return this.offerId;
}
/**
* @return Partner Id of the Solution.
*
*/
public String partnerId() {
return this.partnerId;
}
/**
* @return SaaS application Plan Id.
*
*/
public String planId() {
return this.planId;
}
/**
* @return Role Assignment Id.
*
*/
public Optional roleAssignmentId() {
return Optional.ofNullable(this.roleAssignmentId);
}
/**
* @return SaaS subscriptionId of the installed SaaS application.
*
*/
public String saasSubscriptionId() {
return this.saasSubscriptionId;
}
/**
* @return SaaS subscription name of the installed SaaS application.
*
*/
public String saasSubscriptionName() {
return this.saasSubscriptionName;
}
/**
* @return SaaS application Term Id.
*
*/
public String termId() {
return this.termId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SolutionPropertiesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String marketplacePublisherId;
private String offerId;
private String partnerId;
private String planId;
private @Nullable String roleAssignmentId;
private String saasSubscriptionId;
private String saasSubscriptionName;
private String termId;
public Builder() {}
public Builder(SolutionPropertiesResponse defaults) {
Objects.requireNonNull(defaults);
this.marketplacePublisherId = defaults.marketplacePublisherId;
this.offerId = defaults.offerId;
this.partnerId = defaults.partnerId;
this.planId = defaults.planId;
this.roleAssignmentId = defaults.roleAssignmentId;
this.saasSubscriptionId = defaults.saasSubscriptionId;
this.saasSubscriptionName = defaults.saasSubscriptionName;
this.termId = defaults.termId;
}
@CustomType.Setter
public Builder marketplacePublisherId(String marketplacePublisherId) {
if (marketplacePublisherId == null) {
throw new MissingRequiredPropertyException("SolutionPropertiesResponse", "marketplacePublisherId");
}
this.marketplacePublisherId = marketplacePublisherId;
return this;
}
@CustomType.Setter
public Builder offerId(String offerId) {
if (offerId == null) {
throw new MissingRequiredPropertyException("SolutionPropertiesResponse", "offerId");
}
this.offerId = offerId;
return this;
}
@CustomType.Setter
public Builder partnerId(String partnerId) {
if (partnerId == null) {
throw new MissingRequiredPropertyException("SolutionPropertiesResponse", "partnerId");
}
this.partnerId = partnerId;
return this;
}
@CustomType.Setter
public Builder planId(String planId) {
if (planId == null) {
throw new MissingRequiredPropertyException("SolutionPropertiesResponse", "planId");
}
this.planId = planId;
return this;
}
@CustomType.Setter
public Builder roleAssignmentId(@Nullable String roleAssignmentId) {
this.roleAssignmentId = roleAssignmentId;
return this;
}
@CustomType.Setter
public Builder saasSubscriptionId(String saasSubscriptionId) {
if (saasSubscriptionId == null) {
throw new MissingRequiredPropertyException("SolutionPropertiesResponse", "saasSubscriptionId");
}
this.saasSubscriptionId = saasSubscriptionId;
return this;
}
@CustomType.Setter
public Builder saasSubscriptionName(String saasSubscriptionName) {
if (saasSubscriptionName == null) {
throw new MissingRequiredPropertyException("SolutionPropertiesResponse", "saasSubscriptionName");
}
this.saasSubscriptionName = saasSubscriptionName;
return this;
}
@CustomType.Setter
public Builder termId(String termId) {
if (termId == null) {
throw new MissingRequiredPropertyException("SolutionPropertiesResponse", "termId");
}
this.termId = termId;
return this;
}
public SolutionPropertiesResponse build() {
final var _resultValue = new SolutionPropertiesResponse();
_resultValue.marketplacePublisherId = marketplacePublisherId;
_resultValue.offerId = offerId;
_resultValue.partnerId = partnerId;
_resultValue.planId = planId;
_resultValue.roleAssignmentId = roleAssignmentId;
_resultValue.saasSubscriptionId = saasSubscriptionId;
_resultValue.saasSubscriptionName = saasSubscriptionName;
_resultValue.termId = termId;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy