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

com.pulumi.scm.inputs.HipObjectDiskEncryptionVendorArgs Maven / Gradle / Ivy

There is a newer version: 0.2.0-alpha.1732774506
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.scm.inputs;

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


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

    public static final HipObjectDiskEncryptionVendorArgs Empty = new HipObjectDiskEncryptionVendorArgs();

    /**
     * The Name param. String length must not exceed 103 characters.
     * 
     */
    @Import(name="name", required=true)
    private Output name;

    /**
     * @return The Name param. String length must not exceed 103 characters.
     * 
     */
    public Output name() {
        return this.name;
    }

    /**
     * The Products param. Individual elements in this list are subject to additional validation. String length must not exceed 1023 characters. String validation regex: `.*`.
     * 
     */
    @Import(name="products")
    private @Nullable Output> products;

    /**
     * @return The Products param. Individual elements in this list are subject to additional validation. String length must not exceed 1023 characters. String validation regex: `.*`.
     * 
     */
    public Optional>> products() {
        return Optional.ofNullable(this.products);
    }

    private HipObjectDiskEncryptionVendorArgs() {}

    private HipObjectDiskEncryptionVendorArgs(HipObjectDiskEncryptionVendorArgs $) {
        this.name = $.name;
        this.products = $.products;
    }

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

    public static final class Builder {
        private HipObjectDiskEncryptionVendorArgs $;

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

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

        /**
         * @param name The Name param. String length must not exceed 103 characters.
         * 
         * @return builder
         * 
         */
        public Builder name(Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The Name param. String length must not exceed 103 characters.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param products The Products param. Individual elements in this list are subject to additional validation. String length must not exceed 1023 characters. String validation regex: `.*`.
         * 
         * @return builder
         * 
         */
        public Builder products(@Nullable Output> products) {
            $.products = products;
            return this;
        }

        /**
         * @param products The Products param. Individual elements in this list are subject to additional validation. String length must not exceed 1023 characters. String validation regex: `.*`.
         * 
         * @return builder
         * 
         */
        public Builder products(List products) {
            return products(Output.of(products));
        }

        /**
         * @param products The Products param. Individual elements in this list are subject to additional validation. String length must not exceed 1023 characters. String validation regex: `.*`.
         * 
         * @return builder
         * 
         */
        public Builder products(String... products) {
            return products(List.of(products));
        }

        public HipObjectDiskEncryptionVendorArgs build() {
            if ($.name == null) {
                throw new MissingRequiredPropertyException("HipObjectDiskEncryptionVendorArgs", "name");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy