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

com.pulumi.aws.s3.inputs.BucketReplicationConfigRuleDeleteMarkerReplicationArgs 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.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


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

    public static final BucketReplicationConfigRuleDeleteMarkerReplicationArgs Empty = new BucketReplicationConfigRuleDeleteMarkerReplicationArgs();

    /**
     * Whether delete markers should be replicated. Either `"Enabled"` or `"Disabled"`.
     * 
     */
    @Import(name="status", required=true)
    private Output status;

    /**
     * @return Whether delete markers should be replicated. Either `"Enabled"` or `"Disabled"`.
     * 
     */
    public Output status() {
        return this.status;
    }

    private BucketReplicationConfigRuleDeleteMarkerReplicationArgs() {}

    private BucketReplicationConfigRuleDeleteMarkerReplicationArgs(BucketReplicationConfigRuleDeleteMarkerReplicationArgs $) {
        this.status = $.status;
    }

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

    public static final class Builder {
        private BucketReplicationConfigRuleDeleteMarkerReplicationArgs $;

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

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

        /**
         * @param status Whether delete markers should be replicated. Either `"Enabled"` or `"Disabled"`.
         * 
         * @return builder
         * 
         */
        public Builder status(Output status) {
            $.status = status;
            return this;
        }

        /**
         * @param status Whether delete markers should be replicated. Either `"Enabled"` or `"Disabled"`.
         * 
         * @return builder
         * 
         */
        public Builder status(String status) {
            return status(Output.of(status));
        }

        public BucketReplicationConfigRuleDeleteMarkerReplicationArgs build() {
            if ($.status == null) {
                throw new MissingRequiredPropertyException("BucketReplicationConfigRuleDeleteMarkerReplicationArgs", "status");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy