Package com.google.cloud.storage
Class Rpo
java.lang.Object
com.google.cloud.StringEnumValue
com.google.cloud.storage.Rpo
- All Implemented Interfaces:
Serializable
public final class Rpo
extends com.google.cloud.StringEnumValue
Enums for the Recovery Point Objective (RPO) of dual-region buckets, which determines how fast
data is replicated between regions.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Rpo
Get the Rpo for the given String constant, and allow unrecognized values.static Rpo
valueOfStrict
(String constant) Get the Rpo for the given String constant, and throw an exception if the constant is not recognized.static Rpo[]
values()
Return the known values for Rpo.Methods inherited from class com.google.cloud.StringEnumValue
equals, hashCode, name, toString
-
Field Details
-
DEFAULT
Default recovery point objective. With this setting, there is no guarantee on the amount of time it takes for data to replicate between regions. -
ASYNC_TURBO
Turbo recovery point objective. With this setting, data in a dual-region bucket will replicate between regions within 15 minutes.
-
-
Method Details
-
valueOfStrict
Get the Rpo for the given String constant, and throw an exception if the constant is not recognized. -
valueOf
Get the Rpo for the given String constant, and allow unrecognized values. -
values
Return the known values for Rpo.
-