Uses of Class
de.stklcode.jvault.connector.model.Token.Builder
Package
Description
Model classes for communication with the Vault API.
-
Uses of Token.Builder in de.stklcode.jvault.connector.model
Modifier and TypeMethodDescriptionToken.Builder.asOrphan()
Create token without parent.static Token.Builder
Token.builder()
GetToken.Builder
instance.Token.Builder.notRenewable()
Set token to be not renewable.Token.Builder.renewable()
Set token to be renewable.Token.Builder.withDefaultPolicy()
Attach default policy to token.Token.Builder.withDisplayName
(String displayName) Add display name.Token.Builder.withEntityAlias
(String entityAlias) Set entity alias for token.Token.Builder.withExplicitMaxTtl
(Integer explicitMaxTtl) Set desired explicit maximum time to live.Add token ID.Add meta data.Add meta data.Token.Builder.withNoDefaultPolicy
(boolean noDefaultPolicy) Set TRUE if the default policy should not be part of this token.Token.Builder.withNoParent
(boolean noParent) Set TRUE if the token should be created without parent.Token.Builder.withNumUses
(Integer numUses) Set desired number of uses.Token.Builder.withoutDefaultPolicy()
Do not attach default policy to token.Token.Builder.withParent()
Create token with parent.Token.Builder.withPeriod
(Integer period) Set token period (former lease time).Token.Builder.withPolicies
(String... policies) Add given policies.Token.Builder.withPolicies
(List<String> policies) Add given policies.Token.Builder.withPolicy
(String policy) Add a single policy.Token.Builder.withRenewable
(Boolean renewable) Set if token is renewable.Set desired time to live.Token.Builder.withType
(Token.Type type) Specify token type.ModifierConstructorDescriptionToken
(Token.Builder builder) ConstructToken
object fromToken.Builder
.