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

com.pulumi.azurenative.avs.inputs.AddonSrmPropertiesArgs Maven / Gradle / Ivy

There is a newer version: 2.82.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.avs.inputs;

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


/**
 * The properties of a Site Recovery Manager (SRM) addon
 * 
 */
public final class AddonSrmPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final AddonSrmPropertiesArgs Empty = new AddonSrmPropertiesArgs();

    /**
     * The type of private cloud addon
     * Expected value is 'SRM'.
     * 
     */
    @Import(name="addonType", required=true)
    private Output addonType;

    /**
     * @return The type of private cloud addon
     * Expected value is 'SRM'.
     * 
     */
    public Output addonType() {
        return this.addonType;
    }

    /**
     * The Site Recovery Manager (SRM) license
     * 
     */
    @Import(name="licenseKey")
    private @Nullable Output licenseKey;

    /**
     * @return The Site Recovery Manager (SRM) license
     * 
     */
    public Optional> licenseKey() {
        return Optional.ofNullable(this.licenseKey);
    }

    private AddonSrmPropertiesArgs() {}

    private AddonSrmPropertiesArgs(AddonSrmPropertiesArgs $) {
        this.addonType = $.addonType;
        this.licenseKey = $.licenseKey;
    }

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

    public static final class Builder {
        private AddonSrmPropertiesArgs $;

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

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

        /**
         * @param addonType The type of private cloud addon
         * Expected value is 'SRM'.
         * 
         * @return builder
         * 
         */
        public Builder addonType(Output addonType) {
            $.addonType = addonType;
            return this;
        }

        /**
         * @param addonType The type of private cloud addon
         * Expected value is 'SRM'.
         * 
         * @return builder
         * 
         */
        public Builder addonType(String addonType) {
            return addonType(Output.of(addonType));
        }

        /**
         * @param licenseKey The Site Recovery Manager (SRM) license
         * 
         * @return builder
         * 
         */
        public Builder licenseKey(@Nullable Output licenseKey) {
            $.licenseKey = licenseKey;
            return this;
        }

        /**
         * @param licenseKey The Site Recovery Manager (SRM) license
         * 
         * @return builder
         * 
         */
        public Builder licenseKey(String licenseKey) {
            return licenseKey(Output.of(licenseKey));
        }

        public AddonSrmPropertiesArgs build() {
            $.addonType = Codegen.stringProp("addonType").output().arg($.addonType).require();
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy