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

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


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

    public static final BucketReplicationConfigurationRuleDestinationMetricsArgs Empty = new BucketReplicationConfigurationRuleDestinationMetricsArgs();

    /**
     * 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 replication metrics. Either `Enabled` or `Disabled`.
     * 
     */
    @Import(name="status")
    private @Nullable Output status;

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

    private BucketReplicationConfigurationRuleDestinationMetricsArgs() {}

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

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

    public static final class Builder {
        private BucketReplicationConfigurationRuleDestinationMetricsArgs $;

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

        public Builder(BucketReplicationConfigurationRuleDestinationMetricsArgs defaults) {
            $ = new BucketReplicationConfigurationRuleDestinationMetricsArgs(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 replication metrics. Either `Enabled` or `Disabled`.
         * 
         * @return builder
         * 
         */
        public Builder status(@Nullable Output status) {
            $.status = status;
            return this;
        }

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

        public BucketReplicationConfigurationRuleDestinationMetricsArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy