@Generated(value="software.amazon.awssdk:codegen") public final class StopInstanceOnIdleRequest extends Object implements SdkPojo, Serializable, ToCopyableBuilder<StopInstanceOnIdleRequest.Builder,StopInstanceOnIdleRequest>
Describes a request to create or edit the StopInstanceOnIdle add-on.
This add-on only applies to Lightsail for Research resources.
| Modifier and Type | Class and Description |
|---|---|
static interface |
StopInstanceOnIdleRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static StopInstanceOnIdleRequest.Builder |
builder() |
String |
duration()
The amount of idle time in minutes after which your virtual computer will automatically stop.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends StopInstanceOnIdleRequest.Builder> |
serializableBuilderClass() |
String |
threshold()
The value to compare with the duration.
|
StopInstanceOnIdleRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String threshold()
The value to compare with the duration.
public final String duration()
The amount of idle time in minutes after which your virtual computer will automatically stop.
public StopInstanceOnIdleRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<StopInstanceOnIdleRequest.Builder,StopInstanceOnIdleRequest>public static StopInstanceOnIdleRequest.Builder builder()
public static Class<? extends StopInstanceOnIdleRequest.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.