- java.lang.Object
-
- io.github.jopenlibs.vault.response.VaultResponse
-
- io.github.jopenlibs.vault.response.LogicalResponse
-
- io.github.jopenlibs.vault.response.MountResponse
-
- All Implemented Interfaces:
java.io.Serializable
public class MountResponse extends LogicalResponse
This class is a container for the information returned by Vault in /sys/mounts/ API operations (e.g. enable/disable secret engine mountpoint, read/tune mountpoint configurations)- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MountResponse(RestResponse restResponse, int retries, boolean isList)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Mount
getMount()
java.util.Map<java.lang.String,Mount>
getMounts()
-
Methods inherited from class io.github.jopenlibs.vault.response.LogicalResponse
getData, getDataObject, getLeaseDuration, getLeaseId, getListData, getRenewable
-
Methods inherited from class io.github.jopenlibs.vault.response.VaultResponse
getRestResponse, getRetries
-
-
-
-
Constructor Detail
-
MountResponse
public MountResponse(RestResponse restResponse, int retries, boolean isList)
- Parameters:
restResponse
- The raw response received from Vaultretries
- The number of retries that were performed for this operationisList
- the flag to indicate if we're expecting a list of Mounts from Vault or not
-
-