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.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Rpo
    Turbo recovery point objective.
    static final Rpo
    Default recovery point objective.
  • Method Summary

    Modifier and Type
    Method
    Description
    static Rpo
    valueOf(String constant)
    Get the Rpo for the given String constant, and allow unrecognized values.
    static Rpo
    Get the Rpo for the given String constant, and throw an exception if the constant is not recognized.
    static Rpo[]
    Return the known values for Rpo.

    Methods inherited from class com.google.cloud.StringEnumValue

    equals, hashCode, name, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • DEFAULT

      public static final Rpo 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

      public static final Rpo 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

      public static Rpo valueOfStrict(String constant)
      Get the Rpo for the given String constant, and throw an exception if the constant is not recognized.
    • valueOf

      public static Rpo valueOf(String constant)
      Get the Rpo for the given String constant, and allow unrecognized values.
    • values

      public static Rpo[] values()
      Return the known values for Rpo.