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

com.pulumi.azurenative.storage.inputs.ImmutableStorageWithVersioningArgs Maven / Gradle / Ivy

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

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


/**
 * Object level immutability properties of the container.
 * 
 */
public final class ImmutableStorageWithVersioningArgs extends com.pulumi.resources.ResourceArgs {

    public static final ImmutableStorageWithVersioningArgs Empty = new ImmutableStorageWithVersioningArgs();

    /**
     * This is an immutable property, when set to true it enables object level immutability at the container level.
     * 
     */
    @Import(name="enabled")
    private @Nullable Output enabled;

    /**
     * @return This is an immutable property, when set to true it enables object level immutability at the container level.
     * 
     */
    public Optional> enabled() {
        return Optional.ofNullable(this.enabled);
    }

    private ImmutableStorageWithVersioningArgs() {}

    private ImmutableStorageWithVersioningArgs(ImmutableStorageWithVersioningArgs $) {
        this.enabled = $.enabled;
    }

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

    public static final class Builder {
        private ImmutableStorageWithVersioningArgs $;

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

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

        /**
         * @param enabled This is an immutable property, when set to true it enables object level immutability at the container level.
         * 
         * @return builder
         * 
         */
        public Builder enabled(@Nullable Output enabled) {
            $.enabled = enabled;
            return this;
        }

        /**
         * @param enabled This is an immutable property, when set to true it enables object level immutability at the container level.
         * 
         * @return builder
         * 
         */
        public Builder enabled(Boolean enabled) {
            return enabled(Output.of(enabled));
        }

        public ImmutableStorageWithVersioningArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy