
com.pulumi.azurenative.awsconnector.outputs.ReplicationTimeResponse 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.azurenative.awsconnector.outputs;
import com.pulumi.azurenative.awsconnector.outputs.ReplicationTimeValueResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ReplicationTimeResponse {
/**
* @return Specifies whether the replication time is enabled.
*
*/
private @Nullable String status;
/**
* @return A container specifying the time by which replication should be complete for all objects and operations on objects. A container specifying the time value for S3 Replication Time Control (S3 RTC) and replication metrics ``EventThreshold``.
*
*/
private @Nullable ReplicationTimeValueResponse time;
private ReplicationTimeResponse() {}
/**
* @return Specifies whether the replication time is enabled.
*
*/
public Optional status() {
return Optional.ofNullable(this.status);
}
/**
* @return A container specifying the time by which replication should be complete for all objects and operations on objects. A container specifying the time value for S3 Replication Time Control (S3 RTC) and replication metrics ``EventThreshold``.
*
*/
public Optional time() {
return Optional.ofNullable(this.time);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ReplicationTimeResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String status;
private @Nullable ReplicationTimeValueResponse time;
public Builder() {}
public Builder(ReplicationTimeResponse defaults) {
Objects.requireNonNull(defaults);
this.status = defaults.status;
this.time = defaults.time;
}
@CustomType.Setter
public Builder status(@Nullable String status) {
this.status = status;
return this;
}
@CustomType.Setter
public Builder time(@Nullable ReplicationTimeValueResponse time) {
this.time = time;
return this;
}
public ReplicationTimeResponse build() {
final var _resultValue = new ReplicationTimeResponse();
_resultValue.status = status;
_resultValue.time = time;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy