Class StopInstanceOnIdleRequest
- java.lang.Object
-
- software.amazon.awssdk.services.lightsail.model.StopInstanceOnIdleRequest
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<StopInstanceOnIdleRequest.Builder,StopInstanceOnIdleRequest>
@Generated("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
StopInstanceOnIdleadd-on.This add-on only applies to Lightsail for Research resources.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStopInstanceOnIdleRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StopInstanceOnIdleRequest.Builderbuilder()Stringduration()The amount of idle time in minutes after which your virtual computer will automatically stop.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends StopInstanceOnIdleRequest.Builder>serializableBuilderClass()Stringthreshold()The value to compare with the duration.StopInstanceOnIdleRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
threshold
public final String threshold()
The value to compare with the duration.
- Returns:
- The value to compare with the duration.
-
duration
public final String duration()
The amount of idle time in minutes after which your virtual computer will automatically stop.
- Returns:
- The amount of idle time in minutes after which your virtual computer will automatically stop.
-
toBuilder
public StopInstanceOnIdleRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StopInstanceOnIdleRequest.Builder,StopInstanceOnIdleRequest>
-
builder
public static StopInstanceOnIdleRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends StopInstanceOnIdleRequest.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-