public static class ResourcePrincipalConfiguration.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ResourcePrincipalConfiguration.Builder |
bdsInstanceId(String bdsInstanceId)
The OCID of the bdsInstance which is the parent resource id.
|
ResourcePrincipalConfiguration |
build() |
ResourcePrincipalConfiguration.Builder |
copy(ResourcePrincipalConfiguration model) |
ResourcePrincipalConfiguration.Builder |
displayName(String displayName)
A user-friendly name.
|
ResourcePrincipalConfiguration.Builder |
id(String id)
The id of the ResourcePrincipalConfiguration.
|
ResourcePrincipalConfiguration.Builder |
lifecycleState(ResourcePrincipalConfiguration.LifecycleState lifecycleState)
The state of the ResourcePrincipalConfiguration.
|
ResourcePrincipalConfiguration.Builder |
sessionTokenLifeSpanDurationInHours(Integer sessionTokenLifeSpanDurationInHours)
Life span in hours of each resource principal session token.
|
ResourcePrincipalConfiguration.Builder |
timeCreated(Date timeCreated)
The time the ResourcePrincipalConfiguration was created, shown as an RFC 3339 formatted
datetime string.
|
ResourcePrincipalConfiguration.Builder |
timeTokenExpiry(Date timeTokenExpiry)
the time the resource principal session token will expired, shown as an rfc 3339
formatted datetime string.
|
ResourcePrincipalConfiguration.Builder |
timeTokenRefreshed(Date timeTokenRefreshed)
the time the resource principal session token was refreshed, shown as an rfc 3339
formatted datetime string.
|
ResourcePrincipalConfiguration.Builder |
timeUpdated(Date timeUpdated)
The time the ResourcePrincipalConfiguration was updated, shown as an RFC 3339 formatted
datetime string.
|
public ResourcePrincipalConfiguration.Builder id(String id)
The id of the ResourcePrincipalConfiguration.
id
- the value to setpublic ResourcePrincipalConfiguration.Builder bdsInstanceId(String bdsInstanceId)
The OCID of the bdsInstance which is the parent resource id.
bdsInstanceId
- the value to setpublic ResourcePrincipalConfiguration.Builder displayName(String displayName)
A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name does not have to be unique, and it may be changed. Avoid entering confidential information.
displayName
- the value to setpublic ResourcePrincipalConfiguration.Builder sessionTokenLifeSpanDurationInHours(Integer sessionTokenLifeSpanDurationInHours)
Life span in hours of each resource principal session token.
sessionTokenLifeSpanDurationInHours
- the value to setpublic ResourcePrincipalConfiguration.Builder lifecycleState(ResourcePrincipalConfiguration.LifecycleState lifecycleState)
The state of the ResourcePrincipalConfiguration.
lifecycleState
- the value to setpublic ResourcePrincipalConfiguration.Builder timeTokenRefreshed(Date timeTokenRefreshed)
the time the resource principal session token was refreshed, shown as an rfc 3339 formatted datetime string.
timeTokenRefreshed
- the value to setpublic ResourcePrincipalConfiguration.Builder timeTokenExpiry(Date timeTokenExpiry)
the time the resource principal session token will expired, shown as an rfc 3339 formatted datetime string.
timeTokenExpiry
- the value to setpublic ResourcePrincipalConfiguration.Builder timeCreated(Date timeCreated)
The time the ResourcePrincipalConfiguration was created, shown as an RFC 3339 formatted datetime string.
timeCreated
- the value to setpublic ResourcePrincipalConfiguration.Builder timeUpdated(Date timeUpdated)
The time the ResourcePrincipalConfiguration was updated, shown as an RFC 3339 formatted datetime string.
timeUpdated
- the value to setpublic ResourcePrincipalConfiguration build()
public ResourcePrincipalConfiguration.Builder copy(ResourcePrincipalConfiguration model)
Copyright © 2016–2024. All rights reserved.