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

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


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

    public static final BucketReplicationConfigRuleExistingObjectReplicationArgs Empty = new BucketReplicationConfigRuleExistingObjectReplicationArgs();

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

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

    private BucketReplicationConfigRuleExistingObjectReplicationArgs() {}

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

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

    public static final class Builder {
        private BucketReplicationConfigRuleExistingObjectReplicationArgs $;

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

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

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

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

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy