All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.confluent.outputs.OfferDetailResponse Maven / Gradle / Ivy

There is a newer version: 2.78.0
Show newest version
// *** 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.confluent.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class OfferDetailResponse {
    /**
     * @return Offer Id
     * 
     */
    private String id;
    /**
     * @return Offer Plan Id
     * 
     */
    private String planId;
    /**
     * @return Offer Plan Name
     * 
     */
    private String planName;
    /**
     * @return Publisher Id
     * 
     */
    private String publisherId;
    /**
     * @return SaaS Offer Status
     * 
     */
    private String status;
    /**
     * @return Offer Plan Term unit
     * 
     */
    private String termUnit;

    private OfferDetailResponse() {}
    /**
     * @return Offer Id
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return Offer Plan Id
     * 
     */
    public String planId() {
        return this.planId;
    }
    /**
     * @return Offer Plan Name
     * 
     */
    public String planName() {
        return this.planName;
    }
    /**
     * @return Publisher Id
     * 
     */
    public String publisherId() {
        return this.publisherId;
    }
    /**
     * @return SaaS Offer Status
     * 
     */
    public String status() {
        return this.status;
    }
    /**
     * @return Offer Plan Term unit
     * 
     */
    public String termUnit() {
        return this.termUnit;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(OfferDetailResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String id;
        private String planId;
        private String planName;
        private String publisherId;
        private String status;
        private String termUnit;
        public Builder() {}
        public Builder(OfferDetailResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.id = defaults.id;
    	      this.planId = defaults.planId;
    	      this.planName = defaults.planName;
    	      this.publisherId = defaults.publisherId;
    	      this.status = defaults.status;
    	      this.termUnit = defaults.termUnit;
        }

        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("OfferDetailResponse", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder planId(String planId) {
            if (planId == null) {
              throw new MissingRequiredPropertyException("OfferDetailResponse", "planId");
            }
            this.planId = planId;
            return this;
        }
        @CustomType.Setter
        public Builder planName(String planName) {
            if (planName == null) {
              throw new MissingRequiredPropertyException("OfferDetailResponse", "planName");
            }
            this.planName = planName;
            return this;
        }
        @CustomType.Setter
        public Builder publisherId(String publisherId) {
            if (publisherId == null) {
              throw new MissingRequiredPropertyException("OfferDetailResponse", "publisherId");
            }
            this.publisherId = publisherId;
            return this;
        }
        @CustomType.Setter
        public Builder status(String status) {
            if (status == null) {
              throw new MissingRequiredPropertyException("OfferDetailResponse", "status");
            }
            this.status = status;
            return this;
        }
        @CustomType.Setter
        public Builder termUnit(String termUnit) {
            if (termUnit == null) {
              throw new MissingRequiredPropertyException("OfferDetailResponse", "termUnit");
            }
            this.termUnit = termUnit;
            return this;
        }
        public OfferDetailResponse build() {
            final var _resultValue = new OfferDetailResponse();
            _resultValue.id = id;
            _resultValue.planId = planId;
            _resultValue.planName = planName;
            _resultValue.publisherId = publisherId;
            _resultValue.status = status;
            _resultValue.termUnit = termUnit;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy