Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Session.Builder |
bastionId(String bastionId)
The unique identifier (OCID) of the bastion that is hosting this session.
|
Session.Builder |
bastionName(String bastionName)
The name of the bastion that is hosting this session.
|
Session.Builder |
bastionPublicHostKeyInfo(String bastionPublicHostKeyInfo)
The public key of the bastion host.
|
Session.Builder |
bastionUserName(String bastionUserName)
The username that the session uses to connect to the target resource.
|
Session |
build() |
Session.Builder |
copy(Session model) |
Session.Builder |
displayName(String displayName)
The name of the session.
|
Session.Builder |
id(String id)
The unique identifier (OCID) of the session, which can’t be changed after creation.
|
Session.Builder |
keyDetails(PublicKeyDetails keyDetails) |
Session.Builder |
keyType(Session.KeyType keyType)
The type of the key used to connect to the session.
|
Session.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current session state in more detail.
|
Session.Builder |
lifecycleState(SessionLifecycleState lifecycleState)
The current state of the session.
|
Session.Builder |
sessionTtlInSeconds(Integer sessionTtlInSeconds)
The amount of time the session can remain active.
|
Session.Builder |
sshMetadata(Map<String,String> sshMetadata)
The connection message for the session.
|
Session.Builder |
targetResourceDetails(TargetResourceDetails targetResourceDetails) |
Session.Builder |
timeCreated(Date timeCreated)
The time the session was created.
|
Session.Builder |
timeUpdated(Date timeUpdated)
The time the session was updated.
|
public Session.Builder id(String id)
The unique identifier (OCID) of the session, which can’t be changed after creation.
id
- the value to setpublic Session.Builder displayName(String displayName)
The name of the session.
displayName
- the value to setpublic Session.Builder bastionId(String bastionId)
The unique identifier (OCID) of the bastion that is hosting this session.
bastionId
- the value to setpublic Session.Builder bastionName(String bastionName)
The name of the bastion that is hosting this session.
bastionName
- the value to setpublic Session.Builder bastionUserName(String bastionUserName)
The username that the session uses to connect to the target resource.
bastionUserName
- the value to setpublic Session.Builder targetResourceDetails(TargetResourceDetails targetResourceDetails)
public Session.Builder sshMetadata(Map<String,String> sshMetadata)
The connection message for the session.
sshMetadata
- the value to setpublic Session.Builder keyType(Session.KeyType keyType)
The type of the key used to connect to the session. PUB is a standard public key in OpenSSH format.
keyType
- the value to setpublic Session.Builder keyDetails(PublicKeyDetails keyDetails)
public Session.Builder bastionPublicHostKeyInfo(String bastionPublicHostKeyInfo)
The public key of the bastion host. You can use this to verify that you’re connecting to the correct bastion.
bastionPublicHostKeyInfo
- the value to setpublic Session.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 Session.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 Session.Builder lifecycleState(SessionLifecycleState lifecycleState)
The current state of the session.
lifecycleState
- the value to setpublic Session.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current session state in more detail.
lifecycleDetails
- the value to setpublic Session.Builder sessionTtlInSeconds(Integer sessionTtlInSeconds)
The amount of time the session can remain active.
sessionTtlInSeconds
- the value to setpublic Session build()
public Session.Builder copy(Session model)
Copyright © 2016–2024. All rights reserved.