Interface SandboxSessionPhase.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SandboxSessionPhase.Builder,,SandboxSessionPhase> SdkBuilder<SandboxSessionPhase.Builder,,SandboxSessionPhase> SdkPojo
- Enclosing class:
SandboxSessionPhase
-
Method Summary
Modifier and TypeMethodDescriptioncontexts(Collection<PhaseContext> contexts) An array ofPhaseContextobjects.contexts(Consumer<PhaseContext.Builder>... contexts) An array ofPhaseContextobjects.contexts(PhaseContext... contexts) An array ofPhaseContextobjects.durationInSeconds(Long durationInSeconds) How long, in seconds, between the starting and ending times of the sandbox's phase.When the sandbox phase ended, expressed in Unix time format.phaseStatus(String phaseStatus) The current status of the sandbox phase.phaseStatus(StatusType phaseStatus) The current status of the sandbox phase.The name of the sandbox phase.When the sandbox phase started, expressed in Unix time format.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
-
phaseType
The name of the sandbox phase.
- Parameters:
phaseType- The name of the sandbox phase.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phaseStatus
The current status of the sandbox phase. Valid values include:
- FAILED
-
The sandbox phase failed.
- FAULT
-
The sandbox phase faulted.
- IN_PROGRESS
-
The sandbox phase is still in progress.
- STOPPED
-
The sandbox phase stopped.
- SUCCEEDED
-
The sandbox phase succeeded.
- TIMED_OUT
-
The sandbox phase timed out.
- Parameters:
phaseStatus- The current status of the sandbox phase. Valid values include:- FAILED
-
The sandbox phase failed.
- FAULT
-
The sandbox phase faulted.
- IN_PROGRESS
-
The sandbox phase is still in progress.
- STOPPED
-
The sandbox phase stopped.
- SUCCEEDED
-
The sandbox phase succeeded.
- TIMED_OUT
-
The sandbox phase timed out.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
phaseStatus
The current status of the sandbox phase. Valid values include:
- FAILED
-
The sandbox phase failed.
- FAULT
-
The sandbox phase faulted.
- IN_PROGRESS
-
The sandbox phase is still in progress.
- STOPPED
-
The sandbox phase stopped.
- SUCCEEDED
-
The sandbox phase succeeded.
- TIMED_OUT
-
The sandbox phase timed out.
- Parameters:
phaseStatus- The current status of the sandbox phase. Valid values include:- FAILED
-
The sandbox phase failed.
- FAULT
-
The sandbox phase faulted.
- IN_PROGRESS
-
The sandbox phase is still in progress.
- STOPPED
-
The sandbox phase stopped.
- SUCCEEDED
-
The sandbox phase succeeded.
- TIMED_OUT
-
The sandbox phase timed out.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startTime
When the sandbox phase started, expressed in Unix time format.
- Parameters:
startTime- When the sandbox phase 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 phase ended, expressed in Unix time format.
- Parameters:
endTime- When the sandbox phase ended, expressed in Unix time format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
durationInSeconds
How long, in seconds, between the starting and ending times of the sandbox's phase.
- Parameters:
durationInSeconds- How long, in seconds, between the starting and ending times of the sandbox's phase.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contexts
An array of
PhaseContextobjects.- Parameters:
contexts- An array ofPhaseContextobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contexts
An array of
PhaseContextobjects.- Parameters:
contexts- An array ofPhaseContextobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contexts
An array of
This is a convenience method that creates an instance of thePhaseContextobjects.PhaseContext.Builderavoiding the need to create one manually viaPhaseContext.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontexts(List<PhaseContext>).- Parameters:
contexts- a consumer that will call methods onPhaseContext.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-