Interface IdlePolicy.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<IdlePolicy.Builder,,IdlePolicy> SdkBuilder<IdlePolicy.Builder,,IdlePolicy> SdkPojo
- Enclosing class:
IdlePolicy
@Mutable
@NotThreadSafe
public static interface IdlePolicy.Builder
extends SdkPojo, CopyableBuilder<IdlePolicy.Builder,IdlePolicy>
-
Method Summary
Modifier and TypeMethodDescriptionautoResumeEnabled(Boolean autoResumeEnabled) Indicates whether the MicroVM automatically resumes when it receives a request while suspended.maxIdleDurationSeconds(Integer maxIdleDurationSeconds) The maximum time in seconds that a MicroVM can remain idle before it is automatically suspended.suspendedDurationSeconds(Integer suspendedDurationSeconds) The maximum time in seconds that a MicroVM can remain suspended before it is automatically terminated.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
-
maxIdleDurationSeconds
The maximum time in seconds that a MicroVM can remain idle before it is automatically suspended.
- Parameters:
maxIdleDurationSeconds- The maximum time in seconds that a MicroVM can remain idle before it is automatically suspended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
suspendedDurationSeconds
The maximum time in seconds that a MicroVM can remain suspended before it is automatically terminated.
- Parameters:
suspendedDurationSeconds- The maximum time in seconds that a MicroVM can remain suspended before it is automatically terminated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoResumeEnabled
Indicates whether the MicroVM automatically resumes when it receives a request while suspended.
- Parameters:
autoResumeEnabled- Indicates whether the MicroVM automatically resumes when it receives a request while suspended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-