com.pulumi.aws.s3.outputs.BucketReplicationConfigurationRuleDestinationMetrics 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 java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class BucketReplicationConfigurationRuleDestinationMetrics {
/**
* @return Threshold within which objects are to be replicated. The only valid value is `15`.
*
*/
private @Nullable Integer minutes;
/**
* @return The status of replication metrics. Either `Enabled` or `Disabled`.
*
*/
private @Nullable String status;
private BucketReplicationConfigurationRuleDestinationMetrics() {}
/**
* @return Threshold within which objects are to be replicated. The only valid value is `15`.
*
*/
public Optional minutes() {
return Optional.ofNullable(this.minutes);
}
/**
* @return The status of replication metrics. Either `Enabled` or `Disabled`.
*
*/
public Optional status() {
return Optional.ofNullable(this.status);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(BucketReplicationConfigurationRuleDestinationMetrics defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Integer minutes;
private @Nullable String status;
public Builder() {}
public Builder(BucketReplicationConfigurationRuleDestinationMetrics defaults) {
Objects.requireNonNull(defaults);
this.minutes = defaults.minutes;
this.status = defaults.status;
}
@CustomType.Setter
public Builder minutes(@Nullable Integer minutes) {
this.minutes = minutes;
return this;
}
@CustomType.Setter
public Builder status(@Nullable String status) {
this.status = status;
return this;
}
public BucketReplicationConfigurationRuleDestinationMetrics build() {
final var _resultValue = new BucketReplicationConfigurationRuleDestinationMetrics();
_resultValue.minutes = minutes;
_resultValue.status = status;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy