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

com.pulumi.azurenative.web.outputs.ArmPlanResponse 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.web.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class ArmPlanResponse {
    /**
     * @return The name.
     * 
     */
    private @Nullable String name;
    /**
     * @return The product.
     * 
     */
    private @Nullable String product;
    /**
     * @return The promotion code.
     * 
     */
    private @Nullable String promotionCode;
    /**
     * @return The publisher.
     * 
     */
    private @Nullable String publisher;
    /**
     * @return Version of product.
     * 
     */
    private @Nullable String version;

    private ArmPlanResponse() {}
    /**
     * @return The name.
     * 
     */
    public Optional name() {
        return Optional.ofNullable(this.name);
    }
    /**
     * @return The product.
     * 
     */
    public Optional product() {
        return Optional.ofNullable(this.product);
    }
    /**
     * @return The promotion code.
     * 
     */
    public Optional promotionCode() {
        return Optional.ofNullable(this.promotionCode);
    }
    /**
     * @return The publisher.
     * 
     */
    public Optional publisher() {
        return Optional.ofNullable(this.publisher);
    }
    /**
     * @return Version of product.
     * 
     */
    public Optional version() {
        return Optional.ofNullable(this.version);
    }

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

    public static Builder builder(ArmPlanResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String name;
        private @Nullable String product;
        private @Nullable String promotionCode;
        private @Nullable String publisher;
        private @Nullable String version;
        public Builder() {}
        public Builder(ArmPlanResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.name = defaults.name;
    	      this.product = defaults.product;
    	      this.promotionCode = defaults.promotionCode;
    	      this.publisher = defaults.publisher;
    	      this.version = defaults.version;
        }

        @CustomType.Setter
        public Builder name(@Nullable String name) {

            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder product(@Nullable String product) {

            this.product = product;
            return this;
        }
        @CustomType.Setter
        public Builder promotionCode(@Nullable String promotionCode) {

            this.promotionCode = promotionCode;
            return this;
        }
        @CustomType.Setter
        public Builder publisher(@Nullable String publisher) {

            this.publisher = publisher;
            return this;
        }
        @CustomType.Setter
        public Builder version(@Nullable String version) {

            this.version = version;
            return this;
        }
        public ArmPlanResponse build() {
            final var _resultValue = new ArmPlanResponse();
            _resultValue.name = name;
            _resultValue.product = product;
            _resultValue.promotionCode = promotionCode;
            _resultValue.publisher = publisher;
            _resultValue.version = version;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy