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

com.pulumi.aws.s3.inputs.InventoryDestinationBucketEncryptionArgs Maven / Gradle / Ivy

Go to download

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

The 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.s3.inputs;

import com.pulumi.aws.s3.inputs.InventoryDestinationBucketEncryptionSseKmsArgs;
import com.pulumi.aws.s3.inputs.InventoryDestinationBucketEncryptionSseS3Args;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final InventoryDestinationBucketEncryptionArgs Empty = new InventoryDestinationBucketEncryptionArgs();

    /**
     * Specifies to use server-side encryption with AWS KMS-managed keys to encrypt the inventory file (documented below).
     * 
     */
    @Import(name="sseKms")
    private @Nullable Output sseKms;

    /**
     * @return Specifies to use server-side encryption with AWS KMS-managed keys to encrypt the inventory file (documented below).
     * 
     */
    public Optional> sseKms() {
        return Optional.ofNullable(this.sseKms);
    }

    /**
     * Specifies to use server-side encryption with Amazon S3-managed keys (SSE-S3) to encrypt the inventory file.
     * 
     */
    @Import(name="sseS3")
    private @Nullable Output sseS3;

    /**
     * @return Specifies to use server-side encryption with Amazon S3-managed keys (SSE-S3) to encrypt the inventory file.
     * 
     */
    public Optional> sseS3() {
        return Optional.ofNullable(this.sseS3);
    }

    private InventoryDestinationBucketEncryptionArgs() {}

    private InventoryDestinationBucketEncryptionArgs(InventoryDestinationBucketEncryptionArgs $) {
        this.sseKms = $.sseKms;
        this.sseS3 = $.sseS3;
    }

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

    public static final class Builder {
        private InventoryDestinationBucketEncryptionArgs $;

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

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

        /**
         * @param sseKms Specifies to use server-side encryption with AWS KMS-managed keys to encrypt the inventory file (documented below).
         * 
         * @return builder
         * 
         */
        public Builder sseKms(@Nullable Output sseKms) {
            $.sseKms = sseKms;
            return this;
        }

        /**
         * @param sseKms Specifies to use server-side encryption with AWS KMS-managed keys to encrypt the inventory file (documented below).
         * 
         * @return builder
         * 
         */
        public Builder sseKms(InventoryDestinationBucketEncryptionSseKmsArgs sseKms) {
            return sseKms(Output.of(sseKms));
        }

        /**
         * @param sseS3 Specifies to use server-side encryption with Amazon S3-managed keys (SSE-S3) to encrypt the inventory file.
         * 
         * @return builder
         * 
         */
        public Builder sseS3(@Nullable Output sseS3) {
            $.sseS3 = sseS3;
            return this;
        }

        /**
         * @param sseS3 Specifies to use server-side encryption with Amazon S3-managed keys (SSE-S3) to encrypt the inventory file.
         * 
         * @return builder
         * 
         */
        public Builder sseS3(InventoryDestinationBucketEncryptionSseS3Args sseS3) {
            return sseS3(Output.of(sseS3));
        }

        public InventoryDestinationBucketEncryptionArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy