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

com.pulumi.aws.s3.inputs.BucketReplicationConfigRuleSourceSelectionCriteriaArgs 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.60.0-alpha.1731982519
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.s3.inputs;

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

    public static final BucketReplicationConfigRuleSourceSelectionCriteriaArgs Empty = new BucketReplicationConfigRuleSourceSelectionCriteriaArgs();

    /**
     * Configuration block that you can specify for selections for modifications on replicas. Amazon S3 doesn't replicate replica modifications by default. In the latest version of replication configuration (when `filter` is specified), you can specify this element and set the status to `Enabled` to replicate modifications on replicas.
     * 
     */
    @Import(name="replicaModifications")
    private @Nullable Output replicaModifications;

    /**
     * @return Configuration block that you can specify for selections for modifications on replicas. Amazon S3 doesn't replicate replica modifications by default. In the latest version of replication configuration (when `filter` is specified), you can specify this element and set the status to `Enabled` to replicate modifications on replicas.
     * 
     */
    public Optional> replicaModifications() {
        return Optional.ofNullable(this.replicaModifications);
    }

    /**
     * Configuration block for filter information for the selection of Amazon S3 objects encrypted with AWS KMS. If specified, `replica_kms_key_id` in `destination` `encryption_configuration` must be specified as well.
     * 
     */
    @Import(name="sseKmsEncryptedObjects")
    private @Nullable Output sseKmsEncryptedObjects;

    /**
     * @return Configuration block for filter information for the selection of Amazon S3 objects encrypted with AWS KMS. If specified, `replica_kms_key_id` in `destination` `encryption_configuration` must be specified as well.
     * 
     */
    public Optional> sseKmsEncryptedObjects() {
        return Optional.ofNullable(this.sseKmsEncryptedObjects);
    }

    private BucketReplicationConfigRuleSourceSelectionCriteriaArgs() {}

    private BucketReplicationConfigRuleSourceSelectionCriteriaArgs(BucketReplicationConfigRuleSourceSelectionCriteriaArgs $) {
        this.replicaModifications = $.replicaModifications;
        this.sseKmsEncryptedObjects = $.sseKmsEncryptedObjects;
    }

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

    public static final class Builder {
        private BucketReplicationConfigRuleSourceSelectionCriteriaArgs $;

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

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

        /**
         * @param replicaModifications Configuration block that you can specify for selections for modifications on replicas. Amazon S3 doesn't replicate replica modifications by default. In the latest version of replication configuration (when `filter` is specified), you can specify this element and set the status to `Enabled` to replicate modifications on replicas.
         * 
         * @return builder
         * 
         */
        public Builder replicaModifications(@Nullable Output replicaModifications) {
            $.replicaModifications = replicaModifications;
            return this;
        }

        /**
         * @param replicaModifications Configuration block that you can specify for selections for modifications on replicas. Amazon S3 doesn't replicate replica modifications by default. In the latest version of replication configuration (when `filter` is specified), you can specify this element and set the status to `Enabled` to replicate modifications on replicas.
         * 
         * @return builder
         * 
         */
        public Builder replicaModifications(BucketReplicationConfigRuleSourceSelectionCriteriaReplicaModificationsArgs replicaModifications) {
            return replicaModifications(Output.of(replicaModifications));
        }

        /**
         * @param sseKmsEncryptedObjects Configuration block for filter information for the selection of Amazon S3 objects encrypted with AWS KMS. If specified, `replica_kms_key_id` in `destination` `encryption_configuration` must be specified as well.
         * 
         * @return builder
         * 
         */
        public Builder sseKmsEncryptedObjects(@Nullable Output sseKmsEncryptedObjects) {
            $.sseKmsEncryptedObjects = sseKmsEncryptedObjects;
            return this;
        }

        /**
         * @param sseKmsEncryptedObjects Configuration block for filter information for the selection of Amazon S3 objects encrypted with AWS KMS. If specified, `replica_kms_key_id` in `destination` `encryption_configuration` must be specified as well.
         * 
         * @return builder
         * 
         */
        public Builder sseKmsEncryptedObjects(BucketReplicationConfigRuleSourceSelectionCriteriaSseKmsEncryptedObjectsArgs sseKmsEncryptedObjects) {
            return sseKmsEncryptedObjects(Output.of(sseKmsEncryptedObjects));
        }

        public BucketReplicationConfigRuleSourceSelectionCriteriaArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy