com.pulumi.aws.s3.inputs.BucketReplicationConfigRuleDestinationReplicationTimeArgs 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.aws.s3.inputs.BucketReplicationConfigRuleDestinationReplicationTimeTimeArgs;
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 BucketReplicationConfigRuleDestinationReplicationTimeArgs extends com.pulumi.resources.ResourceArgs {
public static final BucketReplicationConfigRuleDestinationReplicationTimeArgs Empty = new BucketReplicationConfigRuleDestinationReplicationTimeArgs();
/**
* Status of the Replication Time Control. Either `"Enabled"` or `"Disabled"`.
*
*/
@Import(name="status", required=true)
private Output status;
/**
* @return Status of the Replication Time Control. Either `"Enabled"` or `"Disabled"`.
*
*/
public Output status() {
return this.status;
}
/**
* Configuration block specifying the time by which replication should be complete for all objects and operations on objects. See below.
*
*/
@Import(name="time", required=true)
private Output time;
/**
* @return Configuration block specifying the time by which replication should be complete for all objects and operations on objects. See below.
*
*/
public Output time() {
return this.time;
}
private BucketReplicationConfigRuleDestinationReplicationTimeArgs() {}
private BucketReplicationConfigRuleDestinationReplicationTimeArgs(BucketReplicationConfigRuleDestinationReplicationTimeArgs $) {
this.status = $.status;
this.time = $.time;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(BucketReplicationConfigRuleDestinationReplicationTimeArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private BucketReplicationConfigRuleDestinationReplicationTimeArgs $;
public Builder() {
$ = new BucketReplicationConfigRuleDestinationReplicationTimeArgs();
}
public Builder(BucketReplicationConfigRuleDestinationReplicationTimeArgs defaults) {
$ = new BucketReplicationConfigRuleDestinationReplicationTimeArgs(Objects.requireNonNull(defaults));
}
/**
* @param status Status of the Replication Time Control. Either `"Enabled"` or `"Disabled"`.
*
* @return builder
*
*/
public Builder status(Output status) {
$.status = status;
return this;
}
/**
* @param status Status of the Replication Time Control. Either `"Enabled"` or `"Disabled"`.
*
* @return builder
*
*/
public Builder status(String status) {
return status(Output.of(status));
}
/**
* @param time Configuration block specifying the time by which replication should be complete for all objects and operations on objects. See below.
*
* @return builder
*
*/
public Builder time(Output time) {
$.time = time;
return this;
}
/**
* @param time Configuration block specifying the time by which replication should be complete for all objects and operations on objects. See below.
*
* @return builder
*
*/
public Builder time(BucketReplicationConfigRuleDestinationReplicationTimeTimeArgs time) {
return time(Output.of(time));
}
public BucketReplicationConfigRuleDestinationReplicationTimeArgs build() {
if ($.status == null) {
throw new MissingRequiredPropertyException("BucketReplicationConfigRuleDestinationReplicationTimeArgs", "status");
}
if ($.time == null) {
throw new MissingRequiredPropertyException("BucketReplicationConfigRuleDestinationReplicationTimeArgs", "time");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy