Interface MicrovmHooks.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MicrovmHooks.Builder,,MicrovmHooks> SdkBuilder<MicrovmHooks.Builder,,MicrovmHooks> SdkPojo
- Enclosing class:
MicrovmHooks
-
Method Summary
Modifier and TypeMethodDescriptionThe path of the hook invoked when the MicroVM resumes from a suspended state.The path of the hook invoked when the MicroVM resumes from a suspended state.resumeTimeoutInSeconds(Integer resumeTimeoutInSeconds) The maximum time in seconds for the resume hook to complete.The path of the hook invoked when the MicroVM starts running.The path of the hook invoked when the MicroVM starts running.runTimeoutInSeconds(Integer runTimeoutInSeconds) The maximum time in seconds for the run hook to complete.The path of the hook invoked when the MicroVM is suspended.The path of the hook invoked when the MicroVM is suspended.suspendTimeoutInSeconds(Integer suspendTimeoutInSeconds) The maximum time in seconds for the suspend hook to complete.The path of the hook invoked when the MicroVM is terminated.The path of the hook invoked when the MicroVM is terminated.terminateTimeoutInSeconds(Integer terminateTimeoutInSeconds) The maximum time in seconds for the terminate hook to complete.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
-
run
The path of the hook invoked when the MicroVM starts running.
- Parameters:
run- The path of the hook invoked when the MicroVM starts running.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
run
The path of the hook invoked when the MicroVM starts running.
- Parameters:
run- The path of the hook invoked when the MicroVM starts running.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
runTimeoutInSeconds
The maximum time in seconds for the run hook to complete.
- Parameters:
runTimeoutInSeconds- The maximum time in seconds for the run hook to complete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resume
The path of the hook invoked when the MicroVM resumes from a suspended state.
- Parameters:
resume- The path of the hook invoked when the MicroVM resumes from a suspended state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resume
The path of the hook invoked when the MicroVM resumes from a suspended state.
- Parameters:
resume- The path of the hook invoked when the MicroVM resumes from a suspended state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resumeTimeoutInSeconds
The maximum time in seconds for the resume hook to complete.
- Parameters:
resumeTimeoutInSeconds- The maximum time in seconds for the resume hook to complete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
suspend
The path of the hook invoked when the MicroVM is suspended.
- Parameters:
suspend- The path of the hook invoked when the MicroVM is suspended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
suspend
The path of the hook invoked when the MicroVM is suspended.
- Parameters:
suspend- The path of the hook invoked when the MicroVM is suspended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
suspendTimeoutInSeconds
The maximum time in seconds for the suspend hook to complete.
- Parameters:
suspendTimeoutInSeconds- The maximum time in seconds for the suspend hook to complete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
terminate
The path of the hook invoked when the MicroVM is terminated.
- Parameters:
terminate- The path of the hook invoked when the MicroVM is terminated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
terminate
The path of the hook invoked when the MicroVM is terminated.
- Parameters:
terminate- The path of the hook invoked when the MicroVM is terminated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
terminateTimeoutInSeconds
The maximum time in seconds for the terminate hook to complete.
- Parameters:
terminateTimeoutInSeconds- The maximum time in seconds for the terminate hook to complete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-