com.pulumi.aws.s3.outputs.BucketReplicationConfigRuleDestinationMetricsEventThreshold Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
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.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.util.Objects;
@CustomType
public final class BucketReplicationConfigRuleDestinationMetricsEventThreshold {
/**
* @return Time in minutes. Valid values: `15`.
*
*/
private Integer minutes;
private BucketReplicationConfigRuleDestinationMetricsEventThreshold() {}
/**
* @return Time in minutes. Valid values: `15`.
*
*/
public Integer minutes() {
return this.minutes;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(BucketReplicationConfigRuleDestinationMetricsEventThreshold defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Integer minutes;
public Builder() {}
public Builder(BucketReplicationConfigRuleDestinationMetricsEventThreshold defaults) {
Objects.requireNonNull(defaults);
this.minutes = defaults.minutes;
}
@CustomType.Setter
public Builder minutes(Integer minutes) {
if (minutes == null) {
throw new MissingRequiredPropertyException("BucketReplicationConfigRuleDestinationMetricsEventThreshold", "minutes");
}
this.minutes = minutes;
return this;
}
public BucketReplicationConfigRuleDestinationMetricsEventThreshold build() {
final var _resultValue = new BucketReplicationConfigRuleDestinationMetricsEventThreshold();
_resultValue.minutes = minutes;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy