public static class GenerateSessionTokenDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
GenerateSessionTokenDetails.Builder |
assetIds(List<String> assetIds)
Array of asset resource IDs used to limit the scope of the token.
|
GenerateSessionTokenDetails |
build() |
GenerateSessionTokenDetails.Builder |
copy(GenerateSessionTokenDetails model) |
GenerateSessionTokenDetails.Builder |
packagingConfigId(String packagingConfigId)
The packaging config resource identifier used to limit the scope of the token.
|
GenerateSessionTokenDetails.Builder |
scopes(List<GenerateSessionTokenDetails.Scopes> scopes)
Array of scopes the token can act upon.
|
GenerateSessionTokenDetails.Builder |
timeExpires(Date timeExpires)
Token expiry time.
|
public GenerateSessionTokenDetails.Builder timeExpires(Date timeExpires)
Token expiry time. An RFC3339 formatted datetime string.
timeExpires
- the value to setpublic GenerateSessionTokenDetails.Builder scopes(List<GenerateSessionTokenDetails.Scopes> scopes)
Array of scopes the token can act upon.
scopes
- the value to setpublic GenerateSessionTokenDetails.Builder packagingConfigId(String packagingConfigId)
The packaging config resource identifier used to limit the scope of the token.
packagingConfigId
- the value to setpublic GenerateSessionTokenDetails.Builder assetIds(List<String> assetIds)
Array of asset resource IDs used to limit the scope of the token.
assetIds
- the value to setpublic GenerateSessionTokenDetails build()
public GenerateSessionTokenDetails.Builder copy(GenerateSessionTokenDetails model)
Copyright © 2016–2024. All rights reserved.