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

com.pulumi.aws.s3.inputs.BucketV2ReplicationConfigurationRuleDestinationReplicationTimeArgs 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.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final BucketV2ReplicationConfigurationRuleDestinationReplicationTimeArgs Empty = new BucketV2ReplicationConfigurationRuleDestinationReplicationTimeArgs();

    /**
     * Threshold within which objects are to be replicated. The only valid value is `15`.
     * 
     */
    @Import(name="minutes")
    private @Nullable Output minutes;

    /**
     * @return Threshold within which objects are to be replicated. The only valid value is `15`.
     * 
     */
    public Optional> minutes() {
        return Optional.ofNullable(this.minutes);
    }

    /**
     * Status of RTC. Either `Enabled` or `Disabled`.
     * 
     */
    @Import(name="status")
    private @Nullable Output status;

    /**
     * @return Status of RTC. Either `Enabled` or `Disabled`.
     * 
     */
    public Optional> status() {
        return Optional.ofNullable(this.status);
    }

    private BucketV2ReplicationConfigurationRuleDestinationReplicationTimeArgs() {}

    private BucketV2ReplicationConfigurationRuleDestinationReplicationTimeArgs(BucketV2ReplicationConfigurationRuleDestinationReplicationTimeArgs $) {
        this.minutes = $.minutes;
        this.status = $.status;
    }

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

    public static final class Builder {
        private BucketV2ReplicationConfigurationRuleDestinationReplicationTimeArgs $;

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

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

        /**
         * @param minutes Threshold within which objects are to be replicated. The only valid value is `15`.
         * 
         * @return builder
         * 
         */
        public Builder minutes(@Nullable Output minutes) {
            $.minutes = minutes;
            return this;
        }

        /**
         * @param minutes Threshold within which objects are to be replicated. The only valid value is `15`.
         * 
         * @return builder
         * 
         */
        public Builder minutes(Integer minutes) {
            return minutes(Output.of(minutes));
        }

        /**
         * @param status Status of RTC. Either `Enabled` or `Disabled`.
         * 
         * @return builder
         * 
         */
        public Builder status(@Nullable Output status) {
            $.status = status;
            return this;
        }

        /**
         * @param status Status of RTC. Either `Enabled` or `Disabled`.
         * 
         * @return builder
         * 
         */
        public Builder status(String status) {
            return status(Output.of(status));
        }

        public BucketV2ReplicationConfigurationRuleDestinationReplicationTimeArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy