Class SetOptions.Builder
java.lang.Object
codes.grow.packages.awssecretsmanager.secrets.SetOptions.Builder
- Enclosing class:
SetOptions
Builder for
SetOptions.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the options.cas(int cas) Sets the check-and-set version.description(String description) Sets the description.Sets the path.Adds a tag.Adds tags.
-
Method Details
-
path
Sets the path.- Parameters:
path- path- Returns:
- this builder
-
cas
Sets the check-and-set version.- Parameters:
cas- expected current version (0 = must not exist)- Returns:
- this builder
-
tag
Adds a tag.- Parameters:
key- keyvalue- value- Returns:
- this builder
-
tags
Adds tags.- Parameters:
tags- tags- Returns:
- this builder
-
description
Sets the description.- Parameters:
description- text- Returns:
- this builder
-
build
Builds the options.- Returns:
- the options
-