public static interface StartSessionRequest.Builder extends SsmRequest.Builder, SdkPojo, CopyableBuilder<StartSessionRequest.Builder,StartSessionRequest>
| Modifier and Type | Method and Description |
|---|---|
StartSessionRequest.Builder |
documentName(String documentName)
The name of the SSM document you want to use to define the type of session, input parameters, or preferences
for the session.
|
StartSessionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
StartSessionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
StartSessionRequest.Builder |
parameters(Map<String,? extends Collection<String>> parameters)
The values you want to specify for the parameters defined in the Session document.
|
StartSessionRequest.Builder |
reason(String reason)
The reason for connecting to the instance.
|
StartSessionRequest.Builder |
target(String target)
The managed node to connect to for the session.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildStartSessionRequest.Builder target(String target)
The managed node to connect to for the session.
target - The managed node to connect to for the session.StartSessionRequest.Builder documentName(String documentName)
The name of the SSM document you want to use to define the type of session, input parameters, or preferences
for the session. For example, SSM-SessionManagerRunShell. You can call the GetDocument
API to verify the document exists before attempting to start a session. If no document name is provided, a
shell to the managed node is launched by default. For more information, see Start a session in the Amazon Web Services Systems Manager User Guide.
documentName - The name of the SSM document you want to use to define the type of session, input parameters, or
preferences for the session. For example, SSM-SessionManagerRunShell. You can call the
GetDocument API to verify the document exists before attempting to start a session. If no
document name is provided, a shell to the managed node is launched by default. For more information,
see Start a session in the Amazon Web Services Systems Manager User Guide.StartSessionRequest.Builder reason(String reason)
The reason for connecting to the instance. This value is included in the details for the Amazon CloudWatch Events event created when you start the session.
reason - The reason for connecting to the instance. This value is included in the details for the Amazon
CloudWatch Events event created when you start the session.StartSessionRequest.Builder parameters(Map<String,? extends Collection<String>> parameters)
The values you want to specify for the parameters defined in the Session document.
parameters - The values you want to specify for the parameters defined in the Session document.StartSessionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderStartSessionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.