public class TokenRequest extends Object
Constructor and Description |
---|
TokenRequest() |
TokenRequest(JsonObject json) |
TokenRequest(TokenRequest other) |
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 |
toJson() |
JsonObject |
toPayload() |
public TokenRequest()
public TokenRequest(JsonObject json)
public TokenRequest(TokenRequest other)
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 toJson()
public JsonObject toPayload()
Copyright © 2023 Eclipse. All rights reserved.