Interface SandboxSession.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SandboxSession.Builder,
,SandboxSession> SdkBuilder<SandboxSession.Builder,
,SandboxSession> SdkPojo
- Enclosing class:
SandboxSession
-
Method Summary
Modifier and TypeMethodDescriptioncurrentPhase
(String currentPhase) The current phase for the sandbox.When the sandbox session ended, expressed in Unix time format.The ID of the sandbox session.default SandboxSession.Builder
logs
(Consumer<LogsLocation.Builder> logs) Sets the value of the Logs property for this object.logs
(LogsLocation logs) Sets the value of the Logs property for this object.default SandboxSession.Builder
networkInterface
(Consumer<NetworkInterface.Builder> networkInterface) Sets the value of the NetworkInterface property for this object.networkInterface
(NetworkInterface networkInterface) Sets the value of the NetworkInterface property for this object.phases
(Collection<SandboxSessionPhase> phases) An array ofSandboxSessionPhase
objects.phases
(Consumer<SandboxSessionPhase.Builder>... phases) An array ofSandboxSessionPhase
objects.phases
(SandboxSessionPhase... phases) An array ofSandboxSessionPhase
objects.resolvedSourceVersion
(String resolvedSourceVersion) An identifier for the version of this sandbox's source code.When the sandbox session started, expressed in Unix time format.The status of the sandbox 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
-
id
The ID of the sandbox session.
- Parameters:
id
- The ID of the sandbox session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the sandbox session.
- Parameters:
status
- The status of the sandbox session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
When the sandbox session started, expressed in Unix time format.
- Parameters:
startTime
- When the sandbox session started, expressed in Unix time format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
When the sandbox session ended, expressed in Unix time format.
- Parameters:
endTime
- When the sandbox session ended, expressed in Unix time format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentPhase
The current phase for the sandbox.
- Parameters:
currentPhase
- The current phase for the sandbox.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phases
An array of
SandboxSessionPhase
objects.- Parameters:
phases
- An array ofSandboxSessionPhase
objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phases
An array of
SandboxSessionPhase
objects.- Parameters:
phases
- An array ofSandboxSessionPhase
objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phases
An array of
This is a convenience method that creates an instance of theSandboxSessionPhase
objects.SandboxSessionPhase.Builder
avoiding the need to create one manually viaSandboxSessionPhase.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tophases(List<SandboxSessionPhase>)
.- Parameters:
phases
- a consumer that will call methods onSandboxSessionPhase.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resolvedSourceVersion
An identifier for the version of this sandbox's source code.
- Parameters:
resolvedSourceVersion
- An identifier for the version of this sandbox's source code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logs
Sets the value of the Logs property for this object.- Parameters:
logs
- The new value for the Logs property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logs
Sets the value of the Logs property for this object. This is a convenience method that creates an instance of theLogsLocation.Builder
avoiding the need to create one manually viaLogsLocation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tologs(LogsLocation)
.- Parameters:
logs
- a consumer that will call methods onLogsLocation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
networkInterface
Sets the value of the NetworkInterface property for this object.- Parameters:
networkInterface
- The new value for the NetworkInterface property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkInterface
default SandboxSession.Builder networkInterface(Consumer<NetworkInterface.Builder> networkInterface) Sets the value of the NetworkInterface property for this object. This is a convenience method that creates an instance of theNetworkInterface.Builder
avoiding the need to create one manually viaNetworkInterface.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonetworkInterface(NetworkInterface)
.- Parameters:
networkInterface
- a consumer that will call methods onNetworkInterface.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-