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

com.pulumi.meraki.organizations.inputs.InventoryClaimItemLicenseArgs Maven / Gradle / Ivy

There is a newer version: 0.4.0-alpha.1731736975
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.meraki.organizations.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 InventoryClaimItemLicenseArgs extends com.pulumi.resources.ResourceArgs {

    public static final InventoryClaimItemLicenseArgs Empty = new InventoryClaimItemLicenseArgs();

    /**
     * The key of the license
     * 
     */
    @Import(name="key")
    private @Nullable Output key;

    /**
     * @return The key of the license
     * 
     */
    public Optional> key() {
        return Optional.ofNullable(this.key);
    }

    /**
     * The mode of the license
     * 
     */
    @Import(name="mode")
    private @Nullable Output mode;

    /**
     * @return The mode of the license
     * 
     */
    public Optional> mode() {
        return Optional.ofNullable(this.mode);
    }

    private InventoryClaimItemLicenseArgs() {}

    private InventoryClaimItemLicenseArgs(InventoryClaimItemLicenseArgs $) {
        this.key = $.key;
        this.mode = $.mode;
    }

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

    public static final class Builder {
        private InventoryClaimItemLicenseArgs $;

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

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

        /**
         * @param key The key of the license
         * 
         * @return builder
         * 
         */
        public Builder key(@Nullable Output key) {
            $.key = key;
            return this;
        }

        /**
         * @param key The key of the license
         * 
         * @return builder
         * 
         */
        public Builder key(String key) {
            return key(Output.of(key));
        }

        /**
         * @param mode The mode of the license
         * 
         * @return builder
         * 
         */
        public Builder mode(@Nullable Output mode) {
            $.mode = mode;
            return this;
        }

        /**
         * @param mode The mode of the license
         * 
         * @return builder
         * 
         */
        public Builder mode(String mode) {
            return mode(Output.of(mode));
        }

        public InventoryClaimItemLicenseArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy