Class SetOptions
java.lang.Object
codes.grow.packages.awssecretsmanager.secrets.SetOptions
Options of
set: path, check-and-set version, tags and description.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic SetOptions.Builderbuilder()Starts a builder.cas()Returns the check-and-set version: the write fails withConflictExceptionunless the current version matches (0 = must not exist).Returns the description.static SetOptionsnone()Returns the empty options.path()Returns the path.tags()Returns the tags.
-
Method Details
-
none
Returns the empty options.- Returns:
- the defaults
-
builder
Starts a builder.- Returns:
- a new builder
-
path
Returns the path.- Returns:
- the path, or empty
-
cas
Returns the check-and-set version: the write fails withConflictExceptionunless the current version matches (0 = must not exist).- Returns:
- the expected version, or empty
-
tags
Returns the tags.- Returns:
- immutable map
-
description
Returns the description.- Returns:
- the description, or empty
-