java.lang.Object
codes.grow.packages.awssecretsmanager.secrets.SetOptions

public final class SetOptions extends Object
Options of set: path, check-and-set version, tags and description.
  • Method Details

    • none

      public static SetOptions none()
      Returns the empty options.
      Returns:
      the defaults
    • builder

      public static SetOptions.Builder builder()
      Starts a builder.
      Returns:
      a new builder
    • path

      public Optional<String> path()
      Returns the path.
      Returns:
      the path, or empty
    • cas

      public OptionalInt cas()
      Returns the check-and-set version: the write fails with ConflictException unless the current version matches (0 = must not exist).
      Returns:
      the expected version, or empty
    • tags

      public Map<String,String> tags()
      Returns the tags.
      Returns:
      immutable map
    • description

      public Optional<String> description()
      Returns the description.
      Returns:
      the description, or empty