public static interface Session.Builder extends SdkPojo, CopyableBuilder<Session.Builder,Session>
| Modifier and Type | Method and Description |
|---|---|
Session.Builder |
details(String details)
Reserved for future use.
|
Session.Builder |
documentName(String documentName)
The name of the Session Manager SSM document used to define the parameters and plugin settings for the
session.
|
Session.Builder |
endDate(Instant endDate)
The date and time, in ISO-8601 Extended format, when the session was terminated.
|
Session.Builder |
maxSessionDuration(String maxSessionDuration)
The maximum duration of a session before it terminates.
|
default Session.Builder |
outputUrl(Consumer<SessionManagerOutputUrl.Builder> outputUrl)
Reserved for future use.
|
Session.Builder |
outputUrl(SessionManagerOutputUrl outputUrl)
Reserved for future use.
|
Session.Builder |
owner(String owner)
The ID of the Amazon Web Services user account that started the session.
|
Session.Builder |
reason(String reason)
The reason for connecting to the instance.
|
Session.Builder |
sessionId(String sessionId)
The ID of the session.
|
Session.Builder |
startDate(Instant startDate)
The date and time, in ISO-8601 Extended format, when the session began.
|
Session.Builder |
status(SessionStatus status)
The status of the session.
|
Session.Builder |
status(String status)
The status of the session.
|
Session.Builder |
target(String target)
The managed node that the Session Manager session connected to.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSession.Builder sessionId(String sessionId)
The ID of the session.
sessionId - The ID of the session.Session.Builder target(String target)
The managed node that the Session Manager session connected to.
target - The managed node that the Session Manager session connected to.Session.Builder status(String status)
The status of the session. For example, "Connected" or "Terminated".
status - The status of the session. For example, "Connected" or "Terminated".SessionStatus,
SessionStatusSession.Builder status(SessionStatus status)
The status of the session. For example, "Connected" or "Terminated".
status - The status of the session. For example, "Connected" or "Terminated".SessionStatus,
SessionStatusSession.Builder startDate(Instant startDate)
The date and time, in ISO-8601 Extended format, when the session began.
startDate - The date and time, in ISO-8601 Extended format, when the session began.Session.Builder endDate(Instant endDate)
The date and time, in ISO-8601 Extended format, when the session was terminated.
endDate - The date and time, in ISO-8601 Extended format, when the session was terminated.Session.Builder documentName(String documentName)
The name of the Session Manager SSM document used to define the parameters and plugin settings for the
session. For example, SSM-SessionManagerRunShell.
documentName - The name of the Session Manager SSM document used to define the parameters and plugin settings for the
session. For example, SSM-SessionManagerRunShell.Session.Builder owner(String owner)
The ID of the Amazon Web Services user account that started the session.
owner - The ID of the Amazon Web Services user account that started the session.Session.Builder reason(String reason)
The reason for connecting to the instance.
reason - The reason for connecting to the instance.Session.Builder details(String details)
Reserved for future use.
details - Reserved for future use.Session.Builder outputUrl(SessionManagerOutputUrl outputUrl)
Reserved for future use.
outputUrl - Reserved for future use.default Session.Builder outputUrl(Consumer<SessionManagerOutputUrl.Builder> outputUrl)
Reserved for future use.
This is a convenience method that creates an instance of theSessionManagerOutputUrl.Builder avoiding
the need to create one manually via SessionManagerOutputUrl.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to outputUrl(SessionManagerOutputUrl).
outputUrl - a consumer that will call methods on SessionManagerOutputUrl.BuilderoutputUrl(SessionManagerOutputUrl)Session.Builder maxSessionDuration(String maxSessionDuration)
The maximum duration of a session before it terminates.
maxSessionDuration - The maximum duration of a session before it terminates.Copyright © 2023. All rights reserved.