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

com.pulumi.azure.marketplace.inputs.AgreementState Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
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.azure.marketplace.inputs;

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


public final class AgreementState extends com.pulumi.resources.ResourceArgs {

    public static final AgreementState Empty = new AgreementState();

    @Import(name="licenseTextLink")
    private @Nullable Output licenseTextLink;

    public Optional> licenseTextLink() {
        return Optional.ofNullable(this.licenseTextLink);
    }

    /**
     * The Offer of the Marketplace Image. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="offer")
    private @Nullable Output offer;

    /**
     * @return The Offer of the Marketplace Image. Changing this forces a new resource to be created.
     * 
     */
    public Optional> offer() {
        return Optional.ofNullable(this.offer);
    }

    /**
     * The Plan of the Marketplace Image. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="plan")
    private @Nullable Output plan;

    /**
     * @return The Plan of the Marketplace Image. Changing this forces a new resource to be created.
     * 
     */
    public Optional> plan() {
        return Optional.ofNullable(this.plan);
    }

    @Import(name="privacyPolicyLink")
    private @Nullable Output privacyPolicyLink;

    public Optional> privacyPolicyLink() {
        return Optional.ofNullable(this.privacyPolicyLink);
    }

    /**
     * The Publisher of the Marketplace Image. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="publisher")
    private @Nullable Output publisher;

    /**
     * @return The Publisher of the Marketplace Image. Changing this forces a new resource to be created.
     * 
     */
    public Optional> publisher() {
        return Optional.ofNullable(this.publisher);
    }

    private AgreementState() {}

    private AgreementState(AgreementState $) {
        this.licenseTextLink = $.licenseTextLink;
        this.offer = $.offer;
        this.plan = $.plan;
        this.privacyPolicyLink = $.privacyPolicyLink;
        this.publisher = $.publisher;
    }

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

    public static final class Builder {
        private AgreementState $;

        public Builder() {
            $ = new AgreementState();
        }

        public Builder(AgreementState defaults) {
            $ = new AgreementState(Objects.requireNonNull(defaults));
        }

        public Builder licenseTextLink(@Nullable Output licenseTextLink) {
            $.licenseTextLink = licenseTextLink;
            return this;
        }

        public Builder licenseTextLink(String licenseTextLink) {
            return licenseTextLink(Output.of(licenseTextLink));
        }

        /**
         * @param offer The Offer of the Marketplace Image. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder offer(@Nullable Output offer) {
            $.offer = offer;
            return this;
        }

        /**
         * @param offer The Offer of the Marketplace Image. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder offer(String offer) {
            return offer(Output.of(offer));
        }

        /**
         * @param plan The Plan of the Marketplace Image. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder plan(@Nullable Output plan) {
            $.plan = plan;
            return this;
        }

        /**
         * @param plan The Plan of the Marketplace Image. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder plan(String plan) {
            return plan(Output.of(plan));
        }

        public Builder privacyPolicyLink(@Nullable Output privacyPolicyLink) {
            $.privacyPolicyLink = privacyPolicyLink;
            return this;
        }

        public Builder privacyPolicyLink(String privacyPolicyLink) {
            return privacyPolicyLink(Output.of(privacyPolicyLink));
        }

        /**
         * @param publisher The Publisher of the Marketplace Image. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder publisher(@Nullable Output publisher) {
            $.publisher = publisher;
            return this;
        }

        /**
         * @param publisher The Publisher of the Marketplace Image. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder publisher(String publisher) {
            return publisher(Output.of(publisher));
        }

        public AgreementState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy