public static class SessionSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SessionSummary.Builder |
bastionId(String bastionId)
The unique identifier (OCID) of the bastion that is hosting this session.
|
SessionSummary.Builder |
bastionName(String bastionName)
The name of the bastion that is hosting this session.
|
SessionSummary |
build() |
SessionSummary.Builder |
copy(SessionSummary model) |
SessionSummary.Builder |
displayName(String displayName)
The name of the session.
|
SessionSummary.Builder |
id(String id)
The unique identifier (OCID) of the session, which can’t be changed after creation.
|
SessionSummary.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current session state in more detail.
|
SessionSummary.Builder |
lifecycleState(SessionLifecycleState lifecycleState)
The current state of the session.
|
SessionSummary.Builder |
sessionTtlInSeconds(Integer sessionTtlInSeconds)
The amount of time the session can remain active.
|
SessionSummary.Builder |
targetResourceDetails(TargetResourceDetails targetResourceDetails) |
SessionSummary.Builder |
timeCreated(Date timeCreated)
The time the session was created.
|
SessionSummary.Builder |
timeUpdated(Date timeUpdated)
The time the session was updated.
|
public SessionSummary.Builder id(String id)
The unique identifier (OCID) of the session, which can’t be changed after creation.
id
- the value to setpublic SessionSummary.Builder displayName(String displayName)
The name of the session.
displayName
- the value to setpublic SessionSummary.Builder bastionName(String bastionName)
The name of the bastion that is hosting this session.
bastionName
- the value to setpublic SessionSummary.Builder bastionId(String bastionId)
The unique identifier (OCID) of the bastion that is hosting this session.
bastionId
- the value to setpublic SessionSummary.Builder targetResourceDetails(TargetResourceDetails targetResourceDetails)
public SessionSummary.Builder timeCreated(Date timeCreated)
The time the session was created. Format is defined by
RFC3339. Example: 2020-01-25T21:10:29.600Z
timeCreated
- the value to setpublic SessionSummary.Builder timeUpdated(Date timeUpdated)
The time the session was updated. Format is defined by
RFC3339. Example: 2020-01-25T21:10:29.600Z
timeUpdated
- the value to setpublic SessionSummary.Builder lifecycleState(SessionLifecycleState lifecycleState)
The current state of the session.
lifecycleState
- the value to setpublic SessionSummary.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current session state in more detail.
lifecycleDetails
- the value to setpublic SessionSummary.Builder sessionTtlInSeconds(Integer sessionTtlInSeconds)
The amount of time the session can remain active.
sessionTtlInSeconds
- the value to setpublic SessionSummary build()
public SessionSummary.Builder copy(SessionSummary model)
Copyright © 2016–2024. All rights reserved.