Constructor and Description |
---|
Builder(long directoryId,
String name,
String identifierHash,
long randomNumber,
String randomHash) |
Builder(Token prototype) |
Modifier and Type | Method and Description |
---|---|
Token |
create() |
Token.Builder |
setCreatedDate(Date createdDate) |
Token.Builder |
setDirectoryId(long directoryId) |
Token.Builder |
setIdentifierHash(String identifierHash) |
Token.Builder |
setLastAccessedTime(long lastAccessedTime) |
Token.Builder |
setLifetime(TokenLifetime tokenLifetime) |
Token.Builder |
setName(String name) |
Token.Builder |
setRandomHash(String randomHash) |
Token.Builder |
setRandomNumber(long randomNumber) |
Token.Builder |
withDefaultDuration() |
public Builder(long directoryId, String name, String identifierHash, long randomNumber, String randomHash)
public Builder(Token prototype)
public Token.Builder setDirectoryId(long directoryId)
public Token.Builder setName(String name)
public Token.Builder setIdentifierHash(String identifierHash)
public Token.Builder setRandomNumber(long randomNumber)
public Token.Builder setRandomHash(String randomHash)
public Token.Builder setLifetime(TokenLifetime tokenLifetime)
public Token.Builder withDefaultDuration()
public Token.Builder setCreatedDate(Date createdDate)
public Token.Builder setLastAccessedTime(long lastAccessedTime)
public Token create()
Copyright © 2021 Atlassian. All rights reserved.