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

com.pulumi.aws.timestreamwrite.inputs.TableMagneticStoreWritePropertiesMagneticStoreRejectedDataLocationS3ConfigurationArgs Maven / Gradle / Ivy

// *** 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.timestreamwrite.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 TableMagneticStoreWritePropertiesMagneticStoreRejectedDataLocationS3ConfigurationArgs extends com.pulumi.resources.ResourceArgs {

    public static final TableMagneticStoreWritePropertiesMagneticStoreRejectedDataLocationS3ConfigurationArgs Empty = new TableMagneticStoreWritePropertiesMagneticStoreRejectedDataLocationS3ConfigurationArgs();

    /**
     * Bucket name of the customer S3 bucket.
     * 
     */
    @Import(name="bucketName")
    private @Nullable Output bucketName;

    /**
     * @return Bucket name of the customer S3 bucket.
     * 
     */
    public Optional> bucketName() {
        return Optional.ofNullable(this.bucketName);
    }

    /**
     * Encryption option for the customer s3 location. Options are S3 server side encryption with an S3-managed key or KMS managed key. Valid values are `SSE_KMS` and `SSE_S3`.
     * 
     */
    @Import(name="encryptionOption")
    private @Nullable Output encryptionOption;

    /**
     * @return Encryption option for the customer s3 location. Options are S3 server side encryption with an S3-managed key or KMS managed key. Valid values are `SSE_KMS` and `SSE_S3`.
     * 
     */
    public Optional> encryptionOption() {
        return Optional.ofNullable(this.encryptionOption);
    }

    /**
     * KMS key arn for the customer s3 location when encrypting with a KMS managed key.
     * 
     */
    @Import(name="kmsKeyId")
    private @Nullable Output kmsKeyId;

    /**
     * @return KMS key arn for the customer s3 location when encrypting with a KMS managed key.
     * 
     */
    public Optional> kmsKeyId() {
        return Optional.ofNullable(this.kmsKeyId);
    }

    /**
     * Object key prefix for the customer S3 location.
     * 
     */
    @Import(name="objectKeyPrefix")
    private @Nullable Output objectKeyPrefix;

    /**
     * @return Object key prefix for the customer S3 location.
     * 
     */
    public Optional> objectKeyPrefix() {
        return Optional.ofNullable(this.objectKeyPrefix);
    }

    private TableMagneticStoreWritePropertiesMagneticStoreRejectedDataLocationS3ConfigurationArgs() {}

    private TableMagneticStoreWritePropertiesMagneticStoreRejectedDataLocationS3ConfigurationArgs(TableMagneticStoreWritePropertiesMagneticStoreRejectedDataLocationS3ConfigurationArgs $) {
        this.bucketName = $.bucketName;
        this.encryptionOption = $.encryptionOption;
        this.kmsKeyId = $.kmsKeyId;
        this.objectKeyPrefix = $.objectKeyPrefix;
    }

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

    public static final class Builder {
        private TableMagneticStoreWritePropertiesMagneticStoreRejectedDataLocationS3ConfigurationArgs $;

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

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

        /**
         * @param bucketName Bucket name of the customer S3 bucket.
         * 
         * @return builder
         * 
         */
        public Builder bucketName(@Nullable Output bucketName) {
            $.bucketName = bucketName;
            return this;
        }

        /**
         * @param bucketName Bucket name of the customer S3 bucket.
         * 
         * @return builder
         * 
         */
        public Builder bucketName(String bucketName) {
            return bucketName(Output.of(bucketName));
        }

        /**
         * @param encryptionOption Encryption option for the customer s3 location. Options are S3 server side encryption with an S3-managed key or KMS managed key. Valid values are `SSE_KMS` and `SSE_S3`.
         * 
         * @return builder
         * 
         */
        public Builder encryptionOption(@Nullable Output encryptionOption) {
            $.encryptionOption = encryptionOption;
            return this;
        }

        /**
         * @param encryptionOption Encryption option for the customer s3 location. Options are S3 server side encryption with an S3-managed key or KMS managed key. Valid values are `SSE_KMS` and `SSE_S3`.
         * 
         * @return builder
         * 
         */
        public Builder encryptionOption(String encryptionOption) {
            return encryptionOption(Output.of(encryptionOption));
        }

        /**
         * @param kmsKeyId KMS key arn for the customer s3 location when encrypting with a KMS managed key.
         * 
         * @return builder
         * 
         */
        public Builder kmsKeyId(@Nullable Output kmsKeyId) {
            $.kmsKeyId = kmsKeyId;
            return this;
        }

        /**
         * @param kmsKeyId KMS key arn for the customer s3 location when encrypting with a KMS managed key.
         * 
         * @return builder
         * 
         */
        public Builder kmsKeyId(String kmsKeyId) {
            return kmsKeyId(Output.of(kmsKeyId));
        }

        /**
         * @param objectKeyPrefix Object key prefix for the customer S3 location.
         * 
         * @return builder
         * 
         */
        public Builder objectKeyPrefix(@Nullable Output objectKeyPrefix) {
            $.objectKeyPrefix = objectKeyPrefix;
            return this;
        }

        /**
         * @param objectKeyPrefix Object key prefix for the customer S3 location.
         * 
         * @return builder
         * 
         */
        public Builder objectKeyPrefix(String objectKeyPrefix) {
            return objectKeyPrefix(Output.of(objectKeyPrefix));
        }

        public TableMagneticStoreWritePropertiesMagneticStoreRejectedDataLocationS3ConfigurationArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy