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.Builderlogs(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.BuildernetworkInterface(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 ofSandboxSessionPhaseobjects.phases(Consumer<SandboxSessionPhase.Builder>... phases) An array ofSandboxSessionPhaseobjects.phases(SandboxSessionPhase... phases) An array ofSandboxSessionPhaseobjects.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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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
SandboxSessionPhaseobjects.- Parameters:
phases- An array ofSandboxSessionPhaseobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phases
An array of
SandboxSessionPhaseobjects.- Parameters:
phases- An array ofSandboxSessionPhaseobjects.- 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 theSandboxSessionPhaseobjects.SandboxSessionPhase.Builderavoiding the need to create one manually viaSandboxSessionPhase.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaLogsLocation.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaNetworkInterface.builder().When the
Consumercompletes,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:
-