public class WrappedMetadata extends Object
Constructor and Description |
---|
WrappedMetadata(VaultToken token,
Duration ttl,
Instant creationTime,
String path)
Creates a new
WrappedMetadata . |
Modifier and Type | Method and Description |
---|---|
Instant |
getCreationTime() |
String |
getPath() |
VaultToken |
getToken() |
Duration |
getTtl() |
public WrappedMetadata(VaultToken token, Duration ttl, Instant creationTime, @Nullable String path)
WrappedMetadata
.token
- must not be null.ttl
- must not be null.creationTime
- must not be null.path
- can be null.public VaultToken getToken()
public Duration getTtl()
public Instant getCreationTime()
Copyright © 2016–2020 Pivotal Software, Inc.. All rights reserved.