public class VaultMetadataResponse extends Object
Modifier and Type | Class and Description |
---|---|
static class |
VaultMetadataResponse.VaultMetadataResponseBuilder |
Modifier and Type | Method and Description |
---|---|
static VaultMetadataResponse.VaultMetadataResponseBuilder |
builder() |
Instant |
getCreatedTime() |
int |
getCurrentVersion() |
Duration |
getDeleteVersionAfter() |
int |
getMaxVersions() |
int |
getOldestVersion() |
Instant |
getUpdatedTime() |
List<Versioned.Metadata> |
getVersions()
Follows the following format.
|
boolean |
isCasRequired() |
public static VaultMetadataResponse.VaultMetadataResponseBuilder builder()
public boolean isCasRequired()
public Instant getCreatedTime()
public int getCurrentVersion()
@Nullable public Duration getDeleteVersionAfter()
Period.ZERO
for
unlimited duration. Versions prior to Vault 1.2 may return null
.public int getMaxVersions()
public int getOldestVersion()
public Instant getUpdatedTime()
public List<Versioned.Metadata> getVersions()
Copyright © 2016–2020 Pivotal Software, Inc.. All rights reserved.