Interface SandboxSessionPhase.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<SandboxSessionPhase.Builder,,- SandboxSessionPhase> - SdkBuilder<SandboxSessionPhase.Builder,,- SandboxSessionPhase> - SdkPojo
- Enclosing class:
- SandboxSessionPhase
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
phaseTypeThe 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.
 
- 
phaseStatusThe 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:
 
- 
phaseStatusThe 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:
 
- 
startTimeWhen 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.
 
- 
endTimeWhen 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.
 
- 
durationInSecondsHow 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.
 
- 
contextsAn array of PhaseContextobjects.- Parameters:
- contexts- An array of- PhaseContextobjects.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
contextsAn array of PhaseContextobjects.- Parameters:
- contexts- An array of- PhaseContextobjects.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
contextsAn 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 on- PhaseContext.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-