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

com.pulumi.alicloud.cloudstoragegateway.inputs.StorageBundleState Maven / Gradle / Ivy

There is a newer version: 3.63.0-alpha.1727424957
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.alicloud.cloudstoragegateway.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 StorageBundleState extends com.pulumi.resources.ResourceArgs {

    public static final StorageBundleState Empty = new StorageBundleState();

    /**
     * The description of storage bundle.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return The description of storage bundle.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * The name of storage bundle.
     * 
     */
    @Import(name="storageBundleName")
    private @Nullable Output storageBundleName;

    /**
     * @return The name of storage bundle.
     * 
     */
    public Optional> storageBundleName() {
        return Optional.ofNullable(this.storageBundleName);
    }

    private StorageBundleState() {}

    private StorageBundleState(StorageBundleState $) {
        this.description = $.description;
        this.storageBundleName = $.storageBundleName;
    }

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

    public static final class Builder {
        private StorageBundleState $;

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

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

        /**
         * @param description The description of storage bundle.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description The description of storage bundle.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param storageBundleName The name of storage bundle.
         * 
         * @return builder
         * 
         */
        public Builder storageBundleName(@Nullable Output storageBundleName) {
            $.storageBundleName = storageBundleName;
            return this;
        }

        /**
         * @param storageBundleName The name of storage bundle.
         * 
         * @return builder
         * 
         */
        public Builder storageBundleName(String storageBundleName) {
            return storageBundleName(Output.of(storageBundleName));
        }

        public StorageBundleState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy