@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReplicationTimeValue extends Object implements Serializable, Cloneable
A container that specifies the time value for S3 Replication Time Control (S3 RTC). This value is also used for the
replication metrics EventThreshold
element.
This is not supported by Amazon S3 on Outposts buckets.
Constructor and Description |
---|
ReplicationTimeValue() |
Modifier and Type | Method and Description |
---|---|
ReplicationTimeValue |
clone() |
boolean |
equals(Object obj) |
Integer |
getMinutes()
Contains an integer that specifies the time period in minutes.
|
int |
hashCode() |
void |
setMinutes(Integer minutes)
Contains an integer that specifies the time period in minutes.
|
String |
toString()
Returns a string representation of this object.
|
ReplicationTimeValue |
withMinutes(Integer minutes)
Contains an integer that specifies the time period in minutes.
|
public void setMinutes(Integer minutes)
Contains an integer that specifies the time period in minutes.
Valid value: 15
minutes
- Contains an integer that specifies the time period in minutes.
Valid value: 15
public Integer getMinutes()
Contains an integer that specifies the time period in minutes.
Valid value: 15
Valid value: 15
public ReplicationTimeValue withMinutes(Integer minutes)
Contains an integer that specifies the time period in minutes.
Valid value: 15
minutes
- Contains an integer that specifies the time period in minutes.
Valid value: 15
public String toString()
toString
in class Object
Object.toString()
public ReplicationTimeValue clone()