Class GenerateSessionTokenDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.mediaservices.model.GenerateSessionTokenDetails.Builder
 
- 
- Enclosing class:
- GenerateSessionTokenDetails
 
 public static class GenerateSessionTokenDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description GenerateSessionTokenDetails.BuilderassetIds(List<String> assetIds)Array of asset resource IDs used to limit the scope of the token.GenerateSessionTokenDetailsbuild()GenerateSessionTokenDetails.Buildercopy(GenerateSessionTokenDetails model)GenerateSessionTokenDetails.BuilderpackagingConfigId(String packagingConfigId)The packaging config resource identifier used to limit the scope of the token.GenerateSessionTokenDetails.Builderscopes(List<GenerateSessionTokenDetails.Scopes> scopes)Array of scopes the token can act upon.GenerateSessionTokenDetails.BuildertimeExpires(Date timeExpires)Token expiry time.
 
- 
- 
- 
Method Detail- 
timeExpirespublic GenerateSessionTokenDetails.Builder timeExpires(Date timeExpires) Token expiry time.An RFC3339 formatted datetime string. - Parameters:
- timeExpires- the value to set
- Returns:
- this builder
 
 - 
scopespublic GenerateSessionTokenDetails.Builder scopes(List<GenerateSessionTokenDetails.Scopes> scopes) Array of scopes the token can act upon.- Parameters:
- scopes- the value to set
- Returns:
- this builder
 
 - 
packagingConfigIdpublic GenerateSessionTokenDetails.Builder packagingConfigId(String packagingConfigId) The packaging config resource identifier used to limit the scope of the token.- Parameters:
- packagingConfigId- the value to set
- Returns:
- this builder
 
 - 
assetIdspublic GenerateSessionTokenDetails.Builder assetIds(List<String> assetIds) Array of asset resource IDs used to limit the scope of the token.- Parameters:
- assetIds- the value to set
- Returns:
- this builder
 
 - 
buildpublic GenerateSessionTokenDetails build() 
 - 
copypublic GenerateSessionTokenDetails.Builder copy(GenerateSessionTokenDetails model) 
 
- 
 
-