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

com.pulumi.aws.ebs.EncryptionByDefaultArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.66.3
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.aws.ebs;

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;


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

    public static final EncryptionByDefaultArgs Empty = new EncryptionByDefaultArgs();

    /**
     * Whether or not default EBS encryption is enabled. Valid values are `true` or `false`. Defaults to `true`.
     * 
     */
    @Import(name="enabled")
    private @Nullable Output enabled;

    /**
     * @return Whether or not default EBS encryption is enabled. Valid values are `true` or `false`. Defaults to `true`.
     * 
     */
    public Optional> enabled() {
        return Optional.ofNullable(this.enabled);
    }

    private EncryptionByDefaultArgs() {}

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

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

    public static final class Builder {
        private EncryptionByDefaultArgs $;

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

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

        /**
         * @param enabled Whether or not default EBS encryption is enabled. Valid values are `true` or `false`. Defaults to `true`.
         * 
         * @return builder
         * 
         */
        public Builder enabled(@Nullable Output enabled) {
            $.enabled = enabled;
            return this;
        }

        /**
         * @param enabled Whether or not default EBS encryption is enabled. Valid values are `true` or `false`. Defaults to `true`.
         * 
         * @return builder
         * 
         */
        public Builder enabled(Boolean enabled) {
            return enabled(Output.of(enabled));
        }

        public EncryptionByDefaultArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy