public class TokenRequest extends Object
Constructor and Description |
---|
TokenRequest() |
TokenRequest(JsonObject json) |
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName() |
String |
getId() |
Map<String,String> |
getMeta() |
long |
getNumUses() |
List<String> |
getPolicies() |
String |
getRole() |
String |
getTtl() |
boolean |
isNoDefaultPolicy() |
boolean |
isNoParent() |
TokenRequest |
setDisplayName(String displayName) |
TokenRequest |
setId(String id) |
TokenRequest |
setMeta(Map<String,String> meta) |
TokenRequest |
setNoDefaultPolicy(boolean noDefaultPolicy) |
TokenRequest |
setNoParent(boolean noParent) |
TokenRequest |
setNumUses(long numUses) |
TokenRequest |
setPolicies(List<String> policies) |
TokenRequest |
setRole(String role) |
TokenRequest |
setTTL(String ttl) |
JsonObject |
toPayload() |
public TokenRequest()
public TokenRequest(JsonObject json)
public String getId()
public TokenRequest setId(String id)
public TokenRequest setPolicies(List<String> policies)
public TokenRequest setMeta(Map<String,String> meta)
public boolean isNoParent()
public TokenRequest setNoParent(boolean noParent)
public boolean isNoDefaultPolicy()
public TokenRequest setNoDefaultPolicy(boolean noDefaultPolicy)
public String getTtl()
public TokenRequest setTTL(String ttl)
public String getDisplayName()
public TokenRequest setDisplayName(String displayName)
public long getNumUses()
public TokenRequest setNumUses(long numUses)
public String getRole()
public TokenRequest setRole(String role)
public JsonObject toPayload()
Copyright © 2022 Eclipse. All rights reserved.