Interface StartDevEnvironmentSessionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeCatalystRequest.Builder,CopyableBuilder<StartDevEnvironmentSessionRequest.Builder,,StartDevEnvironmentSessionRequest> SdkBuilder<StartDevEnvironmentSessionRequest.Builder,,StartDevEnvironmentSessionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
StartDevEnvironmentSessionRequest
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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.codecatalyst.model.CodeCatalystRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.Builderavoiding the need to create one manually viaDevEnvironmentSessionConfiguration.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-