public static class VaultMetadataRequest.VaultMetadataRequestBuilder extends Object
Constructor and Description |
---|
VaultMetadataRequestBuilder() |
Modifier and Type | Method and Description |
---|---|
VaultMetadataRequest |
build() |
VaultMetadataRequest.VaultMetadataRequestBuilder |
casRequired(boolean casRequired)
Set the cas_required parameter.
|
VaultMetadataRequest.VaultMetadataRequestBuilder |
deleteVersionAfter(Duration deleteVersionAfter)
Sets the deletion time for all new versions written to this key.
|
VaultMetadataRequest.VaultMetadataRequestBuilder |
maxVersions(int maxVersions)
Set the number of versions to keep per key.
|
public VaultMetadataRequest.VaultMetadataRequestBuilder maxVersions(int maxVersions)
maxVersions
- VaultMetadataRequest
public VaultMetadataRequest.VaultMetadataRequestBuilder casRequired(boolean casRequired)
casRequired
- VaultMetadataRequest
public VaultMetadataRequest.VaultMetadataRequestBuilder deleteVersionAfter(Duration deleteVersionAfter)
deleteVersionAfter
- VaultMetadataRequest
public VaultMetadataRequest build()
VaultMetadataRequest
Copyright © 2016–2024 Pivotal Software, Inc.. All rights reserved.