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

com.pulumi.aws.s3.inputs.BucketReplicationConfigurationRuleSourceSelectionCriteriaArgs 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.s3.inputs;

import com.pulumi.aws.s3.inputs.BucketReplicationConfigurationRuleSourceSelectionCriteriaSseKmsEncryptedObjectsArgs;
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 BucketReplicationConfigurationRuleSourceSelectionCriteriaArgs extends com.pulumi.resources.ResourceArgs {

    public static final BucketReplicationConfigurationRuleSourceSelectionCriteriaArgs Empty = new BucketReplicationConfigurationRuleSourceSelectionCriteriaArgs();

    /**
     * Match SSE-KMS encrypted objects (documented below). If specified, `replica_kms_key_id`
     * in `destination` must be specified as well.
     * 
     */
    @Import(name="sseKmsEncryptedObjects")
    private @Nullable Output sseKmsEncryptedObjects;

    /**
     * @return Match SSE-KMS encrypted objects (documented below). If specified, `replica_kms_key_id`
     * in `destination` must be specified as well.
     * 
     */
    public Optional> sseKmsEncryptedObjects() {
        return Optional.ofNullable(this.sseKmsEncryptedObjects);
    }

    private BucketReplicationConfigurationRuleSourceSelectionCriteriaArgs() {}

    private BucketReplicationConfigurationRuleSourceSelectionCriteriaArgs(BucketReplicationConfigurationRuleSourceSelectionCriteriaArgs $) {
        this.sseKmsEncryptedObjects = $.sseKmsEncryptedObjects;
    }

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

    public static final class Builder {
        private BucketReplicationConfigurationRuleSourceSelectionCriteriaArgs $;

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

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

        /**
         * @param sseKmsEncryptedObjects Match SSE-KMS encrypted objects (documented below). If specified, `replica_kms_key_id`
         * in `destination` must be specified as well.
         * 
         * @return builder
         * 
         */
        public Builder sseKmsEncryptedObjects(@Nullable Output sseKmsEncryptedObjects) {
            $.sseKmsEncryptedObjects = sseKmsEncryptedObjects;
            return this;
        }

        /**
         * @param sseKmsEncryptedObjects Match SSE-KMS encrypted objects (documented below). If specified, `replica_kms_key_id`
         * in `destination` must be specified as well.
         * 
         * @return builder
         * 
         */
        public Builder sseKmsEncryptedObjects(BucketReplicationConfigurationRuleSourceSelectionCriteriaSseKmsEncryptedObjectsArgs sseKmsEncryptedObjects) {
            return sseKmsEncryptedObjects(Output.of(sseKmsEncryptedObjects));
        }

        public BucketReplicationConfigurationRuleSourceSelectionCriteriaArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy