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.
|
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 AWS user account that started the session.
|
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 instance that the Session Manager session connected to.
|
copy
applyMutation, build
Session.Builder sessionId(String sessionId)
The ID of the session.
sessionId
- The ID of the session.Session.Builder target(String target)
The instance that the Session Manager session connected to.
target
- The instance 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
,
SessionStatus
Session.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
,
SessionStatus
Session.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 AWS user account that started the session.
owner
- The ID of the AWS user account that started the session.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 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.Builder
outputUrl(SessionManagerOutputUrl)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.