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 to define the parameters and plugin settings for the session.
|
StartSessionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
StartSessionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
StartSessionRequest.Builder |
parameters(Map<String,? extends Collection<String>> parameters)
Reserved for future use.
|
StartSessionRequest.Builder |
reason(String reason)
The reason for connecting to the instance.
|
StartSessionRequest.Builder |
target(String target)
The instance to connect to for the session.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildStartSessionRequest.Builder target(String target)
The instance to connect to for the session.
target - The instance to connect to for the session.StartSessionRequest.Builder documentName(String documentName)
The name of the SSM document to define the parameters and plugin settings 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 instance is
launched by default.
documentName - The name of the SSM document to define the parameters and plugin settings 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 instance is launched by default.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)
Reserved for future use.
parameters - Reserved for future use.StartSessionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderStartSessionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.