public static class CreateSessionDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateSessionDetails.Builder |
bastionId(String bastionId)
The unique identifier (OCID) of the bastion on which to create this session.
|
CreateSessionDetails |
build() |
CreateSessionDetails.Builder |
copy(CreateSessionDetails model) |
CreateSessionDetails.Builder |
displayName(String displayName)
The name of the session.
|
CreateSessionDetails.Builder |
keyDetails(PublicKeyDetails keyDetails) |
CreateSessionDetails.Builder |
keyType(CreateSessionDetails.KeyType keyType)
The type of the key used to connect to the session.
|
CreateSessionDetails.Builder |
sessionTtlInSeconds(Integer sessionTtlInSeconds)
The amount of time the session can remain active.
|
CreateSessionDetails.Builder |
targetResourceDetails(CreateSessionTargetResourceDetails targetResourceDetails) |
public CreateSessionDetails.Builder displayName(String displayName)
The name of the session.
displayName
- the value to setpublic CreateSessionDetails.Builder bastionId(String bastionId)
The unique identifier (OCID) of the bastion on which to create this session.
bastionId
- the value to setpublic CreateSessionDetails.Builder targetResourceDetails(CreateSessionTargetResourceDetails targetResourceDetails)
public CreateSessionDetails.Builder keyType(CreateSessionDetails.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 CreateSessionDetails.Builder keyDetails(PublicKeyDetails keyDetails)
public CreateSessionDetails.Builder sessionTtlInSeconds(Integer sessionTtlInSeconds)
The amount of time the session can remain active.
sessionTtlInSeconds
- the value to setpublic CreateSessionDetails build()
public CreateSessionDetails.Builder copy(CreateSessionDetails model)
Copyright © 2016–2024. All rights reserved.