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()
@Nullable public String getPath()
Copyright © 2016–2024 Pivotal Software, Inc.. All rights reserved.