Interface StartDevEnvironmentSessionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CodeCatalystRequest.Builder
,CopyableBuilder<StartDevEnvironmentSessionRequest.Builder,
,StartDevEnvironmentSessionRequest> SdkBuilder<StartDevEnvironmentSessionRequest.Builder,
,StartDevEnvironmentSessionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
StartDevEnvironmentSessionRequest
@Mutable
@NotThreadSafe
public static interface StartDevEnvironmentSessionRequest.Builder
extends CodeCatalystRequest.Builder, SdkPojo, CopyableBuilder<StartDevEnvironmentSessionRequest.Builder,StartDevEnvironmentSessionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe system-generated unique ID of the Dev Environment.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.projectName
(String projectName) The name of the project in the space.sessionConfiguration
(Consumer<DevEnvironmentSessionConfiguration.Builder> sessionConfiguration) Sets the value of the SessionConfiguration property for this object.sessionConfiguration
(DevEnvironmentSessionConfiguration sessionConfiguration) Sets the value of the SessionConfiguration property for this object.The name of the space.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.codecatalyst.model.CodeCatalystRequest.Builder
build
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
-
spaceName
The name of the space.
- Parameters:
spaceName
- The name of the space.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
projectName
The name of the project in the space.
- Parameters:
projectName
- The name of the project in the space.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
The system-generated unique ID of the Dev Environment.
- Parameters:
id
- The system-generated unique ID of the Dev Environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionConfiguration
StartDevEnvironmentSessionRequest.Builder sessionConfiguration(DevEnvironmentSessionConfiguration sessionConfiguration) Sets the value of the SessionConfiguration property for this object.- Parameters:
sessionConfiguration
- The new value for the SessionConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionConfiguration
default StartDevEnvironmentSessionRequest.Builder sessionConfiguration(Consumer<DevEnvironmentSessionConfiguration.Builder> sessionConfiguration) Sets the value of the SessionConfiguration property for this object. This is a convenience method that creates an instance of theDevEnvironmentSessionConfiguration.Builder
avoiding the need to create one manually viaDevEnvironmentSessionConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosessionConfiguration(DevEnvironmentSessionConfiguration)
.- Parameters:
sessionConfiguration
- a consumer that will call methods onDevEnvironmentSessionConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
StartDevEnvironmentSessionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StartDevEnvironmentSessionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-