com.piiano.vault.client.model.EncryptParams Maven / Gradle / Ivy
package com.piiano.vault.client.model;
import lombok.Builder;
import lombok.Data;
/**
* Parameters for 'encrypt' API.
*/
@Data
@Builder
public class EncryptParams {
/**
* collection The name of the collection containing the objects. (required)
*/
private String collection;
/**
* expirationSecs Token expiration time in seconds. If not set, the default expiration time is used. See the `PVAULT_EXPIRATION_TOKENS` variable. (optional)
*/
private String expirationSecs;
/**
* accessReason Details of the reason for requesting the property. The default is set when no access reason is provided and PVAULT_SERVICE_FORCE_ACCESS_REASON is false. (required)
*/
private AccessReason accessReason;
/**
* reloadCache Reloads the cache before the action. (optional)
*/
private Boolean reloadCache;
}