Interface StartDevEnvironmentSessionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeCatalystResponse.Builder
,CopyableBuilder<StartDevEnvironmentSessionResponse.Builder,
,StartDevEnvironmentSessionResponse> SdkBuilder<StartDevEnvironmentSessionResponse.Builder,
,StartDevEnvironmentSessionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
StartDevEnvironmentSessionResponse
public static interface StartDevEnvironmentSessionResponse.Builder
extends CodeCatalystResponse.Builder, SdkPojo, CopyableBuilder<StartDevEnvironmentSessionResponse.Builder,StartDevEnvironmentSessionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionaccessDetails
(Consumer<DevEnvironmentAccessDetails.Builder> accessDetails) Sets the value of the AccessDetails property for this object.accessDetails
(DevEnvironmentAccessDetails accessDetails) Sets the value of the AccessDetails property for this object.The system-generated unique ID of the Dev Environment.projectName
(String projectName) The name of the project in the space.The system-generated unique ID of the Dev Environment session.The name of the space.Methods inherited from interface software.amazon.awssdk.services.codecatalyst.model.CodeCatalystResponse.Builder
build, responseMetadata, responseMetadata
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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
accessDetails
Sets the value of the AccessDetails property for this object.- Parameters:
accessDetails
- The new value for the AccessDetails property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessDetails
default StartDevEnvironmentSessionResponse.Builder accessDetails(Consumer<DevEnvironmentAccessDetails.Builder> accessDetails) Sets the value of the AccessDetails property for this object. This is a convenience method that creates an instance of theDevEnvironmentAccessDetails.Builder
avoiding the need to create one manually viaDevEnvironmentAccessDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaccessDetails(DevEnvironmentAccessDetails)
.- Parameters:
accessDetails
- a consumer that will call methods onDevEnvironmentAccessDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sessionId
The system-generated unique ID of the Dev Environment session.
- Parameters:
sessionId
- The system-generated unique ID of the Dev Environment session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-