public final class AuthMethodsResponse extends VaultDataResponse
Constructor and Description |
---|
AuthMethodsResponse()
Construct empty
AuthMethodsResponse object. |
Modifier and Type | Method and Description |
---|---|
Map<String,AuthMethod> |
getSupportedMethods() |
void |
setData(Map<String,Object> data)
Set data.
|
getLeaseDuration, getLeaseId, getWarnings, isRenewable
public AuthMethodsResponse()
AuthMethodsResponse
object.public void setData(Map<String,Object> data) throws InvalidResponseException
VaultDataResponse
setData
in class VaultDataResponse
data
- Raw response dataInvalidResponseException
- on parsing errorspublic Map<String,AuthMethod> getSupportedMethods()
Copyright © 2016–2018. All rights reserved.