Interface DevEnvironmentSessionConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DevEnvironmentSessionConfiguration.Builder,
,DevEnvironmentSessionConfiguration> SdkBuilder<DevEnvironmentSessionConfiguration.Builder,
,DevEnvironmentSessionConfiguration> SdkPojo
- Enclosing class:
DevEnvironmentSessionConfiguration
@Mutable
@NotThreadSafe
public static interface DevEnvironmentSessionConfiguration.Builder
extends SdkPojo, CopyableBuilder<DevEnvironmentSessionConfiguration.Builder,DevEnvironmentSessionConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionexecuteCommandSessionConfiguration
(Consumer<ExecuteCommandSessionConfiguration.Builder> executeCommandSessionConfiguration) Information about optional commands that will be run on the Dev Environment when the SSH session begins.executeCommandSessionConfiguration
(ExecuteCommandSessionConfiguration executeCommandSessionConfiguration) Information about optional commands that will be run on the Dev Environment when the SSH session begins.sessionType
(String sessionType) The type of the session.sessionType
(DevEnvironmentSessionType sessionType) The type of the session.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
sessionType
The type of the session.
- Parameters:
sessionType
- The type of the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sessionType
The type of the session.
- Parameters:
sessionType
- The type of the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
executeCommandSessionConfiguration
DevEnvironmentSessionConfiguration.Builder executeCommandSessionConfiguration(ExecuteCommandSessionConfiguration executeCommandSessionConfiguration) Information about optional commands that will be run on the Dev Environment when the SSH session begins.
- Parameters:
executeCommandSessionConfiguration
- Information about optional commands that will be run on the Dev Environment when the SSH session begins.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executeCommandSessionConfiguration
default DevEnvironmentSessionConfiguration.Builder executeCommandSessionConfiguration(Consumer<ExecuteCommandSessionConfiguration.Builder> executeCommandSessionConfiguration) Information about optional commands that will be run on the Dev Environment when the SSH session begins.
This is a convenience method that creates an instance of theExecuteCommandSessionConfiguration.Builder
avoiding the need to create one manually viaExecuteCommandSessionConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexecuteCommandSessionConfiguration(ExecuteCommandSessionConfiguration)
.- Parameters:
executeCommandSessionConfiguration
- a consumer that will call methods onExecuteCommandSessionConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-